Version Description
- March 5th 2016 =
Check out the blog post about 1.0.7 release
Download this release
Release Info
Developer | LiveComposer |
Plugin | Page Builder: Live Composer – drag and drop website builder (visual front end site editor) |
Version | 1.0.7 |
Comparing to | |
See all releases |
Code changes from version 1.0.6.1 to 1.0.7
- LICENSE +340 -340
- README.md +36 -2
- css/builder.main.css +3330 -3330
- css/font-awesome.css +2192 -2192
- css/main.css +1126 -1126
- css/modules.css +2222 -2204
- ds-live-composer.php +174 -140
- includes/access-control.php +94 -94
- includes/ajax.php +1226 -1226
- includes/archive-templates.php +167 -167
- includes/class.module.php +2049 -2049
- includes/display-functions.php +1534 -1533
- includes/functions.php +842 -842
- includes/header-footer.php +625 -625
- includes/other-functions.php +383 -383
- includes/other.php +46 -46
- includes/performance.php +55 -55
- includes/plugin-options-framework/css/main.css +161 -46
- includes/plugin-options-framework/css/main.min.css +1 -1
- includes/plugin-options-framework/getting-started.php +109 -0
- includes/plugin-options-framework/inc/display-options.php +200 -200
- includes/plugin-options-framework/inc/functions.php +44 -44
- includes/plugin-options-framework/inc/init.php +223 -169
- includes/plugin-options-framework/inc/options.php +308 -308
- includes/plugin-options-framework/js/main.js +290 -84
- includes/plugin-options-framework/js/main.min.js +1 -1
LICENSE
CHANGED
@@ -1,340 +1,340 @@
|
|
1 |
-
GNU GENERAL PUBLIC LICENSE
|
2 |
-
Version 2, June 1991
|
3 |
-
|
4 |
-
Copyright (C) 1989, 1991 Free Software Foundation, Inc., <http://fsf.org/>
|
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 licenses for most software are designed to take away your
|
12 |
-
freedom to share and change it. By contrast, the GNU General Public
|
13 |
-
License is intended to guarantee your freedom to share and change free
|
14 |
-
software--to make sure the software is free for all its users. This
|
15 |
-
General Public License applies to most of the Free Software
|
16 |
-
Foundation's software and to any other program whose authors commit to
|
17 |
-
using it. (Some other Free Software Foundation software is covered by
|
18 |
-
the GNU Lesser General Public License instead.) You can apply it to
|
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 |
-
this service if you wish), that you receive source code or can get it
|
25 |
-
if you want it, that you can change the software or use pieces of it
|
26 |
-
in new free programs; and that you know you can do these things.
|
27 |
-
|
28 |
-
To protect your rights, we need to make restrictions that forbid
|
29 |
-
anyone to deny you these rights or to ask you to surrender the rights.
|
30 |
-
These restrictions translate to certain responsibilities for you if you
|
31 |
-
distribute copies of the software, or if you modify it.
|
32 |
-
|
33 |
-
For example, if you distribute copies of such a program, whether
|
34 |
-
gratis or for a fee, you must give the recipients all the rights that
|
35 |
-
you have. You must make sure that they, too, receive or can get the
|
36 |
-
source code. And you must show them these terms so they know their
|
37 |
-
rights.
|
38 |
-
|
39 |
-
We protect your rights with two steps: (1) copyright the software, and
|
40 |
-
(2) offer you this license which gives you legal permission to copy,
|
41 |
-
distribute and/or modify the software.
|
42 |
-
|
43 |
-
Also, for each author's protection and ours, we want to make certain
|
44 |
-
that everyone understands that there is no warranty for this free
|
45 |
-
software. If the software is modified by someone else and passed on, we
|
46 |
-
want its recipients to know that what they have is not the original, so
|
47 |
-
that any problems introduced by others will not reflect on the original
|
48 |
-
authors' reputations.
|
49 |
-
|
50 |
-
Finally, any free program is threatened constantly by software
|
51 |
-
patents. We wish to avoid the danger that redistributors of a free
|
52 |
-
program will individually obtain patent licenses, in effect making the
|
53 |
-
program proprietary. To prevent this, we have made it clear that any
|
54 |
-
patent must be licensed for everyone's free use or not licensed at all.
|
55 |
-
|
56 |
-
The precise terms and conditions for copying, distribution and
|
57 |
-
modification follow.
|
58 |
-
|
59 |
-
GNU GENERAL PUBLIC LICENSE
|
60 |
-
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
61 |
-
|
62 |
-
0. This License applies to any program or other work which contains
|
63 |
-
a notice placed by the copyright holder saying it may be distributed
|
64 |
-
under the terms of this General Public License. The "Program", below,
|
65 |
-
refers to any such program or work, and a "work based on the Program"
|
66 |
-
means either the Program or any derivative work under copyright law:
|
67 |
-
that is to say, a work containing the Program or a portion of it,
|
68 |
-
either verbatim or with modifications and/or translated into another
|
69 |
-
language. (Hereinafter, translation is included without limitation in
|
70 |
-
the term "modification".) Each licensee is addressed as "you".
|
71 |
-
|
72 |
-
Activities other than copying, distribution and modification are not
|
73 |
-
covered by this License; they are outside its scope. The act of
|
74 |
-
running the Program is not restricted, and the output from the Program
|
75 |
-
is covered only if its contents constitute a work based on the
|
76 |
-
Program (independent of having been made by running the Program).
|
77 |
-
Whether that is true depends on what the Program does.
|
78 |
-
|
79 |
-
1. You may copy and distribute verbatim copies of the Program's
|
80 |
-
source code as you receive it, in any medium, provided that you
|
81 |
-
conspicuously and appropriately publish on each copy an appropriate
|
82 |
-
copyright notice and disclaimer of warranty; keep intact all the
|
83 |
-
notices that refer to this License and to the absence of any warranty;
|
84 |
-
and give any other recipients of the Program a copy of this License
|
85 |
-
along with the Program.
|
86 |
-
|
87 |
-
You may charge a fee for the physical act of transferring a copy, and
|
88 |
-
you may at your option offer warranty protection in exchange for a fee.
|
89 |
-
|
90 |
-
2. You may modify your copy or copies of the Program or any portion
|
91 |
-
of it, thus forming a work based on the Program, and copy and
|
92 |
-
distribute such modifications or work under the terms of Section 1
|
93 |
-
above, provided that you also meet all of these conditions:
|
94 |
-
|
95 |
-
a) You must cause the modified files to carry prominent notices
|
96 |
-
stating that you changed the files and the date of any change.
|
97 |
-
|
98 |
-
b) You must cause any work that you distribute or publish, that in
|
99 |
-
whole or in part contains or is derived from the Program or any
|
100 |
-
part thereof, to be licensed as a whole at no charge to all third
|
101 |
-
parties under the terms of this License.
|
102 |
-
|
103 |
-
c) If the modified program normally reads commands interactively
|
104 |
-
when run, you must cause it, when started running for such
|
105 |
-
interactive use in the most ordinary way, to print or display an
|
106 |
-
announcement including an appropriate copyright notice and a
|
107 |
-
notice that there is no warranty (or else, saying that you provide
|
108 |
-
a warranty) and that users may redistribute the program under
|
109 |
-
these conditions, and telling the user how to view a copy of this
|
110 |
-
License. (Exception: if the Program itself is interactive but
|
111 |
-
does not normally print such an announcement, your work based on
|
112 |
-
the Program is not required to print an announcement.)
|
113 |
-
|
114 |
-
These requirements apply to the modified work as a whole. If
|
115 |
-
identifiable sections of that work are not derived from the Program,
|
116 |
-
and can be reasonably considered independent and separate works in
|
117 |
-
themselves, then this License, and its terms, do not apply to those
|
118 |
-
sections when you distribute them as separate works. But when you
|
119 |
-
distribute the same sections as part of a whole which is a work based
|
120 |
-
on the Program, the distribution of the whole must be on the terms of
|
121 |
-
this License, whose permissions for other licensees extend to the
|
122 |
-
entire whole, and thus to each and every part regardless of who wrote it.
|
123 |
-
|
124 |
-
Thus, it is not the intent of this section to claim rights or contest
|
125 |
-
your rights to work written entirely by you; rather, the intent is to
|
126 |
-
exercise the right to control the distribution of derivative or
|
127 |
-
collective works based on the Program.
|
128 |
-
|
129 |
-
In addition, mere aggregation of another work not based on the Program
|
130 |
-
with the Program (or with a work based on the Program) on a volume of
|
131 |
-
a storage or distribution medium does not bring the other work under
|
132 |
-
the scope of this License.
|
133 |
-
|
134 |
-
3. You may copy and distribute the Program (or a work based on it,
|
135 |
-
under Section 2) in object code or executable form under the terms of
|
136 |
-
Sections 1 and 2 above provided that you also do one of the following:
|
137 |
-
|
138 |
-
a) Accompany it with the complete corresponding machine-readable
|
139 |
-
source code, which must be distributed under the terms of Sections
|
140 |
-
1 and 2 above on a medium customarily used for software interchange; or,
|
141 |
-
|
142 |
-
b) Accompany it with a written offer, valid for at least three
|
143 |
-
years, to give any third party, for a charge no more than your
|
144 |
-
cost of physically performing source distribution, a complete
|
145 |
-
machine-readable copy of the corresponding source code, to be
|
146 |
-
distributed under the terms of Sections 1 and 2 above on a medium
|
147 |
-
customarily used for software interchange; or,
|
148 |
-
|
149 |
-
c) Accompany it with the information you received as to the offer
|
150 |
-
to distribute corresponding source code. (This alternative is
|
151 |
-
allowed only for noncommercial distribution and only if you
|
152 |
-
received the program in object code or executable form with such
|
153 |
-
an offer, in accord with Subsection b above.)
|
154 |
-
|
155 |
-
The source code for a work means the preferred form of the work for
|
156 |
-
making modifications to it. For an executable work, complete source
|
157 |
-
code means all the source code for all modules it contains, plus any
|
158 |
-
associated interface definition files, plus the scripts used to
|
159 |
-
control compilation and installation of the executable. However, as a
|
160 |
-
special exception, the source code distributed need not include
|
161 |
-
anything that is normally distributed (in either source or binary
|
162 |
-
form) with the major components (compiler, kernel, and so on) of the
|
163 |
-
operating system on which the executable runs, unless that component
|
164 |
-
itself accompanies the executable.
|
165 |
-
|
166 |
-
If distribution of executable or object code is made by offering
|
167 |
-
access to copy from a designated place, then offering equivalent
|
168 |
-
access to copy the source code from the same place counts as
|
169 |
-
distribution of the source code, even though third parties are not
|
170 |
-
compelled to copy the source along with the object code.
|
171 |
-
|
172 |
-
4. You may not copy, modify, sublicense, or distribute the Program
|
173 |
-
except as expressly provided under this License. Any attempt
|
174 |
-
otherwise to copy, modify, sublicense or distribute the Program is
|
175 |
-
void, and will automatically terminate your rights under this License.
|
176 |
-
However, parties who have received copies, or rights, from you under
|
177 |
-
this License will not have their licenses terminated so long as such
|
178 |
-
parties remain in full compliance.
|
179 |
-
|
180 |
-
5. You are not required to accept this License, since you have not
|
181 |
-
signed it. However, nothing else grants you permission to modify or
|
182 |
-
distribute the Program or its derivative works. These actions are
|
183 |
-
prohibited by law if you do not accept this License. Therefore, by
|
184 |
-
modifying or distributing the Program (or any work based on the
|
185 |
-
Program), you indicate your acceptance of this License to do so, and
|
186 |
-
all its terms and conditions for copying, distributing or modifying
|
187 |
-
the Program or works based on it.
|
188 |
-
|
189 |
-
6. Each time you redistribute the Program (or any work based on the
|
190 |
-
Program), the recipient automatically receives a license from the
|
191 |
-
original licensor to copy, distribute or modify the Program subject to
|
192 |
-
these terms and conditions. You may not impose any further
|
193 |
-
restrictions on the recipients' exercise of the rights granted herein.
|
194 |
-
You are not responsible for enforcing compliance by third parties to
|
195 |
-
this License.
|
196 |
-
|
197 |
-
7. If, as a consequence of a court judgment or allegation of patent
|
198 |
-
infringement or for any other reason (not limited to patent issues),
|
199 |
-
conditions are imposed on you (whether by court order, agreement or
|
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 |
-
distribute so as to satisfy simultaneously your obligations under this
|
203 |
-
License and any other pertinent obligations, then as a consequence you
|
204 |
-
may not distribute the Program at all. For example, if a patent
|
205 |
-
license would not permit royalty-free redistribution of the Program by
|
206 |
-
all those who receive copies directly or indirectly through you, then
|
207 |
-
the only way you could satisfy both it and this License would be to
|
208 |
-
refrain entirely from distribution of the Program.
|
209 |
-
|
210 |
-
If any portion of this section is held invalid or unenforceable under
|
211 |
-
any particular circumstance, the balance of the section is intended to
|
212 |
-
apply and the section as a whole is intended to apply in other
|
213 |
-
circumstances.
|
214 |
-
|
215 |
-
It is not the purpose of this section to induce you to infringe any
|
216 |
-
patents or other property right claims or to contest validity of any
|
217 |
-
such claims; this section has the sole purpose of protecting the
|
218 |
-
integrity of the free software distribution system, which is
|
219 |
-
implemented by public license practices. Many people have made
|
220 |
-
generous contributions to the wide range of software distributed
|
221 |
-
through that system in reliance on consistent application of that
|
222 |
-
system; it is up to the author/donor to decide if he or she is willing
|
223 |
-
to distribute software through any other system and a licensee cannot
|
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 Program
|
243 |
-
specifies a version number of this License which applies to it and "any
|
244 |
-
later version", you have the option of following the terms and conditions
|
245 |
-
either of that version or of any later version published by the Free
|
246 |
-
Software Foundation. If the Program does not specify a version number of
|
247 |
-
this License, you may choose any version ever published by the Free Software
|
248 |
-
Foundation.
|
249 |
-
|
250 |
-
10. If you wish to incorporate parts of the Program into other free
|
251 |
-
programs whose distribution conditions are different, write to the author
|
252 |
-
to ask for permission. For software which is copyrighted by the Free
|
253 |
-
Software Foundation, write to the Free Software Foundation; we sometimes
|
254 |
-
make exceptions for this. Our decision will be guided by the two goals
|
255 |
-
of preserving the free status of all derivatives of our free software and
|
256 |
-
of promoting the sharing and reuse of software generally.
|
257 |
-
|
258 |
-
NO WARRANTY
|
259 |
-
|
260 |
-
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
|
261 |
-
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
|
262 |
-
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
|
263 |
-
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
|
264 |
-
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
265 |
-
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
|
266 |
-
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
|
267 |
-
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
|
268 |
-
REPAIR OR CORRECTION.
|
269 |
-
|
270 |
-
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
271 |
-
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
|
272 |
-
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
|
273 |
-
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
|
274 |
-
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
|
275 |
-
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
|
276 |
-
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
|
277 |
-
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
|
278 |
-
POSSIBILITY OF SUCH DAMAGES.
|
279 |
-
|
280 |
-
END OF TERMS AND CONDITIONS
|
281 |
-
|
282 |
-
How to Apply These Terms to Your New Programs
|
283 |
-
|
284 |
-
If you develop a new program, and you want it to be of the greatest
|
285 |
-
possible use to the public, the best way to achieve this is to make it
|
286 |
-
free software which everyone can redistribute and change under these terms.
|
287 |
-
|
288 |
-
To do so, attach the following notices to the program. It is safest
|
289 |
-
to attach them to the start of each source file to most effectively
|
290 |
-
convey the exclusion of warranty; and each file should have at least
|
291 |
-
the "copyright" line and a pointer to where the full notice is found.
|
292 |
-
|
293 |
-
{description}
|
294 |
-
Copyright (C) {year} {fullname}
|
295 |
-
|
296 |
-
This program is free software; you can redistribute it and/or modify
|
297 |
-
it under the terms of the GNU General Public License as published by
|
298 |
-
the Free Software Foundation; either version 2 of the License, or
|
299 |
-
(at your option) any later version.
|
300 |
-
|
301 |
-
This program is distributed in the hope that it will be useful,
|
302 |
-
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
303 |
-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
304 |
-
GNU General Public License for more details.
|
305 |
-
|
306 |
-
You should have received a copy of the GNU General Public License along
|
307 |
-
with this program; if not, write to the Free Software Foundation, Inc.,
|
308 |
-
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
309 |
-
|
310 |
-
Also add information on how to contact you by electronic and paper mail.
|
311 |
-
|
312 |
-
If the program is interactive, make it output a short notice like this
|
313 |
-
when it starts in an interactive mode:
|
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.
|
340 |
-
|
1 |
+
GNU GENERAL PUBLIC LICENSE
|
2 |
+
Version 2, June 1991
|
3 |
+
|
4 |
+
Copyright (C) 1989, 1991 Free Software Foundation, Inc., <http://fsf.org/>
|
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 licenses for most software are designed to take away your
|
12 |
+
freedom to share and change it. By contrast, the GNU General Public
|
13 |
+
License is intended to guarantee your freedom to share and change free
|
14 |
+
software--to make sure the software is free for all its users. This
|
15 |
+
General Public License applies to most of the Free Software
|
16 |
+
Foundation's software and to any other program whose authors commit to
|
17 |
+
using it. (Some other Free Software Foundation software is covered by
|
18 |
+
the GNU Lesser General Public License instead.) You can apply it to
|
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 |
+
this service if you wish), that you receive source code or can get it
|
25 |
+
if you want it, that you can change the software or use pieces of it
|
26 |
+
in new free programs; and that you know you can do these things.
|
27 |
+
|
28 |
+
To protect your rights, we need to make restrictions that forbid
|
29 |
+
anyone to deny you these rights or to ask you to surrender the rights.
|
30 |
+
These restrictions translate to certain responsibilities for you if you
|
31 |
+
distribute copies of the software, or if you modify it.
|
32 |
+
|
33 |
+
For example, if you distribute copies of such a program, whether
|
34 |
+
gratis or for a fee, you must give the recipients all the rights that
|
35 |
+
you have. You must make sure that they, too, receive or can get the
|
36 |
+
source code. And you must show them these terms so they know their
|
37 |
+
rights.
|
38 |
+
|
39 |
+
We protect your rights with two steps: (1) copyright the software, and
|
40 |
+
(2) offer you this license which gives you legal permission to copy,
|
41 |
+
distribute and/or modify the software.
|
42 |
+
|
43 |
+
Also, for each author's protection and ours, we want to make certain
|
44 |
+
that everyone understands that there is no warranty for this free
|
45 |
+
software. If the software is modified by someone else and passed on, we
|
46 |
+
want its recipients to know that what they have is not the original, so
|
47 |
+
that any problems introduced by others will not reflect on the original
|
48 |
+
authors' reputations.
|
49 |
+
|
50 |
+
Finally, any free program is threatened constantly by software
|
51 |
+
patents. We wish to avoid the danger that redistributors of a free
|
52 |
+
program will individually obtain patent licenses, in effect making the
|
53 |
+
program proprietary. To prevent this, we have made it clear that any
|
54 |
+
patent must be licensed for everyone's free use or not licensed at all.
|
55 |
+
|
56 |
+
The precise terms and conditions for copying, distribution and
|
57 |
+
modification follow.
|
58 |
+
|
59 |
+
GNU GENERAL PUBLIC LICENSE
|
60 |
+
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
61 |
+
|
62 |
+
0. This License applies to any program or other work which contains
|
63 |
+
a notice placed by the copyright holder saying it may be distributed
|
64 |
+
under the terms of this General Public License. The "Program", below,
|
65 |
+
refers to any such program or work, and a "work based on the Program"
|
66 |
+
means either the Program or any derivative work under copyright law:
|
67 |
+
that is to say, a work containing the Program or a portion of it,
|
68 |
+
either verbatim or with modifications and/or translated into another
|
69 |
+
language. (Hereinafter, translation is included without limitation in
|
70 |
+
the term "modification".) Each licensee is addressed as "you".
|
71 |
+
|
72 |
+
Activities other than copying, distribution and modification are not
|
73 |
+
covered by this License; they are outside its scope. The act of
|
74 |
+
running the Program is not restricted, and the output from the Program
|
75 |
+
is covered only if its contents constitute a work based on the
|
76 |
+
Program (independent of having been made by running the Program).
|
77 |
+
Whether that is true depends on what the Program does.
|
78 |
+
|
79 |
+
1. You may copy and distribute verbatim copies of the Program's
|
80 |
+
source code as you receive it, in any medium, provided that you
|
81 |
+
conspicuously and appropriately publish on each copy an appropriate
|
82 |
+
copyright notice and disclaimer of warranty; keep intact all the
|
83 |
+
notices that refer to this License and to the absence of any warranty;
|
84 |
+
and give any other recipients of the Program a copy of this License
|
85 |
+
along with the Program.
|
86 |
+
|
87 |
+
You may charge a fee for the physical act of transferring a copy, and
|
88 |
+
you may at your option offer warranty protection in exchange for a fee.
|
89 |
+
|
90 |
+
2. You may modify your copy or copies of the Program or any portion
|
91 |
+
of it, thus forming a work based on the Program, and copy and
|
92 |
+
distribute such modifications or work under the terms of Section 1
|
93 |
+
above, provided that you also meet all of these conditions:
|
94 |
+
|
95 |
+
a) You must cause the modified files to carry prominent notices
|
96 |
+
stating that you changed the files and the date of any change.
|
97 |
+
|
98 |
+
b) You must cause any work that you distribute or publish, that in
|
99 |
+
whole or in part contains or is derived from the Program or any
|
100 |
+
part thereof, to be licensed as a whole at no charge to all third
|
101 |
+
parties under the terms of this License.
|
102 |
+
|
103 |
+
c) If the modified program normally reads commands interactively
|
104 |
+
when run, you must cause it, when started running for such
|
105 |
+
interactive use in the most ordinary way, to print or display an
|
106 |
+
announcement including an appropriate copyright notice and a
|
107 |
+
notice that there is no warranty (or else, saying that you provide
|
108 |
+
a warranty) and that users may redistribute the program under
|
109 |
+
these conditions, and telling the user how to view a copy of this
|
110 |
+
License. (Exception: if the Program itself is interactive but
|
111 |
+
does not normally print such an announcement, your work based on
|
112 |
+
the Program is not required to print an announcement.)
|
113 |
+
|
114 |
+
These requirements apply to the modified work as a whole. If
|
115 |
+
identifiable sections of that work are not derived from the Program,
|
116 |
+
and can be reasonably considered independent and separate works in
|
117 |
+
themselves, then this License, and its terms, do not apply to those
|
118 |
+
sections when you distribute them as separate works. But when you
|
119 |
+
distribute the same sections as part of a whole which is a work based
|
120 |
+
on the Program, the distribution of the whole must be on the terms of
|
121 |
+
this License, whose permissions for other licensees extend to the
|
122 |
+
entire whole, and thus to each and every part regardless of who wrote it.
|
123 |
+
|
124 |
+
Thus, it is not the intent of this section to claim rights or contest
|
125 |
+
your rights to work written entirely by you; rather, the intent is to
|
126 |
+
exercise the right to control the distribution of derivative or
|
127 |
+
collective works based on the Program.
|
128 |
+
|
129 |
+
In addition, mere aggregation of another work not based on the Program
|
130 |
+
with the Program (or with a work based on the Program) on a volume of
|
131 |
+
a storage or distribution medium does not bring the other work under
|
132 |
+
the scope of this License.
|
133 |
+
|
134 |
+
3. You may copy and distribute the Program (or a work based on it,
|
135 |
+
under Section 2) in object code or executable form under the terms of
|
136 |
+
Sections 1 and 2 above provided that you also do one of the following:
|
137 |
+
|
138 |
+
a) Accompany it with the complete corresponding machine-readable
|
139 |
+
source code, which must be distributed under the terms of Sections
|
140 |
+
1 and 2 above on a medium customarily used for software interchange; or,
|
141 |
+
|
142 |
+
b) Accompany it with a written offer, valid for at least three
|
143 |
+
years, to give any third party, for a charge no more than your
|
144 |
+
cost of physically performing source distribution, a complete
|
145 |
+
machine-readable copy of the corresponding source code, to be
|
146 |
+
distributed under the terms of Sections 1 and 2 above on a medium
|
147 |
+
customarily used for software interchange; or,
|
148 |
+
|
149 |
+
c) Accompany it with the information you received as to the offer
|
150 |
+
to distribute corresponding source code. (This alternative is
|
151 |
+
allowed only for noncommercial distribution and only if you
|
152 |
+
received the program in object code or executable form with such
|
153 |
+
an offer, in accord with Subsection b above.)
|
154 |
+
|
155 |
+
The source code for a work means the preferred form of the work for
|
156 |
+
making modifications to it. For an executable work, complete source
|
157 |
+
code means all the source code for all modules it contains, plus any
|
158 |
+
associated interface definition files, plus the scripts used to
|
159 |
+
control compilation and installation of the executable. However, as a
|
160 |
+
special exception, the source code distributed need not include
|
161 |
+
anything that is normally distributed (in either source or binary
|
162 |
+
form) with the major components (compiler, kernel, and so on) of the
|
163 |
+
operating system on which the executable runs, unless that component
|
164 |
+
itself accompanies the executable.
|
165 |
+
|
166 |
+
If distribution of executable or object code is made by offering
|
167 |
+
access to copy from a designated place, then offering equivalent
|
168 |
+
access to copy the source code from the same place counts as
|
169 |
+
distribution of the source code, even though third parties are not
|
170 |
+
compelled to copy the source along with the object code.
|
171 |
+
|
172 |
+
4. You may not copy, modify, sublicense, or distribute the Program
|
173 |
+
except as expressly provided under this License. Any attempt
|
174 |
+
otherwise to copy, modify, sublicense or distribute the Program is
|
175 |
+
void, and will automatically terminate your rights under this License.
|
176 |
+
However, parties who have received copies, or rights, from you under
|
177 |
+
this License will not have their licenses terminated so long as such
|
178 |
+
parties remain in full compliance.
|
179 |
+
|
180 |
+
5. You are not required to accept this License, since you have not
|
181 |
+
signed it. However, nothing else grants you permission to modify or
|
182 |
+
distribute the Program or its derivative works. These actions are
|
183 |
+
prohibited by law if you do not accept this License. Therefore, by
|
184 |
+
modifying or distributing the Program (or any work based on the
|
185 |
+
Program), you indicate your acceptance of this License to do so, and
|
186 |
+
all its terms and conditions for copying, distributing or modifying
|
187 |
+
the Program or works based on it.
|
188 |
+
|
189 |
+
6. Each time you redistribute the Program (or any work based on the
|
190 |
+
Program), the recipient automatically receives a license from the
|
191 |
+
original licensor to copy, distribute or modify the Program subject to
|
192 |
+
these terms and conditions. You may not impose any further
|
193 |
+
restrictions on the recipients' exercise of the rights granted herein.
|
194 |
+
You are not responsible for enforcing compliance by third parties to
|
195 |
+
this License.
|
196 |
+
|
197 |
+
7. If, as a consequence of a court judgment or allegation of patent
|
198 |
+
infringement or for any other reason (not limited to patent issues),
|
199 |
+
conditions are imposed on you (whether by court order, agreement or
|
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 |
+
distribute so as to satisfy simultaneously your obligations under this
|
203 |
+
License and any other pertinent obligations, then as a consequence you
|
204 |
+
may not distribute the Program at all. For example, if a patent
|
205 |
+
license would not permit royalty-free redistribution of the Program by
|
206 |
+
all those who receive copies directly or indirectly through you, then
|
207 |
+
the only way you could satisfy both it and this License would be to
|
208 |
+
refrain entirely from distribution of the Program.
|
209 |
+
|
210 |
+
If any portion of this section is held invalid or unenforceable under
|
211 |
+
any particular circumstance, the balance of the section is intended to
|
212 |
+
apply and the section as a whole is intended to apply in other
|
213 |
+
circumstances.
|
214 |
+
|
215 |
+
It is not the purpose of this section to induce you to infringe any
|
216 |
+
patents or other property right claims or to contest validity of any
|
217 |
+
such claims; this section has the sole purpose of protecting the
|
218 |
+
integrity of the free software distribution system, which is
|
219 |
+
implemented by public license practices. Many people have made
|
220 |
+
generous contributions to the wide range of software distributed
|
221 |
+
through that system in reliance on consistent application of that
|
222 |
+
system; it is up to the author/donor to decide if he or she is willing
|
223 |
+
to distribute software through any other system and a licensee cannot
|
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 Program
|
243 |
+
specifies a version number of this License which applies to it and "any
|
244 |
+
later version", you have the option of following the terms and conditions
|
245 |
+
either of that version or of any later version published by the Free
|
246 |
+
Software Foundation. If the Program does not specify a version number of
|
247 |
+
this License, you may choose any version ever published by the Free Software
|
248 |
+
Foundation.
|
249 |
+
|
250 |
+
10. If you wish to incorporate parts of the Program into other free
|
251 |
+
programs whose distribution conditions are different, write to the author
|
252 |
+
to ask for permission. For software which is copyrighted by the Free
|
253 |
+
Software Foundation, write to the Free Software Foundation; we sometimes
|
254 |
+
make exceptions for this. Our decision will be guided by the two goals
|
255 |
+
of preserving the free status of all derivatives of our free software and
|
256 |
+
of promoting the sharing and reuse of software generally.
|
257 |
+
|
258 |
+
NO WARRANTY
|
259 |
+
|
260 |
+
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
|
261 |
+
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
|
262 |
+
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
|
263 |
+
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
|
264 |
+
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
265 |
+
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
|
266 |
+
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
|
267 |
+
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
|
268 |
+
REPAIR OR CORRECTION.
|
269 |
+
|
270 |
+
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
271 |
+
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
|
272 |
+
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
|
273 |
+
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
|
274 |
+
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
|
275 |
+
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
|
276 |
+
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
|
277 |
+
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
|
278 |
+
POSSIBILITY OF SUCH DAMAGES.
|
279 |
+
|
280 |
+
END OF TERMS AND CONDITIONS
|
281 |
+
|
282 |
+
How to Apply These Terms to Your New Programs
|
283 |
+
|
284 |
+
If you develop a new program, and you want it to be of the greatest
|
285 |
+
possible use to the public, the best way to achieve this is to make it
|
286 |
+
free software which everyone can redistribute and change under these terms.
|
287 |
+
|
288 |
+
To do so, attach the following notices to the program. It is safest
|
289 |
+
to attach them to the start of each source file to most effectively
|
290 |
+
convey the exclusion of warranty; and each file should have at least
|
291 |
+
the "copyright" line and a pointer to where the full notice is found.
|
292 |
+
|
293 |
+
{description}
|
294 |
+
Copyright (C) {year} {fullname}
|
295 |
+
|
296 |
+
This program is free software; you can redistribute it and/or modify
|
297 |
+
it under the terms of the GNU General Public License as published by
|
298 |
+
the Free Software Foundation; either version 2 of the License, or
|
299 |
+
(at your option) any later version.
|
300 |
+
|
301 |
+
This program is distributed in the hope that it will be useful,
|
302 |
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
303 |
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
304 |
+
GNU General Public License for more details.
|
305 |
+
|
306 |
+
You should have received a copy of the GNU General Public License along
|
307 |
+
with this program; if not, write to the Free Software Foundation, Inc.,
|
308 |
+
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
309 |
+
|
310 |
+
Also add information on how to contact you by electronic and paper mail.
|
311 |
+
|
312 |
+
If the program is interactive, make it output a short notice like this
|
313 |
+
when it starts in an interactive mode:
|
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.
|
340 |
+
|
README.md
CHANGED
@@ -1,2 +1,36 @@
|
|
1 |
-
# Live-Composer
|
2 |
-
Free
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Live-Composer
|
2 |
+
##### Free Drag & Drop Page Builder Plugin for WordPress
|
3 |
+
Create unique pages in WordPress without writing a single line of code.
|
4 |
+
|
5 |
+
http://livecomposerplugin.com
|
6 |
+
|
7 |
+
[![Download the latest verison](https://img.shields.io/badge/Latest%20Version-Download-%234CC597.svg)](http://downloads.wordpress.org/plugin/live-composer-page-builder.latest-stable.zip) [![GitHub license](https://img.shields.io/badge/license-GPLv2-blue.svg)](https://raw.githubusercontent.com/livecomposer/Live-Composer/master/LICENSE) ![WordPress Tested](https://img.shields.io/badge/wordpress-plugin-green.svg)
|
8 |
+
|
9 |
+
**Lead Developers:** [Slobodan Kustrimovic](https://github.com/WPCanyon)
|
10 |
+
**Version:** 1.0.7
|
11 |
+
|
12 |
+
## Description
|
13 |
+
|
14 |
+
Live Composer is a front-end WordPress page builder plugin. Front-end means you build the page directly on the page, not in the admin panel, which allows you to see exactly how the page will look like as you build it, with live feedback on every change you make.
|
15 |
+
|
16 |
+
[![Live Composer Video Review](http://cl.ly/2K0g0D0w1K0o/lc-demo-video.png)](https://youtu.be/geY-qCoOggo)
|
17 |
+
|
18 |
+
Make sure you try the [interactive tutorial](http://livecomposerplugin.com/playground/tutorial-chapter-one/?dslc=active) to get familiar with how it works.
|
19 |
+
|
20 |
+
## Installation
|
21 |
+
|
22 |
+
1. Go to __WP Admin > Plugins > Add New__
|
23 |
+
2. Search for __Live Composer Page Builder__ and install it as any othe WP plugin.
|
24 |
+
3. Try the [interactive tutorial](http://livecomposerplugin.com/playground/tutorial-chapter-one/?dslc=active) to get familiar with how it works.
|
25 |
+
|
26 |
+
## Frequently Asked Questions
|
27 |
+
|
28 |
+
#### How to I activate the page builder on a page?
|
29 |
+
When you visit a page you'll see a green "activate editor" button in the bottom right corner, click that and the page will reload in LC mode.
|
30 |
+
|
31 |
+
#### Why is the "activate editor" button missing from the homepage
|
32 |
+
In most of the cases this is because the homepage is not a real WordPress page, it’s custom content generated by the theme’s index.php. Publish a new page and set it as the homepage ( WP Admin > Settings > Reading > Front Page ). Now you can use LC on the homepage.
|
33 |
+
|
34 |
+
#### Is it compatible with any WordPress theme?
|
35 |
+
Live Composer should work with any WordPress theme created according to the standards. You can find also a few free and premium themes created specialy for this plugin: http://livecomposerplugin.com/themes/ If you starch form scratch we recommend to check a free Blank Theme.
|
36 |
+
|
css/builder.main.css
CHANGED
@@ -1,3331 +1,3331 @@
|
|
1 |
-
body {
|
2 |
-
|
3 |
-
}
|
4 |
-
|
5 |
-
.dslca-container * {
|
6 |
-
padding: 0;
|
7 |
-
margin: 0;
|
8 |
-
border: none;
|
9 |
-
outline: 0;
|
10 |
-
}
|
11 |
-
|
12 |
-
.dslca-disable-selection {
|
13 |
-
-ms-user-select: none !important; /* IE 10+ */
|
14 |
-
-moz-user-select: -moz-none !important;
|
15 |
-
-khtml-user-select: none !important;
|
16 |
-
-webkit-user-select: none !important;
|
17 |
-
user-select: none !important;
|
18 |
-
}
|
19 |
-
|
20 |
-
.dslca-container p {
|
21 |
-
margin-bottom: 20px;
|
22 |
-
}
|
23 |
-
|
24 |
-
.dslca-container input[type="text"],
|
25 |
-
.dslca-container input[type="number"],
|
26 |
-
.dslca-container select,
|
27 |
-
.dslca-container textarea {
|
28 |
-
background: rgba( 255, 255, 255, 0.1 );
|
29 |
-
border: 0;
|
30 |
-
color: #fff;
|
31 |
-
padding: 8px 10px;
|
32 |
-
font-family: "Open Sans";
|
33 |
-
font-size: 13px;
|
34 |
-
-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
|
35 |
-
-moz-box-sizing: border-box; /* Firefox, other Gecko */
|
36 |
-
box-sizing: border-box; /* Opera/IE 8+ */
|
37 |
-
}
|
38 |
-
|
39 |
-
.dslca-container input[type="text"],
|
40 |
-
.dslca-container input[type="email"],
|
41 |
-
.dslca-container input[type="number"] {
|
42 |
-
height: auto;
|
43 |
-
}
|
44 |
-
|
45 |
-
.dslca-container select {
|
46 |
-
line-height: 30px; /* Fixes the height in Safari */
|
47 |
-
}
|
48 |
-
|
49 |
-
.dslca-container input[type="submit"] {
|
50 |
-
background: #6ba253;
|
51 |
-
border: 0;
|
52 |
-
color: #fff;
|
53 |
-
cursor: pointer;
|
54 |
-
padding: 8px 10px;
|
55 |
-
line-height: 17px;
|
56 |
-
}
|
57 |
-
|
58 |
-
.dslca-container {
|
59 |
-
font-family: "Open Sans";
|
60 |
-
bottom: 0;
|
61 |
-
color: #fff;
|
62 |
-
left: 0;
|
63 |
-
position: fixed;
|
64 |
-
right: 0;
|
65 |
-
z-index: 99999;
|
66 |
-
-webkit-transition: bottom 0.3s;
|
67 |
-
-moz-transition: bottom 0.3s;
|
68 |
-
transition: bottom 0.3s;
|
69 |
-
}
|
70 |
-
|
71 |
-
/**
|
72 |
-
* Header
|
73 |
-
*/
|
74 |
-
|
75 |
-
.dslca-header {
|
76 |
-
position: absolute;
|
77 |
-
/* z-index: 999999; */
|
78 |
-
min-height: 38px;
|
79 |
-
bottom: 100%;
|
80 |
-
left: 0;
|
81 |
-
}
|
82 |
-
|
83 |
-
.dslca-header .dslca-currently-editing {
|
84 |
-
display: block;
|
85 |
-
position: absolute;
|
86 |
-
bottom: 45px;
|
87 |
-
left: 5px;
|
88 |
-
background: #5890e5;
|
89 |
-
color: rgba( 255, 255, 255, 0.5 );
|
90 |
-
padding: 6px 10px;
|
91 |
-
border-radius: 3px;
|
92 |
-
font-weight: bold;
|
93 |
-
font-family: "Open Sans";
|
94 |
-
font-size: 10px;
|
95 |
-
line-height: 1;
|
96 |
-
display: none;
|
97 |
-
white-space: nowrap;
|
98 |
-
text-transform: uppercase;
|
99 |
-
cursor: pointer;
|
100 |
-
}
|
101 |
-
|
102 |
-
.dslca-header .dslca-currently-editing .dslca-icon {
|
103 |
-
margin-right: 5px;
|
104 |
-
}
|
105 |
-
|
106 |
-
.dslca-header .dslca-currently-editing strong {
|
107 |
-
color: #fff;
|
108 |
-
}
|
109 |
-
|
110 |
-
.dslca-header .dslca-go-to-section-hook,
|
111 |
-
.dslca-header .dslca-options-filter-hook,
|
112 |
-
.dslca-header .dslca-row-options-filter-hook {
|
113 |
-
bottom: -1px;
|
114 |
-
background: #313131;
|
115 |
-
border-radius: 3px 3px 0 0;
|
116 |
-
color: #adadad;
|
117 |
-
cursor: pointer;
|
118 |
-
display: block;
|
119 |
-
float: left;
|
120 |
-
font-size: 11px;
|
121 |
-
font-family: "Open Sans";
|
122 |
-
font-weight: 900;
|
123 |
-
line-height: 1;
|
124 |
-
padding: 13px 15px;
|
125 |
-
position: relative;
|
126 |
-
}
|
127 |
-
|
128 |
-
.dslca-header .dslca-options-filter-hook,
|
129 |
-
.dslca-header .dslca-row-options-filter-hook {
|
130 |
-
display: none;
|
131 |
-
margin-right: 3px;
|
132 |
-
}
|
133 |
-
|
134 |
-
.dslca-header .dslca-go-to-section-hook.dslca-active,
|
135 |
-
.dslca-header .dslca-options-filter-hook.dslca-active,
|
136 |
-
.dslca-header .dslca-row-options-filter-hook.dslca-active {
|
137 |
-
border-top-color: #4777c2;
|
138 |
-
background: #3b6fbe;
|
139 |
-
color: #fff;
|
140 |
-
}
|
141 |
-
|
142 |
-
.dslca-header .dslca-options-filter-hook .dslca-icon,
|
143 |
-
.dslca-header .dslca-row-options-filter-hook .dslca-icon {
|
144 |
-
margin-right: 4px;
|
145 |
-
}
|
146 |
-
|
147 |
-
.dslca-header .dslca-options-filter-hook.dslca-active,
|
148 |
-
.dslca-header .dslca-row-options-filter-hook.dslca-active {
|
149 |
-
background: #5890e5;
|
150 |
-
}
|
151 |
-
|
152 |
-
.dslca-header .dslca-go-to-section-templates.dslca-active {
|
153 |
-
border-top-color: #bf7671;
|
154 |
-
background: #a94640;
|
155 |
-
}
|
156 |
-
|
157 |
-
.dslca-header .dslca-go-to-section-hook .dslca-icon {
|
158 |
-
font-weight: normal;
|
159 |
-
}
|
160 |
-
|
161 |
-
.dslca-module-edit-actions,
|
162 |
-
.dslca-row-edit-actions {
|
163 |
-
display: none;
|
164 |
-
float: left;
|
165 |
-
margin-left: 4px;
|
166 |
-
margin-top: 1px;
|
167 |
-
}
|
168 |
-
|
169 |
-
.dslca-module-edit-save,
|
170 |
-
.dslca-row-edit-save {
|
171 |
-
background: #78ca4f;
|
172 |
-
border-radius: 3px;
|
173 |
-
color: #fff;
|
174 |
-
cursor: pointer;
|
175 |
-
display: inline-block;
|
176 |
-
font-size: 11px;
|
177 |
-
font-family: "Open Sans";
|
178 |
-
font-weight: 900;
|
179 |
-
line-height: 1;
|
180 |
-
padding: 11px 12px;
|
181 |
-
}
|
182 |
-
|
183 |
-
.dslca-module-edit-cancel,
|
184 |
-
.dslca-row-edit-cancel {
|
185 |
-
background: #e55f5f;
|
186 |
-
border-radius: 3px;
|
187 |
-
color: #fff;
|
188 |
-
cursor: pointer;
|
189 |
-
display: inline-block;
|
190 |
-
font-size: 11px;
|
191 |
-
font-family: "Open Sans";
|
192 |
-
font-weight: 900;
|
193 |
-
line-height: 1;
|
194 |
-
margin-left: 4px;
|
195 |
-
padding: 11px 12px;
|
196 |
-
}
|
197 |
-
|
198 |
-
/**
|
199 |
-
* Actions
|
200 |
-
*/
|
201 |
-
|
202 |
-
.dslca-actions {
|
203 |
-
position: absolute;
|
204 |
-
bottom: 100%;
|
205 |
-
right: 0;
|
206 |
-
padding-bottom: 5px;
|
207 |
-
padding-right: 5px;
|
208 |
-
}
|
209 |
-
|
210 |
-
/**
|
211 |
-
* Sections
|
212 |
-
*/
|
213 |
-
|
214 |
-
.dslca-sections {
|
215 |
-
background: #5890e5;
|
216 |
-
}
|
217 |
-
|
218 |
-
.dslca-section {
|
219 |
-
display: none;
|
220 |
-
position: relative;
|
221 |
-
}
|
222 |
-
|
223 |
-
.dslca-section-back {
|
224 |
-
display: block;
|
225 |
-
float: left;
|
226 |
-
width: 32px;
|
227 |
-
line-height: 55px;
|
228 |
-
text-align: center;
|
229 |
-
}
|
230 |
-
|
231 |
-
.dslca-section-title {
|
232 |
-
display: block;
|
233 |
-
float: left;
|
234 |
-
background: #3b6fbe;
|
235 |
-
color: #fff;
|
236 |
-
font-family: "Oswald";
|
237 |
-
font-size: 15px;
|
238 |
-
line-height: 1;
|
239 |
-
padding: 20px 25px;
|
240 |
-
text-transform: uppercase;
|
241 |
-
}
|
242 |
-
|
243 |
-
.dslca-templates .dslca-section-title,
|
244 |
-
.dslca-templates-load .dslca-section-title,
|
245 |
-
.dslca-templates-save .dslca-section-title {
|
246 |
-
background: #a94640;
|
247 |
-
}
|
248 |
-
|
249 |
-
.dslca-section-title-filter {
|
250 |
-
position: relative;
|
251 |
-
cursor: pointer;
|
252 |
-
}
|
253 |
-
|
254 |
-
.dslca-section-title-filter-curr {
|
255 |
-
|
256 |
-
}
|
257 |
-
|
258 |
-
.dslca-section-title-filter .dslca-icon {
|
259 |
-
color: rgba( 255, 255, 255, 0.5 );
|
260 |
-
margin-left: 10px;
|
261 |
-
vertical-align: top;
|
262 |
-
}
|
263 |
-
|
264 |
-
.dslca-section-title-filter-options {
|
265 |
-
background: rgb(202, 86, 79);
|
266 |
-
border-radius: 3px 3px 0 0;
|
267 |
-
bottom: 35px;
|
268 |
-
display: none;
|
269 |
-
left: 0;
|
270 |
-
padding: 10px;
|
271 |
-
position: absolute;
|
272 |
-
right: 0;
|
273 |
-
z-index: 999999;
|
274 |
-
}
|
275 |
-
|
276 |
-
.dslca-section-title-filter-options span {
|
277 |
-
background: rgba( 0, 0, 0, 0.1 );
|
278 |
-
border-radius: 3px;
|
279 |
-
display: block;
|
280 |
-
cursor: pointer;
|
281 |
-
margin: 5px 0;
|
282 |
-
padding: 5px;
|
283 |
-
font-size: 12px;
|
284 |
-
}
|
285 |
-
|
286 |
-
/**
|
287 |
-
* Subsections
|
288 |
-
*/
|
289 |
-
|
290 |
-
.dslca-subsection {
|
291 |
-
display: none;
|
292 |
-
}
|
293 |
-
|
294 |
-
/**
|
295 |
-
* Modules
|
296 |
-
*/
|
297 |
-
|
298 |
-
.dslca-modules {
|
299 |
-
|
300 |
-
}
|
301 |
-
|
302 |
-
.dslca-module {
|
303 |
-
border-right: 1px solid #75a2e6;
|
304 |
-
color: #fff;
|
305 |
-
cursor: move;
|
306 |
-
display: block;
|
307 |
-
float: left;
|
308 |
-
font-family: "Oswald";
|
309 |
-
font-size: 15px;
|
310 |
-
line-height: 1;
|
311 |
-
padding: 21px 24px;
|
312 |
-
text-transform: uppercase;
|
313 |
-
}
|
314 |
-
|
315 |
-
.dslca-module.ui-draggable-dragging {
|
316 |
-
background: #5890e5;
|
317 |
-
border: 0;
|
318 |
-
z-index: 9999999 !important;
|
319 |
-
border-radius: 3px;
|
320 |
-
}
|
321 |
-
|
322 |
-
.dslca-module.ui-draggable-dragging .dslca-module-title {
|
323 |
-
display: none;
|
324 |
-
}
|
325 |
-
|
326 |
-
.dslca-module .dslca-icon {
|
327 |
-
color: rgba( 255, 255, 255, 0.5);
|
328 |
-
margin-right: 11px;
|
329 |
-
vertical-align: top;
|
330 |
-
font-size: 12px;
|
331 |
-
line-height: 14px;
|
332 |
-
}
|
333 |
-
|
334 |
-
.dslca-module.ui-draggable-dragging .dslca-icon {
|
335 |
-
margin-right: 0;
|
336 |
-
}
|
337 |
-
|
338 |
-
.dslca-module-edit {
|
339 |
-
overflow: hidden;
|
340 |
-
position: relative;
|
341 |
-
}
|
342 |
-
|
343 |
-
.dslca-module-edit-options-inner .jspContainer {
|
344 |
-
min-height: 120px;
|
345 |
-
}
|
346 |
-
|
347 |
-
.dslca-module-edit-options {
|
348 |
-
padding: 20px 15px;
|
349 |
-
overflow-x: auto;
|
350 |
-
min-height: 58px;
|
351 |
-
}
|
352 |
-
|
353 |
-
.dslca-module-edit-option {
|
354 |
-
display: block;
|
355 |
-
float: left;
|
356 |
-
margin-bottom: 30px;
|
357 |
-
margin-right: 35px;
|
358 |
-
margin-top: 20px;
|
359 |
-
width: 235px;
|
360 |
-
}
|
361 |
-
|
362 |
-
.dslca-module-edit-option-hidden {
|
363 |
-
display: none !important;
|
364 |
-
}
|
365 |
-
|
366 |
-
.dslca-module-edit-option input[type="text"],
|
367 |
-
.dslca-module-edit-option input[type="email"],
|
368 |
-
.dslca-module-edit-option input[type="number"],
|
369 |
-
.dslca-module-edit-option textarea,
|
370 |
-
.dslca-module-edit-option select,
|
371 |
-
.dslca-module-edit-option input[type="text"]:focus,
|
372 |
-
.dslca-module-edit-option input[type="email"]:focus,
|
373 |
-
.dslca-module-edit-option input[type="number"]:focus,
|
374 |
-
.dslca-module-edit-option textarea:focus,
|
375 |
-
.dslca-module-edit-option select:focus {
|
376 |
-
background: #6c9fed;
|
377 |
-
border: 1px solid #447bce;
|
378 |
-
width: 100%;
|
379 |
-
height: auto;
|
380 |
-
}
|
381 |
-
|
382 |
-
.dslca-module-edit-option-text {
|
383 |
-
width: 235px;
|
384 |
-
}
|
385 |
-
|
386 |
-
.dslca-module-edit-option-checkbox {
|
387 |
-
white-space: nowrap;
|
388 |
-
}
|
389 |
-
|
390 |
-
.dslca-module-edit-option-textarea {
|
391 |
-
width: 500px;
|
392 |
-
}
|
393 |
-
|
394 |
-
.dslca-module-edit-label {
|
395 |
-
color: #fff;
|
396 |
-
display: block;
|
397 |
-
font-family: "Open Sans";
|
398 |
-
font-weight: bold;
|
399 |
-
font-size: 12px;
|
400 |
-
line-height: 1;
|
401 |
-
margin-bottom: 10px;
|
402 |
-
text-transform: uppercase;
|
403 |
-
white-space: nowrap;
|
404 |
-
position: relative;
|
405 |
-
}
|
406 |
-
|
407 |
-
.dslca-module-edit-field {
|
408 |
-
|
409 |
-
}
|
410 |
-
|
411 |
-
.dslca-module-edit-field-font-wrapper,
|
412 |
-
.dslca-module-edit-field-icon-wrapper {
|
413 |
-
position: relative;
|
414 |
-
display: inline-block;
|
415 |
-
width: 158px;
|
416 |
-
}
|
417 |
-
|
418 |
-
.dslca-module-edit-field-font,
|
419 |
-
.dslca-module-edit-field-icon {
|
420 |
-
vertical-align: middle;
|
421 |
-
}
|
422 |
-
|
423 |
-
.dslca-module-edit-field-font-next,
|
424 |
-
.dslca-module-edit-field-font-prev,
|
425 |
-
.dslca-module-edit-field-icon-next,
|
426 |
-
.dslca-module-edit-field-icon-prev {
|
427 |
-
background: #3b6fbe;
|
428 |
-
border: 1px solid #3565ad;
|
429 |
-
border-radius: 3px;
|
430 |
-
cursor: pointer;
|
431 |
-
display: inline-block;
|
432 |
-
position: relative;
|
433 |
-
width: 30px;
|
434 |
-
height: 33px;
|
435 |
-
vertical-align: middle;
|
436 |
-
}
|
437 |
-
|
438 |
-
.dslca-module-edit-field-font-next .dslca-icon,
|
439 |
-
.dslca-module-edit-field-font-prev .dslca-icon,
|
440 |
-
.dslca-module-edit-field-icon-next .dslca-icon,
|
441 |
-
.dslca-module-edit-field-icon-prev .dslca-icon {
|
442 |
-
color: #8db6f3;
|
443 |
-
position: absolute;
|
444 |
-
top: 11px;
|
445 |
-
left: 11px;
|
446 |
-
font-size: 12px;
|
447 |
-
}
|
448 |
-
|
449 |
-
.dslca-module-edit-field-font-suggest,
|
450 |
-
.dslca-module-edit-field-icon-suggest {
|
451 |
-
color: #fff;
|
452 |
-
color: rgba( 255, 255, 255, 0.5 );
|
453 |
-
position: absolute;
|
454 |
-
left: 11px;
|
455 |
-
top: 0;
|
456 |
-
line-height: 36px;
|
457 |
-
font-family: "Open Sans", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
458 |
-
font-size: 13px;
|
459 |
-
}
|
460 |
-
|
461 |
-
|
462 |
-
.dslca-module-edit-option-checkbox {
|
463 |
-
width: auto;
|
464 |
-
}
|
465 |
-
|
466 |
-
.dslca-module-edit-option-checkbox input[type="checkbox"] {
|
467 |
-
display: none;
|
468 |
-
}
|
469 |
-
|
470 |
-
.dslca-module-edit-option-checkbox-wrapper {
|
471 |
-
background: #3b6fbe;
|
472 |
-
border-radius: 4px;
|
473 |
-
border: 1px solid #3565ad;
|
474 |
-
padding: 0 10px;
|
475 |
-
}
|
476 |
-
|
477 |
-
.dslca-module-edit-option-checkbox-single {
|
478 |
-
margin: 6px;
|
479 |
-
display: inline-block;
|
480 |
-
}
|
481 |
-
|
482 |
-
.dslca-module-edit-option-checkbox-hook {
|
483 |
-
cursor: pointer;
|
484 |
-
font-size: 13px;
|
485 |
-
font-weight: 600;
|
486 |
-
font-family: "Open Sans";
|
487 |
-
}
|
488 |
-
|
489 |
-
.dslca-module-edit-option-checkbox-hook .dslca-icon {
|
490 |
-
margin-right: 10px;
|
491 |
-
}
|
492 |
-
|
493 |
-
.dslca-module-edit-option-radio {
|
494 |
-
width: auto;
|
495 |
-
}
|
496 |
-
|
497 |
-
.dslca-module-edit-option-radio input[type="radio"] {
|
498 |
-
vertical-align: bottom;
|
499 |
-
}
|
500 |
-
|
501 |
-
.dslca-module-edit-option-radio-wrapper {
|
502 |
-
background: #3b6fbe;
|
503 |
-
border-radius: 4px;
|
504 |
-
border: 1px solid #3565ad;
|
505 |
-
padding: 0 10px;
|
506 |
-
}
|
507 |
-
|
508 |
-
.dslca-module-edit-option-radio-single {
|
509 |
-
margin: 6px;
|
510 |
-
display: inline-block;
|
511 |
-
font-size: 12px;
|
512 |
-
font-weight: 600;
|
513 |
-
font-family: "Open Sans";
|
514 |
-
}
|
515 |
-
|
516 |
-
/**
|
517 |
-
* Icon option type - Switch set
|
518 |
-
*/
|
519 |
-
|
520 |
-
.dslca-module-edit-field-icon-switch-set {
|
521 |
-
display: block;
|
522 |
-
position: absolute;
|
523 |
-
top: 0;
|
524 |
-
right: 0;
|
525 |
-
font-size: 10px;
|
526 |
-
line-height: 13px;
|
527 |
-
cursor: pointer;
|
528 |
-
}
|
529 |
-
|
530 |
-
.dslca-module-edit-field-icon-curr-set {
|
531 |
-
margin-right: 5px;
|
532 |
-
}
|
533 |
-
|
534 |
-
.dslca-module-edit-field-icon-switch-set .dslca-icon {
|
535 |
-
color: rgba( 255, 255, 255, 0.7 );
|
536 |
-
}
|
537 |
-
|
538 |
-
.dslca-module-edit-field-icon-switch-sets {
|
539 |
-
background: #fff;
|
540 |
-
color: #8a8a8a;
|
541 |
-
font-family: "Lato";
|
542 |
-
font-size: 13px;
|
543 |
-
display: none;
|
544 |
-
border-radius: 3px;
|
545 |
-
padding: 20px 25px;
|
546 |
-
border: 1px solid rgba(0,0,0,.12);
|
547 |
-
position: absolute;
|
548 |
-
-moz-box-shadow: 0 2px 2px rgba(0,0,0,.04), 0 0 7px rgba(0,0,0,.12);
|
549 |
-
-webkit-box-shadow: 0 2px 2px rgba(0,0,0,.04), 0 0 7px rgba(0,0,0,.12);
|
550 |
-
box-shadow: 0 2px 2px rgba(0,0,0,.04), 0 0 7px rgba(0,0,0,.12);
|
551 |
-
text-align: center;
|
552 |
-
z-index: 999999;
|
553 |
-
}
|
554 |
-
|
555 |
-
.dslca-module-edit-field-icon-switch-sets span {
|
556 |
-
display: block;
|
557 |
-
padding: 5px 10px;
|
558 |
-
cursor: pointer;
|
559 |
-
border-radius: 3px;
|
560 |
-
}
|
561 |
-
|
562 |
-
.dslca-module-edit-field-icon-switch-sets span:hover {
|
563 |
-
background: rgba( 0, 0, 0, 0.1 );
|
564 |
-
}
|
565 |
-
|
566 |
-
.dslca-module-edit-field-icon-switch-sets span.dslca-active {
|
567 |
-
background: #5890e5;
|
568 |
-
color: #fff;
|
569 |
-
}
|
570 |
-
|
571 |
-
/**
|
572 |
-
* Box shadow option type
|
573 |
-
*/
|
574 |
-
|
575 |
-
.dslca-module-edit-option-box_shadow {
|
576 |
-
width: auto;
|
577 |
-
}
|
578 |
-
|
579 |
-
.dslca-module-edit-option-box-shadow-wrapper {
|
580 |
-
background: #3b6fbe;
|
581 |
-
border-radius: 4px;
|
582 |
-
border: 1px solid #3565ad;
|
583 |
-
padding: 5px 10px;
|
584 |
-
font-size: 0;
|
585 |
-
}
|
586 |
-
|
587 |
-
.dslca-module-edit-option-box-shadow-single {
|
588 |
-
display: inline-block;
|
589 |
-
width: auto;
|
590 |
-
line-height: 1;
|
591 |
-
vertical-align: middle;
|
592 |
-
white-space: nowrap;
|
593 |
-
margin-left: 20px;
|
594 |
-
}
|
595 |
-
|
596 |
-
.dslca-module-edit-option-box-shadow-single:first-child {
|
597 |
-
margin-left: 0;
|
598 |
-
}
|
599 |
-
|
600 |
-
.dslca-module-edit-option-box-shadow-single span {
|
601 |
-
text-transform: uppercase;
|
602 |
-
font-size: 10px;
|
603 |
-
font-weight: bold;
|
604 |
-
margin-right: 10px;
|
605 |
-
vertical-align: middle;
|
606 |
-
}
|
607 |
-
|
608 |
-
.dslca-module-edit-option-box-shadow-single input[type="number"] {
|
609 |
-
width: 60px !important;
|
610 |
-
padding: 3px;
|
611 |
-
vertical-align: middle;
|
612 |
-
}
|
613 |
-
|
614 |
-
.dslca-module-edit-option-box-shadow-single input[type="checkbox"] {
|
615 |
-
display: none;
|
616 |
-
}
|
617 |
-
|
618 |
-
.dslca-module-edit-option-box-shadow-single .dslca-module-edit-option-checkbox-hook {
|
619 |
-
margin-right: 0;
|
620 |
-
}
|
621 |
-
|
622 |
-
.dslca-module-edit-option-box-shadow-single .dslca-module-edit-option-checkbox-hook .dslca-icon {
|
623 |
-
margin-left: 10px;
|
624 |
-
margin-right: 0;
|
625 |
-
font-size: 13px;
|
626 |
-
font-weight: normal;
|
627 |
-
}
|
628 |
-
|
629 |
-
.dslca-module-edit-option-box-shadow-single .sp-replacer {
|
630 |
-
display: inline-block !important;
|
631 |
-
width: 100px;
|
632 |
-
vertical-align: middle;
|
633 |
-
}
|
634 |
-
|
635 |
-
/**
|
636 |
-
* Text shadow option type
|
637 |
-
*/
|
638 |
-
|
639 |
-
.dslca-module-edit-option-text_shadow {
|
640 |
-
width: auto;
|
641 |
-
}
|
642 |
-
|
643 |
-
.dslca-module-edit-option-text-shadow-wrapper {
|
644 |
-
background: #3b6fbe;
|
645 |
-
border-radius: 4px;
|
646 |
-
border: 1px solid #3565ad;
|
647 |
-
padding: 5px 10px;
|
648 |
-
font-size: 0;
|
649 |
-
}
|
650 |
-
|
651 |
-
.dslca-module-edit-option-text-shadow-single {
|
652 |
-
display: inline-block;
|
653 |
-
width: auto;
|
654 |
-
line-height: 1;
|
655 |
-
vertical-align: middle;
|
656 |
-
white-space: nowrap;
|
657 |
-
margin-left: 20px;
|
658 |
-
}
|
659 |
-
|
660 |
-
.dslca-module-edit-option-text-shadow-single:first-child {
|
661 |
-
margin-left: 0;
|
662 |
-
}
|
663 |
-
|
664 |
-
.dslca-module-edit-option-text-shadow-single span {
|
665 |
-
text-transform: uppercase;
|
666 |
-
font-size: 10px;
|
667 |
-
font-weight: bold;
|
668 |
-
margin-right: 10px;
|
669 |
-
vertical-align: middle;
|
670 |
-
}
|
671 |
-
|
672 |
-
.dslca-module-edit-option-text-shadow-single input[type="number"] {
|
673 |
-
width: 60px !important;
|
674 |
-
padding: 3px;
|
675 |
-
vertical-align: middle;
|
676 |
-
}
|
677 |
-
|
678 |
-
.dslca-module-edit-option-text-shadow-single .sp-replacer {
|
679 |
-
display: inline-block !important;
|
680 |
-
width: 100px;
|
681 |
-
vertical-align: middle;
|
682 |
-
}
|
683 |
-
|
684 |
-
/**
|
685 |
-
* Text Align Option Type
|
686 |
-
*/
|
687 |
-
|
688 |
-
.dslca-module-edit-option-text-align {
|
689 |
-
width: auto;
|
690 |
-
}
|
691 |
-
|
692 |
-
.dslca-module-edit-option-text-align input[type="checkbox"] {
|
693 |
-
display: none;
|
694 |
-
}
|
695 |
-
|
696 |
-
.dslca-module-edit-option-text-align-wrapper {
|
697 |
-
background: #3b6fbe;
|
698 |
-
border-radius: 4px;
|
699 |
-
border: 1px solid #3565ad;
|
700 |
-
padding: 0 10px;
|
701 |
-
font-size: 0;
|
702 |
-
}
|
703 |
-
|
704 |
-
.dslca-module-edit-option-text-align-single {
|
705 |
-
display: inline-block;
|
706 |
-
width: 20%;
|
707 |
-
font-size: 14px;
|
708 |
-
text-align: center;
|
709 |
-
line-height: 1;
|
710 |
-
vertical-align: middle;
|
711 |
-
}
|
712 |
-
|
713 |
-
.dslca-module-edit-option-text-align-hook {
|
714 |
-
cursor: pointer;
|
715 |
-
opacity: 0.6;
|
716 |
-
line-height: 20px;
|
717 |
-
}
|
718 |
-
|
719 |
-
.dslca-module-edit-option-text-align-hook:hover {
|
720 |
-
opacity: 0.8;
|
721 |
-
}
|
722 |
-
|
723 |
-
.dslca-module-edit-option-text-align-hook.dslca-active {
|
724 |
-
opacity: 1;
|
725 |
-
}
|
726 |
-
|
727 |
-
.dslca-module-edit-options-tabs {
|
728 |
-
border-bottom: 1px solid #75a2e6;
|
729 |
-
padding-bottom: 17px;
|
730 |
-
}
|
731 |
-
|
732 |
-
.dslca-module-edit-options-tab-hook {
|
733 |
-
color: #a0c0f0;
|
734 |
-
cursor: pointer;
|
735 |
-
font-size: 11px;
|
736 |
-
font-weight: 900;
|
737 |
-
margin-right: 18px;
|
738 |
-
text-transform: uppercase;
|
739 |
-
}
|
740 |
-
|
741 |
-
.dslca-module-edit-options-tab-hook:hover,
|
742 |
-
.dslca-module-edit-options-tab-hook.dslca-active {
|
743 |
-
color: #fff;
|
744 |
-
}
|
745 |
-
|
746 |
-
/**
|
747 |
-
* Modules Section Edit
|
748 |
-
*/
|
749 |
-
|
750 |
-
.dslca-modules-section-edit {
|
751 |
-
overflow: hidden;
|
752 |
-
position: relative;
|
753 |
-
}
|
754 |
-
|
755 |
-
.dslca-modules-section-edit-options {
|
756 |
-
padding: 20px 15px;
|
757 |
-
overflow-x: hidden;
|
758 |
-
}
|
759 |
-
|
760 |
-
.dslca-modules-section-edit-option {
|
761 |
-
display: block;
|
762 |
-
float: left;
|
763 |
-
margin-bottom: 30px;
|
764 |
-
margin-right: 35px;
|
765 |
-
margin-top: 20px;
|
766 |
-
width: 235px;
|
767 |
-
position: relative;
|
768 |
-
}
|
769 |
-
|
770 |
-
.dslca-modules-section-edit-option-hidden {
|
771 |
-
display: none !important;
|
772 |
-
}
|
773 |
-
|
774 |
-
.dslca-modules-section-edit-option input[type="text"],
|
775 |
-
.dslca-modules-section-edit-option input[type="email"],
|
776 |
-
.dslca-modules-section-edit-option input[type="number"],
|
777 |
-
.dslca-modules-section-edit-option textarea,
|
778 |
-
.dslca-modules-section-edit-option select {
|
779 |
-
background: #6c9fed;
|
780 |
-
border: 1px solid #447bce;
|
781 |
-
width: 100%;
|
782 |
-
height: auto;
|
783 |
-
}
|
784 |
-
|
785 |
-
.dslca-modules-section-edit-option-text {
|
786 |
-
width: 235px;
|
787 |
-
}
|
788 |
-
|
789 |
-
.dslca-modules-section-edit-option-checkbox {
|
790 |
-
|
791 |
-
}
|
792 |
-
|
793 |
-
.dslca-modules-section-edit-option-textarea {
|
794 |
-
width: 500px;
|
795 |
-
}
|
796 |
-
|
797 |
-
.dslca-modules-section-edit-label {
|
798 |
-
color: #fff;
|
799 |
-
display: block;
|
800 |
-
font-family: "Open Sans";
|
801 |
-
font-weight: bold;
|
802 |
-
font-size: 12px;
|
803 |
-
line-height: 1;
|
804 |
-
margin-bottom: 10px;
|
805 |
-
text-transform: uppercase;
|
806 |
-
}
|
807 |
-
|
808 |
-
.dslca-modules-section-edit-field {
|
809 |
-
|
810 |
-
}
|
811 |
-
|
812 |
-
.dslca-modules-section-edit-option-checkbox {
|
813 |
-
width: auto;
|
814 |
-
}
|
815 |
-
|
816 |
-
.dslca-modules-section-edit-option-checkbox input[type="checkbox"] {
|
817 |
-
display: none;
|
818 |
-
}
|
819 |
-
|
820 |
-
.dslca-modules-section-edit-option-checkbox-wrapper {
|
821 |
-
background: #3b6fbe;
|
822 |
-
border-radius: 4px;
|
823 |
-
border: 1px solid #3565ad;
|
824 |
-
padding: 0 10px;
|
825 |
-
}
|
826 |
-
|
827 |
-
.dslca-modules-section-edit-option-checkbox-single {
|
828 |
-
margin: 6px;
|
829 |
-
display: inline-block;
|
830 |
-
}
|
831 |
-
|
832 |
-
.dslca-modules-section-edit-option-checkbox-hook {
|
833 |
-
cursor: pointer;
|
834 |
-
font-size: 12px;
|
835 |
-
font-weight: 600;
|
836 |
-
font-family: "Open Sans";
|
837 |
-
}
|
838 |
-
|
839 |
-
.dslca-modules-section-edit-option-checkbox-hook .dslca-icon {
|
840 |
-
margin-right: 10px;
|
841 |
-
}
|
842 |
-
|
843 |
-
.dslca-modules-section-settings {
|
844 |
-
display: none;
|
845 |
-
}
|
846 |
-
|
847 |
-
/**
|
848 |
-
* Templates
|
849 |
-
*/
|
850 |
-
|
851 |
-
.dslca-templates {
|
852 |
-
/* border-top: 1px solid #d8827d; */
|
853 |
-
position: relative;
|
854 |
-
}
|
855 |
-
|
856 |
-
.dslca-templates .dslca-go-to-section-hook,
|
857 |
-
.dslca-templates .dslca-open-modal-hook {
|
858 |
-
border-right: 1px solid #d57872;
|
859 |
-
color: #fff;
|
860 |
-
cursor: pointer;
|
861 |
-
display: block;
|
862 |
-
float: left;
|
863 |
-
font-family: "Oswald";
|
864 |
-
font-size: 15px;
|
865 |
-
line-height: 1;
|
866 |
-
padding: 20px 25px 21px 25px;
|
867 |
-
text-transform: uppercase;
|
868 |
-
}
|
869 |
-
|
870 |
-
.dslca-templates .dslca-go-to-section-hook .dslca-icon,
|
871 |
-
.dslca-templates .dslca-open-modal-hook .dslca-icon {
|
872 |
-
color: rgba( 255, 255, 255, 0.5);
|
873 |
-
margin-right: 9px;
|
874 |
-
vertical-align: top;
|
875 |
-
line-height: 14px;
|
876 |
-
}
|
877 |
-
|
878 |
-
/**
|
879 |
-
* Template Load
|
880 |
-
*/
|
881 |
-
|
882 |
-
.dslca-templates-load {
|
883 |
-
border-top: 1px solid #d8827d;
|
884 |
-
}
|
885 |
-
|
886 |
-
.dslca-template {
|
887 |
-
border-right: 1px solid #d57872;
|
888 |
-
color: #fff;
|
889 |
-
cursor: pointer;
|
890 |
-
display: block;
|
891 |
-
float: left;
|
892 |
-
font-family: "Oswald";
|
893 |
-
font-size: 15px;
|
894 |
-
line-height: 1;
|
895 |
-
padding: 20px 25px;
|
896 |
-
position: relative;
|
897 |
-
text-transform: uppercase;
|
898 |
-
}
|
899 |
-
|
900 |
-
.dslca-template-origin-user {
|
901 |
-
padding-right: 50px;
|
902 |
-
}
|
903 |
-
|
904 |
-
.dslca-template .dslca-delete-template-hook {
|
905 |
-
background: rgba( 0, 0, 0, 0.2 );
|
906 |
-
border-radius: 3px;
|
907 |
-
bottom: 15px;
|
908 |
-
padding: 3px 0;
|
909 |
-
position: absolute;
|
910 |
-
top: 15px;
|
911 |
-
right: 10px;
|
912 |
-
width: 25px;
|
913 |
-
text-align: center;
|
914 |
-
}
|
915 |
-
|
916 |
-
.dslca-template .dslca-delete-template-hook .dslca-icon {
|
917 |
-
|
918 |
-
}
|
919 |
-
|
920 |
-
/**
|
921 |
-
* Template Save
|
922 |
-
*/
|
923 |
-
|
924 |
-
.dslca-template-save-form input[type="text"] {
|
925 |
-
background: #fff;
|
926 |
-
border: 1px solid #d9dcdf;
|
927 |
-
border-radius: 3px;
|
928 |
-
color: #bfbfbf;
|
929 |
-
display: block;
|
930 |
-
margin-bottom: 15px;
|
931 |
-
width: 224px;
|
932 |
-
}
|
933 |
-
|
934 |
-
/**
|
935 |
-
* Template Import
|
936 |
-
*/
|
937 |
-
|
938 |
-
.dslca-template-import-form {
|
939 |
-
|
940 |
-
}
|
941 |
-
|
942 |
-
#dslca-import-code {
|
943 |
-
background: #fff;
|
944 |
-
border: 1px solid #d9dcdf;
|
945 |
-
border-radius: 3px;
|
946 |
-
color: #bfbfbf;
|
947 |
-
display: block;
|
948 |
-
height: 150px;
|
949 |
-
margin-bottom: 15px;
|
950 |
-
overflow: hidden;
|
951 |
-
width: 224px;
|
952 |
-
}
|
953 |
-
|
954 |
-
/**
|
955 |
-
* Template Export
|
956 |
-
*/
|
957 |
-
|
958 |
-
.dslca-template-export-form {
|
959 |
-
|
960 |
-
}
|
961 |
-
|
962 |
-
#dslca-export-code {
|
963 |
-
background: #fff;
|
964 |
-
border: 1px solid #d9dcdf;
|
965 |
-
border-radius: 3px;
|
966 |
-
color: #bfbfbf;
|
967 |
-
display: block;
|
968 |
-
height: 150px;
|
969 |
-
margin-bottom: 15px;
|
970 |
-
overflow: hidden;
|
971 |
-
width: 224px;
|
972 |
-
}
|
973 |
-
|
974 |
-
.dslca-template-export-form .dslca-close-modal-hook {
|
975 |
-
display: block;
|
976 |
-
width: auto;
|
977 |
-
}
|
978 |
-
|
979 |
-
/**/
|
980 |
-
|
981 |
-
.dslca-section-actions {
|
982 |
-
|
983 |
-
}
|
984 |
-
|
985 |
-
.dslca-go-to-modules-hook {
|
986 |
-
|
987 |
-
}
|
988 |
-
|
989 |
-
|
990 |
-
.dslca-switch {
|
991 |
-
background: #1783bc;
|
992 |
-
border-radius: 50%;
|
993 |
-
bottom: -50px;
|
994 |
-
cursor: pointer;
|
995 |
-
height: 100px;
|
996 |
-
left: 45%;
|
997 |
-
position: fixed;
|
998 |
-
width: 100px;
|
999 |
-
}
|
1000 |
-
|
1001 |
-
.dslca-submit {
|
1002 |
-
background: #4cc12d;
|
1003 |
-
border-radius: 3px;
|
1004 |
-
color: #fff;
|
1005 |
-
cursor: pointer;
|
1006 |
-
display: inline-block;
|
1007 |
-
font-family: "Open Sans";
|
1008 |
-
font-size: 14px;
|
1009 |
-
font-weight: bold;
|
1010 |
-
line-height: 34px;
|
1011 |
-
position: relative;
|
1012 |
-
text-align: center;
|
1013 |
-
width: 110px;
|
1014 |
-
}
|
1015 |
-
|
1016 |
-
.dslca-submit-secondary {
|
1017 |
-
background: #5890e5;
|
1018 |
-
border-radius: 3px;
|
1019 |
-
color: #fff;
|
1020 |
-
cursor: pointer;
|
1021 |
-
display: inline-block;
|
1022 |
-
font-family: "Open Sans";
|
1023 |
-
font-size: 14px;
|
1024 |
-
font-weight: bold;
|
1025 |
-
line-height: 34px;
|
1026 |
-
text-align: center;
|
1027 |
-
width: 110px;
|
1028 |
-
}
|
1029 |
-
|
1030 |
-
.dslca-cancel {
|
1031 |
-
background: #e55f5f;
|
1032 |
-
border-radius: 3px;
|
1033 |
-
color: #fff;
|
1034 |
-
cursor: pointer;
|
1035 |
-
display: inline-block;
|
1036 |
-
font-family: "Open Sans";
|
1037 |
-
font-size: 14px;
|
1038 |
-
font-weight: bold;
|
1039 |
-
line-height: 34px;
|
1040 |
-
text-align: center;
|
1041 |
-
width: 110px;
|
1042 |
-
}
|
1043 |
-
|
1044 |
-
.dslca-module-loading {
|
1045 |
-
background: #cee1f2;
|
1046 |
-
border-radius: 6px;
|
1047 |
-
display: none;
|
1048 |
-
height: 6px;
|
1049 |
-
left: 50%;
|
1050 |
-
position: absolute;
|
1051 |
-
top: 55px;
|
1052 |
-
overflow: hidden;
|
1053 |
-
width: 236px;
|
1054 |
-
margin-left: -118px;
|
1055 |
-
}
|
1056 |
-
|
1057 |
-
.dslc-modules-area.dslc-2-col .dslca-module-loading,
|
1058 |
-
.dslc-modules-area.dslc-1-col .dslca-module-loading {
|
1059 |
-
width: 60px;
|
1060 |
-
margin-left: -30px;
|
1061 |
-
}
|
1062 |
-
|
1063 |
-
.dslca-modules-area-loading {
|
1064 |
-
top: auto;
|
1065 |
-
bottom: 35px;
|
1066 |
-
position: relative;
|
1067 |
-
}
|
1068 |
-
|
1069 |
-
.dslc-modules-area-not-empty .dslca-module-loading {
|
1070 |
-
top: auto;
|
1071 |
-
bottom: 30px;
|
1072 |
-
}
|
1073 |
-
|
1074 |
-
.dslca-module-loading-inner {
|
1075 |
-
background: #74a8e1;
|
1076 |
-
border-radius: 6px;
|
1077 |
-
height: 6px;
|
1078 |
-
width: 0%;
|
1079 |
-
}
|
1080 |
-
|
1081 |
-
.dslca-module-reloading {
|
1082 |
-
position: absolute;
|
1083 |
-
left: 0;
|
1084 |
-
top: 0;
|
1085 |
-
right: 0;
|
1086 |
-
bottom: 0;
|
1087 |
-
background: rgba( 255, 255, 255, 0.8 );
|
1088 |
-
color: #5890e5;
|
1089 |
-
}
|
1090 |
-
|
1091 |
-
.dslca-module-reloading .dslca-icon {
|
1092 |
-
font-size: 20px;
|
1093 |
-
position: absolute;
|
1094 |
-
top: 50%;
|
1095 |
-
left: 50%;
|
1096 |
-
margin-left: -10px;
|
1097 |
-
}
|
1098 |
-
|
1099 |
-
.dslca-module-placeholder {
|
1100 |
-
position: relative;
|
1101 |
-
background: #5890e5;
|
1102 |
-
height: 2px;
|
1103 |
-
float: left;
|
1104 |
-
}
|
1105 |
-
|
1106 |
-
.dslca-placeholder-help-text {
|
1107 |
-
position: absolute;
|
1108 |
-
left: 0;
|
1109 |
-
bottom: 0;
|
1110 |
-
right: 0;
|
1111 |
-
text-align: center;
|
1112 |
-
}
|
1113 |
-
|
1114 |
-
.dslca-placeholder-help-text-inner {
|
1115 |
-
background: #5890e5;
|
1116 |
-
border-radius: 3px 3px 0 0;
|
1117 |
-
color: #fff;
|
1118 |
-
font-family: "Open Sans";
|
1119 |
-
font-style: 12px;
|
1120 |
-
font-weight: bold;
|
1121 |
-
text-transform: uppercase;
|
1122 |
-
display: inline-block;
|
1123 |
-
padding: 5px 10px;
|
1124 |
-
}
|
1125 |
-
|
1126 |
-
.dslc-modules-area-empty .dslca-module-placeholder {
|
1127 |
-
display: none;
|
1128 |
-
}
|
1129 |
-
|
1130 |
-
.dslc-modules-area-empty {
|
1131 |
-
margin-top: 15px;
|
1132 |
-
margin-bottom: 15px;
|
1133 |
-
}
|
1134 |
-
|
1135 |
-
.dslc-module-front {
|
1136 |
-
outline: 2px dashed transparent;
|
1137 |
-
outline-offset: -1px;
|
1138 |
-
}
|
1139 |
-
|
1140 |
-
.dslc-modules-area:hover .dslc-module-front {
|
1141 |
-
outline-color: #d3d3d3;
|
1142 |
-
}
|
1143 |
-
|
1144 |
-
.dslc-modules-area:hover .dslc-module-front:hover {
|
1145 |
-
outline-color: #5890e5;
|
1146 |
-
}
|
1147 |
-
|
1148 |
-
.dslc-modules-area.dslca-options-hovered .dslc-module-front {
|
1149 |
-
outline-color: transparent;
|
1150 |
-
border-color: transparent;
|
1151 |
-
}
|
1152 |
-
|
1153 |
-
.windows.mozilla .dslc-module-front {
|
1154 |
-
outline: 0;
|
1155 |
-
}
|
1156 |
-
|
1157 |
-
.windows.mozilla .dslc-modules-area:hover .dslc-module-front {
|
1158 |
-
box-shadow: 0 0 0 2px #d3d3d3;
|
1159 |
-
}
|
1160 |
-
|
1161 |
-
.windows.mozilla .dslc-modules-area:hover .dslc-module-front:hover {
|
1162 |
-
box-shadow: 0 0 0 2px #5890e5;
|
1163 |
-
}
|
1164 |
-
|
1165 |
-
.windows.mozilla .dslc-modules-area.dslca-options-hovered .dslc-module-front {
|
1166 |
-
outline: 0;
|
1167 |
-
box-shadow: none;
|
1168 |
-
}
|
1169 |
-
|
1170 |
-
.dslc-modules-area {
|
1171 |
-
outline: 0;
|
1172 |
-
}
|
1173 |
-
|
1174 |
-
.dslc-modules-area.dslca-options-hovered {
|
1175 |
-
outline: 2px dashed #5890e5;
|
1176 |
-
}
|
1177 |
-
|
1178 |
-
.dslc-modules-area-empty.dslca-options-hovered {
|
1179 |
-
outline: none !important;
|
1180 |
-
}
|
1181 |
-
|
1182 |
-
.windows.mozilla .dslc-modules-area.dslca-options-hovered {
|
1183 |
-
outline: 0;
|
1184 |
-
box-shadow: 0 0 0 2px #5890e5;
|
1185 |
-
}
|
1186 |
-
|
1187 |
-
.dslc-module-front.ui-sortable-helper {
|
1188 |
-
background: #5890e5;
|
1189 |
-
border-radius: 3px;
|
1190 |
-
height: 0 !important;
|
1191 |
-
width: 0 !important;
|
1192 |
-
overflow: hidden;
|
1193 |
-
opacity: 1 !important;
|
1194 |
-
cursor: move;
|
1195 |
-
padding: 0 !important;
|
1196 |
-
border: 0 !important;
|
1197 |
-
outline: none !important;
|
1198 |
-
}
|
1199 |
-
|
1200 |
-
.dslc-module-front.ui-sortable-helper * {
|
1201 |
-
opacity: 0;
|
1202 |
-
}
|
1203 |
-
|
1204 |
-
.dslc-module-front .dslc-sortable-helper-icon {
|
1205 |
-
display: none;
|
1206 |
-
position: absolute;
|
1207 |
-
left: 25px;
|
1208 |
-
top: 25px;
|
1209 |
-
color: rgba( 255, 255, 255, 0.5);
|
1210 |
-
}
|
1211 |
-
|
1212 |
-
.dslc-module-front.ui-sortable-helper .dslc-sortable-helper-icon {
|
1213 |
-
display: block;
|
1214 |
-
opacity: 1;
|
1215 |
-
}
|
1216 |
-
|
1217 |
-
.dslc-modules-area.ui-sortable-helper {
|
1218 |
-
cursor: move;
|
1219 |
-
border: 0 !important;
|
1220 |
-
outline: 0 !important;
|
1221 |
-
}
|
1222 |
-
|
1223 |
-
.dslc-modules-area.ui-sortable-helper * {
|
1224 |
-
opacity: 0;
|
1225 |
-
}
|
1226 |
-
|
1227 |
-
.dslc-modules-area.ui-sortable-helper {
|
1228 |
-
|
1229 |
-
}
|
1230 |
-
|
1231 |
-
.dslc-modules-section.ui-sortable-helper {
|
1232 |
-
max-height: 0px !important;
|
1233 |
-
width: 100% !important;
|
1234 |
-
overflow: hidden !important;
|
1235 |
-
opacity: 0 !important;
|
1236 |
-
padding: 0 !important;
|
1237 |
-
outline: 0 !important;
|
1238 |
-
border: 0 !important;
|
1239 |
-
}
|
1240 |
-
|
1241 |
-
.dslc-modules-section.ui-sortable-helper * {
|
1242 |
-
/* opacity: 0; */
|
1243 |
-
}
|
1244 |
-
|
1245 |
-
/**
|
1246 |
-
* Save Composer (confirm changes)
|
1247 |
-
*/
|
1248 |
-
|
1249 |
-
.dslca-save-composer {
|
1250 |
-
background: #313131;
|
1251 |
-
border-radius: 3px 6px 6px 3px;
|
1252 |
-
cursor: pointer;
|
1253 |
-
font-size: 11px;
|
1254 |
-
font-family: "Open Sans";
|
1255 |
-
font-weight: 900;
|
1256 |
-
float: left;
|
1257 |
-
line-height: 1;
|
1258 |
-
opacity: 0;
|
1259 |
-
display: none;
|
1260 |
-
padding: 11px 12px;
|
1261 |
-
padding-right: 43px;
|
1262 |
-
text-transform: uppercase;
|
1263 |
-
text-decoration: none;
|
1264 |
-
position: relative;
|
1265 |
-
}
|
1266 |
-
|
1267 |
-
.dslca-save-composer-helptext {
|
1268 |
-
color: #adadad;
|
1269 |
-
white-space: nowrap;
|
1270 |
-
}
|
1271 |
-
|
1272 |
-
.dslca-save-composer .dslca-save-composer-icon {
|
1273 |
-
background: #78ca4f;
|
1274 |
-
bottom: 0;
|
1275 |
-
border-radius: 0 3px 3px 0;
|
1276 |
-
border-top: 1px solid #b8e3a2;
|
1277 |
-
cursor: pointer;
|
1278 |
-
color: #fff;
|
1279 |
-
display: block;
|
1280 |
-
position: absolute;
|
1281 |
-
right: 0;
|
1282 |
-
top: -1px;
|
1283 |
-
text-align: center;
|
1284 |
-
width: 30px;
|
1285 |
-
}
|
1286 |
-
|
1287 |
-
.dslca-save-composer .dslca-save-composer-icon .dslca-icon {
|
1288 |
-
color: #fff;
|
1289 |
-
margin: 0;
|
1290 |
-
position: relative;
|
1291 |
-
top: 10px;
|
1292 |
-
}
|
1293 |
-
|
1294 |
-
/**
|
1295 |
-
* Save Draft (confirm changes)
|
1296 |
-
*/
|
1297 |
-
|
1298 |
-
.dslca-save-draft-composer {
|
1299 |
-
background: #313131;
|
1300 |
-
border-radius: 3px 6px 6px 3px;
|
1301 |
-
cursor: pointer;
|
1302 |
-
font-size: 11px;
|
1303 |
-
font-family: "Open Sans";
|
1304 |
-
font-weight: 900;
|
1305 |
-
float: left;
|
1306 |
-
line-height: 1;
|
1307 |
-
opacity: 0;
|
1308 |
-
display: none;
|
1309 |
-
padding: 11px 12px;
|
1310 |
-
padding-right: 43px;
|
1311 |
-
text-transform: uppercase;
|
1312 |
-
text-decoration: none;
|
1313 |
-
position: relative;
|
1314 |
-
margin-left: 5px;
|
1315 |
-
}
|
1316 |
-
|
1317 |
-
.dslca-save-draft-composer-helptext {
|
1318 |
-
color: #adadad;
|
1319 |
-
white-space: nowrap;
|
1320 |
-
}
|
1321 |
-
|
1322 |
-
.dslca-save-draft-composer .dslca-save-draft-composer-icon {
|
1323 |
-
background: #78ca4f;
|
1324 |
-
bottom: 0;
|
1325 |
-
border-radius: 0 3px 3px 0;
|
1326 |
-
border-top: 1px solid #b8e3a2;
|
1327 |
-
cursor: pointer;
|
1328 |
-
color: #fff;
|
1329 |
-
display: block;
|
1330 |
-
position: absolute;
|
1331 |
-
right: 0;
|
1332 |
-
top: -1px;
|
1333 |
-
text-align: center;
|
1334 |
-
width: 30px;
|
1335 |
-
}
|
1336 |
-
|
1337 |
-
.dslca-save-draft-composer .dslca-save-draft-composer-icon .dslca-icon {
|
1338 |
-
color: #fff;
|
1339 |
-
margin: 0;
|
1340 |
-
position: relative;
|
1341 |
-
top: 10px;
|
1342 |
-
}
|
1343 |
-
|
1344 |
-
/**
|
1345 |
-
* No Content (empty module area)
|
1346 |
-
*/
|
1347 |
-
|
1348 |
-
.dslca-no-content {
|
1349 |
-
display: none;
|
1350 |
-
border: 2px dashed #5890e5;
|
1351 |
-
padding: 35px 10px;
|
1352 |
-
text-align: center;
|
1353 |
-
}
|
1354 |
-
|
1355 |
-
.dslc-modules-area-empty .dslca-no-content {
|
1356 |
-
display: block;
|
1357 |
-
}
|
1358 |
-
|
1359 |
-
.dslca-no-content-primary {
|
1360 |
-
color: #5890e5;
|
1361 |
-
display: inline-block;
|
1362 |
-
background: rgba( 255, 255, 255, 0.75 );
|
1363 |
-
font-size: 15px;
|
1364 |
-
font-family: "Oswald";
|
1365 |
-
line-height: 1;
|
1366 |
-
margin: 0;
|
1367 |
-
text-transform: uppercase;
|
1368 |
-
padding: 13px;
|
1369 |
-
border-radius: 3px;
|
1370 |
-
}
|
1371 |
-
|
1372 |
-
.dslca-no-content .dslca-icon {
|
1373 |
-
margin-right: 10px;
|
1374 |
-
}
|
1375 |
-
|
1376 |
-
.dslc-modules-area.dslc-2-col .dslca-no-content-help-text,
|
1377 |
-
.dslc-modules-area.dslc-1-col .dslca-no-content-help-text {
|
1378 |
-
display: none;
|
1379 |
-
}
|
1380 |
-
|
1381 |
-
.dslc-modules-area.dslc-2-col .dslca-icon,
|
1382 |
-
.dslc-modules-area.dslc-1-col .dslca-icon {
|
1383 |
-
margin-right: 0;
|
1384 |
-
}
|
1385 |
-
|
1386 |
-
.dslca-templates-actions {
|
1387 |
-
background: rgba( 0, 0, 0, 0.3 );
|
1388 |
-
position: absolute;
|
1389 |
-
bottom: 0;
|
1390 |
-
left: 0;
|
1391 |
-
right: 0;
|
1392 |
-
}
|
1393 |
-
|
1394 |
-
/**
|
1395 |
-
* Module Section
|
1396 |
-
*/
|
1397 |
-
|
1398 |
-
/* Button */
|
1399 |
-
|
1400 |
-
.dslca-add-modules-section {
|
1401 |
-
text-align: center;
|
1402 |
-
margin-top: 30px;
|
1403 |
-
width: 1180px;
|
1404 |
-
margin-left: auto;
|
1405 |
-
margin-right: auto;
|
1406 |
-
max-width: 100%;
|
1407 |
-
margin-bottom: 30px;
|
1408 |
-
overflow: hidden;
|
1409 |
-
}
|
1410 |
-
|
1411 |
-
.dslca-add-modules-section-hook {
|
1412 |
-
background: #e5855f;
|
1413 |
-
border: 1px solid #d97a54;
|
1414 |
-
border-radius: 3px;
|
1415 |
-
color: #fff;
|
1416 |
-
cursor: pointer;
|
1417 |
-
display: block;
|
1418 |
-
font-size: 15px;
|
1419 |
-
font-family: "Oswald";
|
1420 |
-
float: left;
|
1421 |
-
line-height: 1;
|
1422 |
-
padding: 14px 0;
|
1423 |
-
text-transform: uppercase;
|
1424 |
-
text-decoration: none;
|
1425 |
-
width: 80%;
|
1426 |
-
}
|
1427 |
-
|
1428 |
-
.dslca-add-modules-section .dslca-icon {
|
1429 |
-
margin-right: 10px;
|
1430 |
-
color: rgba( 255, 255, 255, 0.5 );
|
1431 |
-
}
|
1432 |
-
|
1433 |
-
.dslca-import-modules-section-hook {
|
1434 |
-
background: #e5855f;
|
1435 |
-
border: 1px solid #d97a54;
|
1436 |
-
border-radius: 3px;
|
1437 |
-
color: #fff;
|
1438 |
-
cursor: pointer;
|
1439 |
-
display: block;
|
1440 |
-
font-size: 15px;
|
1441 |
-
font-family: "Oswald";
|
1442 |
-
float: right;
|
1443 |
-
line-height: 1;
|
1444 |
-
padding: 14px 0;
|
1445 |
-
text-transform: uppercase;
|
1446 |
-
text-decoration: none;
|
1447 |
-
width: 18%;
|
1448 |
-
}
|
1449 |
-
|
1450 |
-
.dslca-import-modules-section .dslca-icon {
|
1451 |
-
margin-right: 10px;
|
1452 |
-
color: rgba( 255, 255, 255, 0.5 );
|
1453 |
-
}
|
1454 |
-
|
1455 |
-
/* Main */
|
1456 |
-
|
1457 |
-
.dslc-modules-section {
|
1458 |
-
outline: 2px dashed transparent;
|
1459 |
-
position: relative;
|
1460 |
-
}
|
1461 |
-
|
1462 |
-
.dslc-modules-section:hover {
|
1463 |
-
outline-color: #eabba9;
|
1464 |
-
}
|
1465 |
-
|
1466 |
-
.windows.mozilla .dslc-modules-section {
|
1467 |
-
outline: 0;
|
1468 |
-
}
|
1469 |
-
|
1470 |
-
.windows.mozilla .dslc-modules-section:hover {
|
1471 |
-
box-shadow: 0 0 0 2px #eabba9;
|
1472 |
-
}
|
1473 |
-
|
1474 |
-
.dslc-modules-section-inner {
|
1475 |
-
min-height: 50px;
|
1476 |
-
}
|
1477 |
-
|
1478 |
-
/* Manage */
|
1479 |
-
|
1480 |
-
.dslca-modules-section-manage {
|
1481 |
-
bottom: 0;
|
1482 |
-
left: 0;
|
1483 |
-
right: 0;
|
1484 |
-
visibility: hidden;
|
1485 |
-
margin-bottom: -16px;
|
1486 |
-
padding-right: 0;
|
1487 |
-
position: absolute;
|
1488 |
-
z-index: 99998;
|
1489 |
-
width: 100%;
|
1490 |
-
text-align: center;
|
1491 |
-
}
|
1492 |
-
|
1493 |
-
.dslca-modules-section-manage:hover {
|
1494 |
-
z-index: 99999;
|
1495 |
-
}
|
1496 |
-
|
1497 |
-
.dslc-modules-section:hover .dslca-modules-section-manage {
|
1498 |
-
visibility: visible !important;
|
1499 |
-
}
|
1500 |
-
|
1501 |
-
.dslca-modules-section-manage-inner {
|
1502 |
-
background: #e5855f;
|
1503 |
-
border: 1px solid #da7a50;
|
1504 |
-
border-radius: 3px;
|
1505 |
-
display: inline-block;
|
1506 |
-
padding: 3px;
|
1507 |
-
position: relative;
|
1508 |
-
z-index: 99999;
|
1509 |
-
overflow: hidden;
|
1510 |
-
vertical-align: middle;
|
1511 |
-
opacity: 0;
|
1512 |
-
}
|
1513 |
-
|
1514 |
-
.dslca-modules-section-manage .dslca-manage-action {
|
1515 |
-
border-radius: 3px;
|
1516 |
-
color: #fff;
|
1517 |
-
display: inline-block;
|
1518 |
-
height: 18px;
|
1519 |
-
text-decoration: none;
|
1520 |
-
font-size: 15px;
|
1521 |
-
line-height: 15px;
|
1522 |
-
width: 18px;
|
1523 |
-
margin-right: 1px;
|
1524 |
-
text-align: center;
|
1525 |
-
vertical-align: middle;
|
1526 |
-
}
|
1527 |
-
|
1528 |
-
.dslca-modules-section-manage .dslca-icon {
|
1529 |
-
font-size: 12px;
|
1530 |
-
position: relative;
|
1531 |
-
top: -1px;
|
1532 |
-
}
|
1533 |
-
|
1534 |
-
/* Placeholder */
|
1535 |
-
|
1536 |
-
.dslca-modules-section-placeholder {
|
1537 |
-
position: relative;
|
1538 |
-
background: #5890e5;
|
1539 |
-
height: 2px;
|
1540 |
-
width: 100%;
|
1541 |
-
margin: 10px 0;
|
1542 |
-
}
|
1543 |
-
|
1544 |
-
.dslca-placeholder-help-text {
|
1545 |
-
position: absolute;
|
1546 |
-
left: 0;
|
1547 |
-
bottom: 0;
|
1548 |
-
right: 0;
|
1549 |
-
text-align: center;
|
1550 |
-
}
|
1551 |
-
|
1552 |
-
.dslca-placeholder-help-text-inner {
|
1553 |
-
background: #5890e5;
|
1554 |
-
border-radius: 3px 3px 0 0;
|
1555 |
-
color: #fff;
|
1556 |
-
font-family: "Open Sans";
|
1557 |
-
font-style: 12px;
|
1558 |
-
font-weight: bold;
|
1559 |
-
text-transform: uppercase;
|
1560 |
-
display: inline-block;
|
1561 |
-
padding: 5px 10px;
|
1562 |
-
}
|
1563 |
-
|
1564 |
-
|
1565 |
-
/**
|
1566 |
-
* Module Area
|
1567 |
-
*/
|
1568 |
-
|
1569 |
-
.dslca-add-modules-area {
|
1570 |
-
|
1571 |
-
}
|
1572 |
-
|
1573 |
-
.dslca-add-modules-area-hook {
|
1574 |
-
background: #5fb7e5;
|
1575 |
-
border-radius: 3px;
|
1576 |
-
color: #fff;
|
1577 |
-
cursor: pointer;
|
1578 |
-
display: inline-block;
|
1579 |
-
font-size: 11px;
|
1580 |
-
font-family: "Open Sans";
|
1581 |
-
font-weight: bold;
|
1582 |
-
line-height: 1;
|
1583 |
-
margin-right: 7px;
|
1584 |
-
padding: 7px 10px;
|
1585 |
-
text-transform: uppercase;
|
1586 |
-
text-decoration: none;
|
1587 |
-
vertical-align: middle;
|
1588 |
-
}
|
1589 |
-
|
1590 |
-
.dslca-add-modules-area-hook:hover {
|
1591 |
-
color: #fff;
|
1592 |
-
}
|
1593 |
-
|
1594 |
-
.dslca-add-modules-area-hook .dslca-icon {
|
1595 |
-
margin-right: 5px;
|
1596 |
-
color: rgba( 255, 255, 255, 0.5 );
|
1597 |
-
position: relative;
|
1598 |
-
top: 1px;
|
1599 |
-
}
|
1600 |
-
|
1601 |
-
.dslc-modules-area {
|
1602 |
-
position: relative;
|
1603 |
-
}
|
1604 |
-
|
1605 |
-
.dslca-modules-area-drag-in-progress .dslc-modules-area {
|
1606 |
-
margin-right: 1% !important;
|
1607 |
-
clear: none;
|
1608 |
-
}
|
1609 |
-
|
1610 |
-
.dslca-modules-area-manage {
|
1611 |
-
visibility: hidden;
|
1612 |
-
opacity: 0.5;
|
1613 |
-
-webkit-transition: opacity 0.2s ease-in-out;
|
1614 |
-
-moz-transition: opacity 0.2s ease-in-out;
|
1615 |
-
transition: opacity 0.2s ease-in-out;
|
1616 |
-
}
|
1617 |
-
|
1618 |
-
.dslc-modules-area:hover .dslca-modules-area-manage {
|
1619 |
-
visibility: visible;
|
1620 |
-
opacity: 0.5;
|
1621 |
-
}
|
1622 |
-
|
1623 |
-
.dslc-modules-area .dslca-modules-area-manage:hover {
|
1624 |
-
opacity: 1;
|
1625 |
-
}
|
1626 |
-
|
1627 |
-
.dslca-modules-area-manage {
|
1628 |
-
bottom: 0;
|
1629 |
-
position: absolute;
|
1630 |
-
left: auto;
|
1631 |
-
right: 100%;
|
1632 |
-
top: 0;
|
1633 |
-
margin-right: -2px;
|
1634 |
-
text-align: center;
|
1635 |
-
z-index: 99999;
|
1636 |
-
}
|
1637 |
-
|
1638 |
-
.dslca-modules-area-manage.dslca-horizontal {
|
1639 |
-
top: 50%;
|
1640 |
-
}
|
1641 |
-
|
1642 |
-
.dslc-modules-section.dslc-full .dslca-modules-area-manage {
|
1643 |
-
right: auto;
|
1644 |
-
left: 0;
|
1645 |
-
margin-right: 0;
|
1646 |
-
}
|
1647 |
-
|
1648 |
-
.dslca-modules-area-manage-inner {
|
1649 |
-
background: #5890e5;
|
1650 |
-
border: 1px solid #4f86d9;
|
1651 |
-
border-radius: 3px 0 0 3px;
|
1652 |
-
border-right-width: 0;
|
1653 |
-
display: inline-block;
|
1654 |
-
margin-top: 30px;
|
1655 |
-
padding: 4px;
|
1656 |
-
position: relative;
|
1657 |
-
z-index: 99999;
|
1658 |
-
}
|
1659 |
-
|
1660 |
-
.windows.mozilla .dslca-modules-area-manage-inner {
|
1661 |
-
margin-right: 2px;
|
1662 |
-
}
|
1663 |
-
|
1664 |
-
.dslca-horizontal .dslca-modules-area-manage-inner {
|
1665 |
-
margin-top: -47px;
|
1666 |
-
border-radius: 3px;
|
1667 |
-
}
|
1668 |
-
|
1669 |
-
.dslc-modules-section.dslc-full .dslca-modules-area-manage-inner {
|
1670 |
-
border-radius: 0 3px 3px 0;
|
1671 |
-
}
|
1672 |
-
|
1673 |
-
#dslc-content .dslca-modules-area-manage .dslca-manage-action {
|
1674 |
-
border-radius: 3px;
|
1675 |
-
color: #fff;
|
1676 |
-
display: block;
|
1677 |
-
height: 18px;
|
1678 |
-
text-decoration: none;
|
1679 |
-
font-size: 12px;
|
1680 |
-
line-height: 18px;
|
1681 |
-
margin-top: 4px;
|
1682 |
-
width: 18px;
|
1683 |
-
text-align: center;
|
1684 |
-
}
|
1685 |
-
|
1686 |
-
#dslc-content .dslca-modules-area-manage .dslca-manage-action:first-child {
|
1687 |
-
margin-left: 0;
|
1688 |
-
margin-top: 0;
|
1689 |
-
}
|
1690 |
-
|
1691 |
-
#dslc-content .dslca-modules-area-manage .dslca-manage-action:hover {
|
1692 |
-
color: #fff;
|
1693 |
-
}
|
1694 |
-
|
1695 |
-
#dslc-content .dslca-modules-area-manage .dslca-change-width-modules-area-hook {
|
1696 |
-
position: relative;
|
1697 |
-
}
|
1698 |
-
|
1699 |
-
#dslc-content .dslca-modules-area-manage .dslca-icon {
|
1700 |
-
font-size: 12px;
|
1701 |
-
}
|
1702 |
-
|
1703 |
-
.dslca-change-width-modules-area-options,
|
1704 |
-
.dslca-change-width-module-options {
|
1705 |
-
background: #fff;
|
1706 |
-
border: 1px solid #d9dcdf;
|
1707 |
-
border-radius: 3px;
|
1708 |
-
display: none;
|
1709 |
-
padding: 7px;
|
1710 |
-
position: absolute;
|
1711 |
-
top: -10px;
|
1712 |
-
left: 22px;
|
1713 |
-
z-index: 99999;
|
1714 |
-
width: 115px;
|
1715 |
-
}
|
1716 |
-
|
1717 |
-
.dslca-change-width-module-options {
|
1718 |
-
top: 30px;
|
1719 |
-
}
|
1720 |
-
|
1721 |
-
.dslca-change-width-modules-area-options:after,
|
1722 |
-
.dslca-change-width-modules-area-options:before {
|
1723 |
-
right: 100%;
|
1724 |
-
top: 18px;
|
1725 |
-
border: solid transparent;
|
1726 |
-
content: " ";
|
1727 |
-
height: 0;
|
1728 |
-
width: 0;
|
1729 |
-
position: absolute;
|
1730 |
-
pointer-events: none;
|
1731 |
-
}
|
1732 |
-
|
1733 |
-
.dslca-change-width-modules-area-options:after {
|
1734 |
-
/*
|
1735 |
-
border-color: rgba(255, 255, 255, 0);
|
1736 |
-
border-bottom-color: #ffffff;
|
1737 |
-
border-width: 10px;
|
1738 |
-
left: 50%;
|
1739 |
-
margin-left: -10px;
|
1740 |
-
*/
|
1741 |
-
border-color: rgba(255, 255, 255, 0);
|
1742 |
-
border-right-color: #fff;
|
1743 |
-
border-width: 10px;
|
1744 |
-
margin-top: -10px;
|
1745 |
-
}
|
1746 |
-
|
1747 |
-
.dslca-change-width-modules-area-options:before {
|
1748 |
-
/*
|
1749 |
-
border-color: rgba(205, 205, 205, 0);
|
1750 |
-
border-bottom-color: #cdcdcd;
|
1751 |
-
border-width: 11px;
|
1752 |
-
left: 50%;
|
1753 |
-
margin-left: -11px;
|
1754 |
-
*/
|
1755 |
-
border-color: rgba(205, 205, 205, 0);
|
1756 |
-
border-right-color: #cdcdcd;
|
1757 |
-
border-width: 11px;
|
1758 |
-
margin-top: -11px;
|
1759 |
-
}
|
1760 |
-
|
1761 |
-
.dslca-change-width-modules-area-options span,
|
1762 |
-
.dslca-change-width-module-options span {
|
1763 |
-
background: #4785db;
|
1764 |
-
border-radius: 3px;
|
1765 |
-
display: inline-block;
|
1766 |
-
font-family: "Open Sans";
|
1767 |
-
font-size: 13px;
|
1768 |
-
font-weight: bold;
|
1769 |
-
line-height: 24px;
|
1770 |
-
max-width: 44px;
|
1771 |
-
margin: 1px;
|
1772 |
-
text-align: center;
|
1773 |
-
width: 44px;
|
1774 |
-
}
|
1775 |
-
|
1776 |
-
.dslca-change-width-modules-area-options span.dslca-active-width,
|
1777 |
-
.dslca-change-width-module-options span.dslca-active-width {
|
1778 |
-
background: #3b6fbe;
|
1779 |
-
}
|
1780 |
-
|
1781 |
-
/**
|
1782 |
-
* Modules Area Manage - Empty
|
1783 |
-
*/
|
1784 |
-
|
1785 |
-
.dslc-modules-area-empty .dslca-modules-area-manage {
|
1786 |
-
top: 12px;
|
1787 |
-
bottom: auto;
|
1788 |
-
}
|
1789 |
-
|
1790 |
-
.dslc-modules-area-empty .dslca-modules-area-manage-inner {
|
1791 |
-
margin-top: 0;
|
1792 |
-
}
|
1793 |
-
|
1794 |
-
|
1795 |
-
|
1796 |
-
.dslca-modules-area-placeholder {
|
1797 |
-
position: relative;
|
1798 |
-
background: #5890e5;
|
1799 |
-
height: 2px;
|
1800 |
-
margin: 10px;
|
1801 |
-
float: left;
|
1802 |
-
}
|
1803 |
-
|
1804 |
-
body.rtl .dslca-modules-area-placeholder {
|
1805 |
-
float: right;
|
1806 |
-
}
|
1807 |
-
|
1808 |
-
/**
|
1809 |
-
* Module - Management
|
1810 |
-
*/
|
1811 |
-
|
1812 |
-
.dslca-module-manage {
|
1813 |
-
display: block;
|
1814 |
-
position: absolute;
|
1815 |
-
left: 50%;
|
1816 |
-
margin-left: -47px;
|
1817 |
-
top: -2px;
|
1818 |
-
text-align: center;
|
1819 |
-
z-index: 99999;
|
1820 |
-
overflow: hidden;
|
1821 |
-
}
|
1822 |
-
|
1823 |
-
.dslca-module-manage.dslca-module-manage-change-width-active {
|
1824 |
-
z-index: 100000;
|
1825 |
-
}
|
1826 |
-
|
1827 |
-
.dslca-module-manage-inner {
|
1828 |
-
background: #5890e5;
|
1829 |
-
border: 1px solid #4f86d9;
|
1830 |
-
border-top: 0;
|
1831 |
-
border-radius: 0 0 3px 3px;
|
1832 |
-
display: inline-block;
|
1833 |
-
padding: 3px;
|
1834 |
-
position: relative;
|
1835 |
-
top: -50px;
|
1836 |
-
}
|
1837 |
-
|
1838 |
-
.dslca-module-manage-inner.dslca-dev-mode {
|
1839 |
-
background: #444;
|
1840 |
-
border-color: #333;
|
1841 |
-
}
|
1842 |
-
|
1843 |
-
#dslc-content .dslca-module-manage .dslca-module-manage-hook {
|
1844 |
-
border-radius: 3px;
|
1845 |
-
color: #fff;
|
1846 |
-
display: inline-block;
|
1847 |
-
height: 18px;
|
1848 |
-
text-decoration: none;
|
1849 |
-
font-size: 12px;
|
1850 |
-
line-height: 18px;
|
1851 |
-
margin-top: 0;
|
1852 |
-
margin-right: 1px;
|
1853 |
-
width: 18px;
|
1854 |
-
text-align: center;
|
1855 |
-
cursor: pointer;
|
1856 |
-
}
|
1857 |
-
|
1858 |
-
#dslc-content .dslc-modules-area.dslc-1-col .dslca-module-manage .dslca-module-manage-hook,
|
1859 |
-
#dslc-content .dslc-modules-area.dslc-2-col .dslca-module-manage .dslca-module-manage-hook {
|
1860 |
-
margin-right: -2px;
|
1861 |
-
}
|
1862 |
-
|
1863 |
-
#dslc-content .dslca-module-manage .dslca-module-manage-hook:first-child {
|
1864 |
-
margin-top: 0;
|
1865 |
-
}
|
1866 |
-
|
1867 |
-
#dslc-content .dslca-module-manage .dslca-module-manage-hook:last-child {
|
1868 |
-
margin-right: 0 !important;
|
1869 |
-
}
|
1870 |
-
|
1871 |
-
#dslc-content .dslca-module-manage .dslca-module-manage-hook:hover {
|
1872 |
-
color: #fff;
|
1873 |
-
}
|
1874 |
-
|
1875 |
-
/* Vertical manage for smaller modules ( height ) */
|
1876 |
-
|
1877 |
-
/*
|
1878 |
-
|
1879 |
-
#dslc-content .dslca-module-manage.dslca-horizontal {
|
1880 |
-
top: 50%;
|
1881 |
-
}
|
1882 |
-
|
1883 |
-
#dslc-content .dslca-module-manage.dslca-horizontal .dslca-module-manage-inner {
|
1884 |
-
margin-top: -68px;
|
1885 |
-
}
|
1886 |
-
|
1887 |
-
*/
|
1888 |
-
|
1889 |
-
|
1890 |
-
/**
|
1891 |
-
* Modal
|
1892 |
-
*/
|
1893 |
-
|
1894 |
-
.dslca-modal {
|
1895 |
-
background: #fff;
|
1896 |
-
border-radius: 3px;
|
1897 |
-
color: #444;
|
1898 |
-
display: none;
|
1899 |
-
padding: 14px 17px;
|
1900 |
-
position: absolute;
|
1901 |
-
bottom: 55px;
|
1902 |
-
-moz-box-shadow: 0 1px 6px rgba(0,0,0,.2); /* drop shadow */
|
1903 |
-
-webkit-box-shadow: 0 1px 6px rgba(0,0,0,.2); /* drop shadow */
|
1904 |
-
box-shadow: 0 1px 6px rgba(0,0,0,.2); /* drop shadow */
|
1905 |
-
z-index: 9999991;
|
1906 |
-
}
|
1907 |
-
|
1908 |
-
.dslca-modal-title {
|
1909 |
-
|
1910 |
-
}
|
1911 |
-
|
1912 |
-
.dslca-modal:after {
|
1913 |
-
top: 100%;
|
1914 |
-
border: solid transparent;
|
1915 |
-
content: " ";
|
1916 |
-
height: 0;
|
1917 |
-
width: 0;
|
1918 |
-
position: absolute;
|
1919 |
-
pointer-events: none;
|
1920 |
-
}
|
1921 |
-
|
1922 |
-
.dslca-modal:after {
|
1923 |
-
border-color: rgba(255, 255, 255, 0);
|
1924 |
-
border-top-color: #ffffff;
|
1925 |
-
border-width: 7px;
|
1926 |
-
left: 50%;
|
1927 |
-
margin-left: -7px;
|
1928 |
-
}
|
1929 |
-
|
1930 |
-
|
1931 |
-
.dslca-section-scroller {
|
1932 |
-
position: relative;
|
1933 |
-
height: 57px;
|
1934 |
-
margin-right: 70px;
|
1935 |
-
overflow: hidden;
|
1936 |
-
}
|
1937 |
-
|
1938 |
-
.dslca-section-scroller-inner {
|
1939 |
-
position: absolute;
|
1940 |
-
top: 0;
|
1941 |
-
left: 0;
|
1942 |
-
bottom: 0;
|
1943 |
-
width: 999999px;
|
1944 |
-
text-align: left;
|
1945 |
-
-webkit-transition: left 0.3s ease-in-out;
|
1946 |
-
-moz-transition: left 0.3s ease-in-out;
|
1947 |
-
transition: left 0.3s ease-in-out;
|
1948 |
-
}
|
1949 |
-
|
1950 |
-
.dslca-section-scroller-content {
|
1951 |
-
display: inline-block;
|
1952 |
-
}
|
1953 |
-
|
1954 |
-
.dslca-section-scroller-fade {
|
1955 |
-
background: -moz-linear-gradient(left, rgba(88,144,229,0) 0%, rgba(88,144,229,1) 100%);
|
1956 |
-
background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(88,144,229,0)), color-stop(100%,rgba(88,144,229,1)));
|
1957 |
-
background: -webkit-linear-gradient(left, rgba(88,144,229,0) 0%,rgba(88,144,229,1) 100%);
|
1958 |
-
background: -o-linear-gradient(left, rgba(88,144,229,0) 0%,rgba(88,144,229,1) 100%);
|
1959 |
-
background: -ms-linear-gradient(left, rgba(88,144,229,0) 0%,rgba(88,144,229,1) 100%);
|
1960 |
-
background: linear-gradient(to right, rgba(88,144,229,0) 0%,rgba(88,144,229,1) 100%);
|
1961 |
-
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00004799', endColorstr='#5890e5',GradientType=1 );
|
1962 |
-
position: absolute;
|
1963 |
-
right: 70px;
|
1964 |
-
width: 50px;
|
1965 |
-
bottom: 0;
|
1966 |
-
top: 0;
|
1967 |
-
}
|
1968 |
-
|
1969 |
-
.dslca-section-scroller-nav {
|
1970 |
-
background: rgba( 0, 0, 0, 0.2 );
|
1971 |
-
position: absolute;
|
1972 |
-
right: 0;
|
1973 |
-
top: 0;
|
1974 |
-
bottom: 0;
|
1975 |
-
overflow: hidden;
|
1976 |
-
width: 70px;
|
1977 |
-
}
|
1978 |
-
|
1979 |
-
.dslca-section-scroller-prev {
|
1980 |
-
cursor: pointer;
|
1981 |
-
display: block;
|
1982 |
-
float: left;
|
1983 |
-
width: 35px;
|
1984 |
-
position: absolute;
|
1985 |
-
left: 0;
|
1986 |
-
top: 0;
|
1987 |
-
bottom: 0;
|
1988 |
-
text-decoration: none;
|
1989 |
-
}
|
1990 |
-
|
1991 |
-
.dslca-section-scroller-next {
|
1992 |
-
cursor: pointer;
|
1993 |
-
display: block;
|
1994 |
-
float: left;
|
1995 |
-
width: 35px;
|
1996 |
-
position: absolute;
|
1997 |
-
right: 0;
|
1998 |
-
top: 0;
|
1999 |
-
bottom: 0;
|
2000 |
-
text-decoration: none;
|
2001 |
-
}
|
2002 |
-
|
2003 |
-
.dslca-section-scroller-prev .dslca-icon,
|
2004 |
-
.dslca-section-scroller-next .dslca-icon {
|
2005 |
-
color: #fff;
|
2006 |
-
display: block;
|
2007 |
-
text-align: center;
|
2008 |
-
margin-top: 20px;
|
2009 |
-
}
|
2010 |
-
|
2011 |
-
/**
|
2012 |
-
* Front
|
2013 |
-
*/
|
2014 |
-
|
2015 |
-
.dslca-module-options-front,
|
2016 |
-
.dslca-accordion-plain-content,
|
2017 |
-
.dslca-tab-plain-content {
|
2018 |
-
display: none;
|
2019 |
-
}
|
2020 |
-
|
2021 |
-
.dslca-module-options-front-backup {
|
2022 |
-
display: none;
|
2023 |
-
}
|
2024 |
-
|
2025 |
-
/**
|
2026 |
-
* Other
|
2027 |
-
*/
|
2028 |
-
.dslca-module-edit-option-size,
|
2029 |
-
#dslca-code,
|
2030 |
-
#dslca-content-for-search,
|
2031 |
-
.dslca-module-code {
|
2032 |
-
display: none !important;
|
2033 |
-
}
|
2034 |
-
|
2035 |
-
/**
|
2036 |
-
* WYSIWYG
|
2037 |
-
*/
|
2038 |
-
|
2039 |
-
#dslca-wysiwyg {
|
2040 |
-
position: absolute;
|
2041 |
-
top: 0;
|
2042 |
-
left: -110%;
|
2043 |
-
z-index: 99999;
|
2044 |
-
height: 200px;
|
2045 |
-
padding-bottom: 60px;
|
2046 |
-
}
|
2047 |
-
|
2048 |
-
#dslcawysiwyg {
|
2049 |
-
overflow: hidden;
|
2050 |
-
height: 100px;
|
2051 |
-
}
|
2052 |
-
|
2053 |
-
#wp-dslcawysiwyg-wrap,
|
2054 |
-
#wp-dslcawysiwyg-editor-container,
|
2055 |
-
#wp-dslcawysiwyg-editor-container textarea {
|
2056 |
-
|
2057 |
-
}
|
2058 |
-
|
2059 |
-
#wp-dslcawysiwyg-editor-container {
|
2060 |
-
height: 82%;
|
2061 |
-
}
|
2062 |
-
|
2063 |
-
.dslc-module-front.dslca-module-wysiwyg-active {
|
2064 |
-
opacity: 0;
|
2065 |
-
min-height: 200px;
|
2066 |
-
}
|
2067 |
-
|
2068 |
-
#dslca-wysiwyg-actions {
|
2069 |
-
bottom: 0;
|
2070 |
-
position: absolute;
|
2071 |
-
color: #fff;
|
2072 |
-
left: 0;
|
2073 |
-
line-height: 1;
|
2074 |
-
right: 0;
|
2075 |
-
text-align: right;
|
2076 |
-
}
|
2077 |
-
|
2078 |
-
#dslca-wysiwyg-actions-save-hook {
|
2079 |
-
background: #5bd63b;
|
2080 |
-
border-radius: 3px;
|
2081 |
-
color: #fff;
|
2082 |
-
cursor: pointer;
|
2083 |
-
display: inline-block;
|
2084 |
-
font-size: 12px;
|
2085 |
-
font-family: "Roboto";
|
2086 |
-
font-weight: bold;
|
2087 |
-
line-height: 1;
|
2088 |
-
padding: 13px 10px;
|
2089 |
-
position: relative;
|
2090 |
-
text-align: center;
|
2091 |
-
text-transform: uppercase;
|
2092 |
-
}
|
2093 |
-
|
2094 |
-
#dslca-wysiwyg-actions-cancel-hook {
|
2095 |
-
background: #e55858;
|
2096 |
-
border-radius: 3px;
|
2097 |
-
color: #fff;
|
2098 |
-
cursor: pointer;
|
2099 |
-
display: inline-block;
|
2100 |
-
font-size: 12px;
|
2101 |
-
font-family: "Roboto";
|
2102 |
-
font-weight: bold;
|
2103 |
-
line-height: 1;
|
2104 |
-
padding: 13px 10px;
|
2105 |
-
position: relative;
|
2106 |
-
text-align: center;
|
2107 |
-
text-transform: uppercase;
|
2108 |
-
}
|
2109 |
-
|
2110 |
-
.dslca-wysiwyg-actions-edit {
|
2111 |
-
position: absolute;
|
2112 |
-
top: 0;
|
2113 |
-
right: 0;
|
2114 |
-
overflow: hidden;
|
2115 |
-
}
|
2116 |
-
|
2117 |
-
.dslca-wysiwyg-actions-edit-hook {
|
2118 |
-
background: #5890e5;
|
2119 |
-
color: #fff;
|
2120 |
-
cursor: pointer;
|
2121 |
-
display: block;
|
2122 |
-
font-size: 12px;
|
2123 |
-
font-family: "Open Sans";
|
2124 |
-
line-height: 1;
|
2125 |
-
font-weight: bold;
|
2126 |
-
position: relative;
|
2127 |
-
top: -50px;
|
2128 |
-
padding: 7px 10px;
|
2129 |
-
border-radius: 0 0 0 3px;
|
2130 |
-
}
|
2131 |
-
|
2132 |
-
body.dslca-enabled .ui-widget-overlay,
|
2133 |
-
body.dslca-enabled .ui-dialog,
|
2134 |
-
body.dslca-enabled #mceModalBlocker,
|
2135 |
-
body.dslca-enabled #wp-link-backdrop,
|
2136 |
-
body.dslca-enabled #mce-modal-block {
|
2137 |
-
z-index: 99999999 !important;
|
2138 |
-
}
|
2139 |
-
|
2140 |
-
body.dslca-enabled .clearlooks2,
|
2141 |
-
body.dslca-enabled #menu_dslcawpeditor_dslcawpeditor_formatselect_menu,
|
2142 |
-
body.dslca-enabled #dslcawpeditor_forecolor_menu,
|
2143 |
-
body.dslca-enabled #wp-link-wrap,
|
2144 |
-
body.dslca-enabled .mce-menu,
|
2145 |
-
body.dslca-enabled .mce-panel {
|
2146 |
-
z-index: 999999991 !important;
|
2147 |
-
}
|
2148 |
-
|
2149 |
-
body.dslca-enabled .mce_fullscreen {
|
2150 |
-
display: none;
|
2151 |
-
}
|
2152 |
-
|
2153 |
-
|
2154 |
-
/**
|
2155 |
-
* Animations
|
2156 |
-
*/
|
2157 |
-
|
2158 |
-
/* Bounce In */
|
2159 |
-
|
2160 |
-
@keyframes "dslcBounceIn" {
|
2161 |
-
|
2162 |
-
0% {
|
2163 |
-
-webkit-transform: scale(0);
|
2164 |
-
-moz-transform: scale(0);
|
2165 |
-
transform: scale(0);
|
2166 |
-
opacity: 0;
|
2167 |
-
}
|
2168 |
-
70% {
|
2169 |
-
-webkit-transform: scale(1.05);
|
2170 |
-
-moz-transform: scale(1.05);
|
2171 |
-
transform: scale(1.05);
|
2172 |
-
}
|
2173 |
-
90% {
|
2174 |
-
-webkit-transform: scale(1.0);
|
2175 |
-
-moz-transform: scale(1.0);
|
2176 |
-
transform: scale(1.0);
|
2177 |
-
}
|
2178 |
-
100% {
|
2179 |
-
opacity: 1;
|
2180 |
-
}
|
2181 |
-
|
2182 |
-
}
|
2183 |
-
|
2184 |
-
@-moz-keyframes dslcBounceIn {
|
2185 |
-
|
2186 |
-
0% {
|
2187 |
-
-moz-transform: scale(0);
|
2188 |
-
transform: scale(0);
|
2189 |
-
filter: alpha(opacity=0);
|
2190 |
-
opacity: 0;
|
2191 |
-
}
|
2192 |
-
70% {
|
2193 |
-
-moz-transform: scale(1.05);
|
2194 |
-
transform: scale(1.05);
|
2195 |
-
}
|
2196 |
-
90% {
|
2197 |
-
-moz-transform: scale(1.0);
|
2198 |
-
transform: scale(1.0);
|
2199 |
-
}
|
2200 |
-
100% {
|
2201 |
-
filter: alpha(opacity=100);
|
2202 |
-
opacity: 1;
|
2203 |
-
}
|
2204 |
-
|
2205 |
-
}
|
2206 |
-
|
2207 |
-
@-webkit-keyframes "dslcBounceIn" {
|
2208 |
-
|
2209 |
-
0% {
|
2210 |
-
-webkit-transform: scale(0);
|
2211 |
-
transform: scale(0);
|
2212 |
-
filter: alpha(opacity=0);
|
2213 |
-
opacity: 0;
|
2214 |
-
}
|
2215 |
-
70% {
|
2216 |
-
-webkit-transform: scale(1.05);
|
2217 |
-
transform: scale(1.05);
|
2218 |
-
}
|
2219 |
-
90% {
|
2220 |
-
-webkit-transform: scale(1.0);
|
2221 |
-
transform: scale(1.0);
|
2222 |
-
}
|
2223 |
-
100% {
|
2224 |
-
filter: alpha(opacity=100);
|
2225 |
-
opacity: 1;
|
2226 |
-
}
|
2227 |
-
|
2228 |
-
}
|
2229 |
-
|
2230 |
-
/* Bounce Out */
|
2231 |
-
|
2232 |
-
@keyframes "dslcBounceOut" {
|
2233 |
-
|
2234 |
-
0% {
|
2235 |
-
-webkit-transform: scale(1);
|
2236 |
-
-moz-transform: scale(1);
|
2237 |
-
transform: scale(1);
|
2238 |
-
}
|
2239 |
-
100% {
|
2240 |
-
-webkit-transform: scale(0.9);
|
2241 |
-
-moz-transform: scale(0.9);
|
2242 |
-
transform: scale(0.9);
|
2243 |
-
}
|
2244 |
-
|
2245 |
-
}
|
2246 |
-
|
2247 |
-
@-moz-keyframes dslcBounceOut {
|
2248 |
-
|
2249 |
-
0% {
|
2250 |
-
-moz-transform: scale(1);
|
2251 |
-
transform: scale(1);
|
2252 |
-
}
|
2253 |
-
|
2254 |
-
100% {
|
2255 |
-
-moz-transform: scale(0.9);
|
2256 |
-
transform: scale(0.9);
|
2257 |
-
}
|
2258 |
-
|
2259 |
-
}
|
2260 |
-
|
2261 |
-
@-webkit-keyframes "dslcBounceOut" {
|
2262 |
-
|
2263 |
-
0% {
|
2264 |
-
-webkit-transform: scale(1);
|
2265 |
-
transform: scale(1);
|
2266 |
-
}
|
2267 |
-
100% {
|
2268 |
-
-webkit-transform: scale(0.9);
|
2269 |
-
transform: scale(0.9);
|
2270 |
-
}
|
2271 |
-
|
2272 |
-
}
|
2273 |
-
|
2274 |
-
/* Bounce In and Out */
|
2275 |
-
|
2276 |
-
@keyframes "dslcBounceOut2" {
|
2277 |
-
|
2278 |
-
0% {
|
2279 |
-
-webkit-transform: scale(1);
|
2280 |
-
-moz-transform: scale(1);
|
2281 |
-
transform: scale(1);
|
2282 |
-
}
|
2283 |
-
30% {
|
2284 |
-
-webkit-transform: scale(1.01);
|
2285 |
-
-moz-transform: scale(1.01);
|
2286 |
-
transform: scale(1.01);
|
2287 |
-
}
|
2288 |
-
100% {
|
2289 |
-
-webkit-transform: scale(0.9);
|
2290 |
-
-moz-transform: scale(0.9);
|
2291 |
-
transform: scale(0.9);
|
2292 |
-
}
|
2293 |
-
|
2294 |
-
}
|
2295 |
-
|
2296 |
-
@-moz-keyframes dslcBounceOut2 {
|
2297 |
-
|
2298 |
-
0% {
|
2299 |
-
-moz-transform: scale(1);
|
2300 |
-
transform: scale(1);
|
2301 |
-
}
|
2302 |
-
30% {
|
2303 |
-
-moz-transform: scale(1.01);
|
2304 |
-
transform: scale(1.01);
|
2305 |
-
}
|
2306 |
-
100% {
|
2307 |
-
-moz-transform: scale(0.9);
|
2308 |
-
transform: scale(0.9);
|
2309 |
-
}
|
2310 |
-
|
2311 |
-
}
|
2312 |
-
|
2313 |
-
@-webkit-keyframes "dslcBounceOut2" {
|
2314 |
-
|
2315 |
-
0% {
|
2316 |
-
-webkit-transform: scale(1);
|
2317 |
-
transform: scale(1);
|
2318 |
-
}
|
2319 |
-
30% {
|
2320 |
-
-webkit-transform: scale(1.01);
|
2321 |
-
transform: scale(1.01);
|
2322 |
-
}
|
2323 |
-
100% {
|
2324 |
-
-webkit-transform: scale(0.9);
|
2325 |
-
transform: scale(0.9);
|
2326 |
-
}
|
2327 |
-
|
2328 |
-
}
|
2329 |
-
|
2330 |
-
/* Lower opacity */
|
2331 |
-
|
2332 |
-
@keyframes "dslcOpacityDrop" {
|
2333 |
-
|
2334 |
-
0% {
|
2335 |
-
opacity: 1;
|
2336 |
-
}
|
2337 |
-
100% {
|
2338 |
-
opacity: 0.7;
|
2339 |
-
}
|
2340 |
-
|
2341 |
-
}
|
2342 |
-
|
2343 |
-
@-moz-keyframes dslcOpacityDrop {
|
2344 |
-
|
2345 |
-
0% {
|
2346 |
-
opacity: 1;
|
2347 |
-
}
|
2348 |
-
100% {
|
2349 |
-
opacity: 0.7;
|
2350 |
-
}
|
2351 |
-
|
2352 |
-
}
|
2353 |
-
|
2354 |
-
@-webkit-keyframes "dslcOpacityDrop" {
|
2355 |
-
|
2356 |
-
0% {
|
2357 |
-
opacity: 1;
|
2358 |
-
}
|
2359 |
-
100% {
|
2360 |
-
opacity: 0.7;
|
2361 |
-
}
|
2362 |
-
|
2363 |
-
}
|
2364 |
-
|
2365 |
-
/* Rotate */
|
2366 |
-
|
2367 |
-
@keyframes "dslcRotate" {
|
2368 |
-
|
2369 |
-
0% {
|
2370 |
-
-webkit-transform: rotate(0deg);
|
2371 |
-
-moz-transform: rotate(0deg);
|
2372 |
-
transform: rotate(0deg);
|
2373 |
-
}
|
2374 |
-
100% {
|
2375 |
-
-webkit-transform: rotate(360deg);
|
2376 |
-
-moz-transform: rotate(360deg);
|
2377 |
-
transform: rotate(360deg);
|
2378 |
-
}
|
2379 |
-
|
2380 |
-
}
|
2381 |
-
|
2382 |
-
@-moz-keyframes dslcRotate {
|
2383 |
-
|
2384 |
-
0% {
|
2385 |
-
-moz-transform: rotate(0deg);
|
2386 |
-
transform: rotate(0deg);
|
2387 |
-
}
|
2388 |
-
100% {
|
2389 |
-
-moz-transform: rotate(360deg);
|
2390 |
-
transform: rotate(360deg);
|
2391 |
-
}
|
2392 |
-
|
2393 |
-
}
|
2394 |
-
|
2395 |
-
@-webkit-keyframes "dslcRotate" {
|
2396 |
-
|
2397 |
-
0% {
|
2398 |
-
-webkit-transform: rotate(0deg);
|
2399 |
-
transform: rotate(0deg);
|
2400 |
-
}
|
2401 |
-
100% {
|
2402 |
-
-webkit-transform: rotate(360deg);
|
2403 |
-
transform: rotate(360deg);
|
2404 |
-
}
|
2405 |
-
|
2406 |
-
}
|
2407 |
-
|
2408 |
-
.dslca-save-composer.dslca-init-animation,
|
2409 |
-
.dslca-save-draft-composer.dslca-init-animation,
|
2410 |
-
.dslc-modules-area.dslca-init-animation {
|
2411 |
-
display: block;
|
2412 |
-
opacity: 1;
|
2413 |
-
-webkit-animation-name: dslcBounceIn;
|
2414 |
-
-moz-animation-name: dslcBounceIn;
|
2415 |
-
animation-name: dslcBounceIn;
|
2416 |
-
animation-duration:0.6s;
|
2417 |
-
-webkit-animation-duration:0.6s;
|
2418 |
-
|
2419 |
-
}
|
2420 |
-
|
2421 |
-
.dslca-anim-opacity-drop {
|
2422 |
-
/*
|
2423 |
-
opacity: 0.7;
|
2424 |
-
-webkit-animation-name: dslcOpacityDrop;
|
2425 |
-
-moz-animation-name: dslcOpacityDrop;
|
2426 |
-
animation-name: dslcOpacityDrop;
|
2427 |
-
animation-duration:0.6s;
|
2428 |
-
-webkit-animation-duration:0.6s;
|
2429 |
-
*/
|
2430 |
-
}
|
2431 |
-
|
2432 |
-
.dslc-editable-content:focus,
|
2433 |
-
.dslc-editable-content.dslc-pen {
|
2434 |
-
outline: 1px dashed rgba( 0, 0, 0, 0.2);
|
2435 |
-
}
|
2436 |
-
|
2437 |
-
.dslca-manage-action {
|
2438 |
-
cursor: pointer;
|
2439 |
-
}
|
2440 |
-
|
2441 |
-
.dslca-module-being-edited .dslca-module-manage {
|
2442 |
-
display: none !important;
|
2443 |
-
}
|
2444 |
-
|
2445 |
-
.dslc-notification .dslca-refresh-module-hook {
|
2446 |
-
right: 35px;
|
2447 |
-
}
|
2448 |
-
|
2449 |
-
.dslca-container .jspHorizontalBar {
|
2450 |
-
height: 8px;
|
2451 |
-
background: transparent;
|
2452 |
-
}
|
2453 |
-
|
2454 |
-
.dslca-container .jspTrack {
|
2455 |
-
background: #679df0;
|
2456 |
-
border-radius: 8px;
|
2457 |
-
}
|
2458 |
-
|
2459 |
-
.dslca-container .jspDrag {
|
2460 |
-
background: #4479c8;
|
2461 |
-
border-radius: 8px;
|
2462 |
-
}
|
2463 |
-
|
2464 |
-
/**
|
2465 |
-
* Slider
|
2466 |
-
*/
|
2467 |
-
|
2468 |
-
.dslca-container .dslca-module-edit-option-slider,
|
2469 |
-
.dslca-container .dslca-modules-section-edit-option-slider {
|
2470 |
-
position: relative;
|
2471 |
-
}
|
2472 |
-
|
2473 |
-
.dslca-container .dslca-module-edit-field-slider,
|
2474 |
-
.dslca-container .dslca-modules-section-edit-field-slider {
|
2475 |
-
background: #6c9fed;
|
2476 |
-
border-radius: 5px;
|
2477 |
-
position: relative;
|
2478 |
-
height: 5px;
|
2479 |
-
margin-top: 20px;
|
2480 |
-
}
|
2481 |
-
|
2482 |
-
.dslca-container .dslca-module-edit-field-slider .ui-slider-handle,
|
2483 |
-
.dslca-container .dslca-modules-section-edit-field-slider .ui-slider-handle {
|
2484 |
-
background: #3b6fbe;
|
2485 |
-
border: 1px solid #3565ad;
|
2486 |
-
border-radius: 50%;
|
2487 |
-
top: -6px;
|
2488 |
-
position: absolute;
|
2489 |
-
width: 15px;
|
2490 |
-
height: 15px;
|
2491 |
-
margin-left: -7px;
|
2492 |
-
}
|
2493 |
-
|
2494 |
-
.dslca-container .dslca-module-edit-field-slider-tooltip,
|
2495 |
-
.dslca-container .dslca-modules-section-edit-field-slider-tooltip {
|
2496 |
-
display: none;
|
2497 |
-
position: absolute;
|
2498 |
-
background: #fff;
|
2499 |
-
border-radius: 3px;
|
2500 |
-
bottom: 20px;
|
2501 |
-
line-height: 1;
|
2502 |
-
padding: 10px;
|
2503 |
-
color: #838383;
|
2504 |
-
margin-left: -15px;
|
2505 |
-
font-size: 14px;
|
2506 |
-
}
|
2507 |
-
|
2508 |
-
.dslca-container .dslca-module-edit-field-slider-tooltip:after,
|
2509 |
-
.dslca-container .dslca-modules-section-edit-field-slider-tooltip:after {
|
2510 |
-
top: 100%;
|
2511 |
-
border: solid transparent;
|
2512 |
-
content: " ";
|
2513 |
-
height: 0;
|
2514 |
-
width: 0;
|
2515 |
-
position: absolute;
|
2516 |
-
pointer-events: none;
|
2517 |
-
}
|
2518 |
-
|
2519 |
-
.dslca-container .dslca-module-edit-field-slider-tooltip:after,
|
2520 |
-
.dslca-container .dslca-modules-section-edit-field-slider-tooltip:after {
|
2521 |
-
border-color: transparent;
|
2522 |
-
border-top-color: #fff;
|
2523 |
-
border-width: 6px;
|
2524 |
-
left: 50%;
|
2525 |
-
margin-left: -6px;
|
2526 |
-
}
|
2527 |
-
|
2528 |
-
/**
|
2529 |
-
* Numeric Text
|
2530 |
-
*/
|
2531 |
-
|
2532 |
-
.dslca-module-edit-field-numeric-wrap,
|
2533 |
-
.dslca-modules-section-edit-field-numeric-wrap {
|
2534 |
-
position: relative;
|
2535 |
-
}
|
2536 |
-
|
2537 |
-
.dslca-module-edit-field-numeric-ext,
|
2538 |
-
.dslca-modules-section-edit-field-numeric-ext {
|
2539 |
-
position: absolute;
|
2540 |
-
color: rgba( 255, 255, 255, 0.8 );
|
2541 |
-
font-size: 12px;
|
2542 |
-
right: 15px;
|
2543 |
-
top: 50%;
|
2544 |
-
margin-top: -5px;
|
2545 |
-
line-height: 1;
|
2546 |
-
}
|
2547 |
-
|
2548 |
-
/**
|
2549 |
-
* Separator
|
2550 |
-
*/
|
2551 |
-
|
2552 |
-
.dslca-separator-empty {
|
2553 |
-
height: 1px;
|
2554 |
-
border-bottom: 1px solid rgba( 0, 0, 0, 0.06 );
|
2555 |
-
text-align: center;
|
2556 |
-
position: absolute;
|
2557 |
-
top: 50%;
|
2558 |
-
left: 0;
|
2559 |
-
right: 0;
|
2560 |
-
}
|
2561 |
-
|
2562 |
-
.dslca-separator-empty span {
|
2563 |
-
display: inline-block;
|
2564 |
-
padding: 0 10px;
|
2565 |
-
background: #fff;
|
2566 |
-
margin-top: -10px;
|
2567 |
-
position: relative;
|
2568 |
-
top: -11px;
|
2569 |
-
font-size: 11px;
|
2570 |
-
line-height: 1;
|
2571 |
-
}
|
2572 |
-
|
2573 |
-
/**
|
2574 |
-
* Modal
|
2575 |
-
*/
|
2576 |
-
|
2577 |
-
.dslca-prompt-modal {
|
2578 |
-
background: rgba( 255, 255, 255, 0.80 );
|
2579 |
-
display: none;
|
2580 |
-
position: fixed;
|
2581 |
-
top: 0;
|
2582 |
-
left: 0;
|
2583 |
-
right: 0;
|
2584 |
-
bottom: 0;
|
2585 |
-
z-index: 99999999;
|
2586 |
-
height: 100%;
|
2587 |
-
}
|
2588 |
-
|
2589 |
-
.dslca-prompt-modal-content {
|
2590 |
-
background: #fff;
|
2591 |
-
border-radius: 3px;
|
2592 |
-
top: 50%;
|
2593 |
-
position: relative;
|
2594 |
-
width: 400px;
|
2595 |
-
margin: 0 auto;
|
2596 |
-
margin-top: -123px;
|
2597 |
-
padding: 40px;
|
2598 |
-
-moz-box-shadow: 0 2px 2px rgba(0,0,0,.04), 0 0 7px rgba(0,0,0,.12); /* drop shadow and outer glow */
|
2599 |
-
-webkit-box-shadow: 0 2px 2px rgba(0,0,0,.04), 0 0 7px rgba(0,0,0,.12); /* drop shadow and outer glow */
|
2600 |
-
box-shadow: 0 2px 2px rgba(0,0,0,.04), 0 0 7px rgba(0,0,0,.12); /* drop shadow and outer glow */
|
2601 |
-
}
|
2602 |
-
|
2603 |
-
.dslca-prompt-modal-msg {
|
2604 |
-
text-align: center;
|
2605 |
-
}
|
2606 |
-
|
2607 |
-
.dslca-prompt-modal-title {
|
2608 |
-
color: #424242;
|
2609 |
-
display: block;
|
2610 |
-
font-family: "Lato";
|
2611 |
-
font-size: 16px;
|
2612 |
-
font-weight: bold;
|
2613 |
-
line-height: 1;
|
2614 |
-
margin-bottom: 22px;
|
2615 |
-
}
|
2616 |
-
|
2617 |
-
.dslca-prompt-modal-descr {
|
2618 |
-
color: #8a8a8a;
|
2619 |
-
display: block;
|
2620 |
-
font-family: "Lato";
|
2621 |
-
font-size: 13px;
|
2622 |
-
font-weight: normal;
|
2623 |
-
line-height: 22px;
|
2624 |
-
margin-bottom: 22px;
|
2625 |
-
}
|
2626 |
-
|
2627 |
-
.dslca-prompt-modal-actions {
|
2628 |
-
text-align: center;
|
2629 |
-
}
|
2630 |
-
|
2631 |
-
.dslca-prompt-modal-cancel-hook,
|
2632 |
-
.dslca-prompt-modal-confirm-hook {
|
2633 |
-
background: #e55f5f;
|
2634 |
-
border-radius: 3px;
|
2635 |
-
cursor: pointer;
|
2636 |
-
color: #fff;
|
2637 |
-
display: inline-block;
|
2638 |
-
font-size: 13px;
|
2639 |
-
font-family: "Open Sans", sans-serif;
|
2640 |
-
font-weight: bold;
|
2641 |
-
line-height: 1;
|
2642 |
-
padding: 13px 15px;
|
2643 |
-
text-transform: uppercase;
|
2644 |
-
text-decoration: none;
|
2645 |
-
position: relative;
|
2646 |
-
}
|
2647 |
-
|
2648 |
-
.dslca-prompt-modal-confirm-hook:hover {
|
2649 |
-
color: #fff;
|
2650 |
-
}
|
2651 |
-
|
2652 |
-
.dslca-prompt-modal-confirm-hook {
|
2653 |
-
background: #4cc12d;
|
2654 |
-
margin-right: 7px;
|
2655 |
-
}
|
2656 |
-
|
2657 |
-
.dslca-prompt-modal-cancel-hook {
|
2658 |
-
|
2659 |
-
}
|
2660 |
-
|
2661 |
-
.dslca-prompt-modal-actions .dslc-icon {
|
2662 |
-
color: rgba( 255, 255, 255, 0.5 );
|
2663 |
-
margin-right: 6px;
|
2664 |
-
}
|
2665 |
-
|
2666 |
-
/**
|
2667 |
-
* WP Editor
|
2668 |
-
*/
|
2669 |
-
|
2670 |
-
.dslca-wp-editor {
|
2671 |
-
background: rgba( 0, 0, 0, 0.70 );
|
2672 |
-
display: none;
|
2673 |
-
position: fixed;
|
2674 |
-
top: 0;
|
2675 |
-
left: 0;
|
2676 |
-
right: 0;
|
2677 |
-
bottom: 0;
|
2678 |
-
z-index: 99999999;
|
2679 |
-
}
|
2680 |
-
|
2681 |
-
.dslca-wp-editor-inner {
|
2682 |
-
background: #fff;
|
2683 |
-
position: fixed;
|
2684 |
-
top: 30px;
|
2685 |
-
left: 30px;
|
2686 |
-
right: 30px;
|
2687 |
-
bottom: 30px;
|
2688 |
-
padding: 50px;
|
2689 |
-
}
|
2690 |
-
|
2691 |
-
.dslca-wp-editor-notification {
|
2692 |
-
margin-top: 40px;
|
2693 |
-
}
|
2694 |
-
|
2695 |
-
.dslca-wp-editor-actions {
|
2696 |
-
margin-top: 40px;
|
2697 |
-
}
|
2698 |
-
|
2699 |
-
.dslca-wp-editor-save-hook {
|
2700 |
-
background: #78ca4f;
|
2701 |
-
border-radius: 3px;
|
2702 |
-
color: #fff;
|
2703 |
-
cursor: pointer;
|
2704 |
-
display: inline-block;
|
2705 |
-
font-size: 11px;
|
2706 |
-
font-family: "Open Sans";
|
2707 |
-
font-weight: 900;
|
2708 |
-
line-height: 1;
|
2709 |
-
padding: 11px 12px;
|
2710 |
-
}
|
2711 |
-
|
2712 |
-
.dslca-wp-editor-cancel-hook {
|
2713 |
-
background: #e55f5f;
|
2714 |
-
border-radius: 3px;
|
2715 |
-
color: #fff;
|
2716 |
-
cursor: pointer;
|
2717 |
-
display: inline-block;
|
2718 |
-
font-size: 11px;
|
2719 |
-
font-family: "Open Sans";
|
2720 |
-
font-weight: 900;
|
2721 |
-
line-height: 1;
|
2722 |
-
margin-left: 4px;
|
2723 |
-
padding: 11px 12px;
|
2724 |
-
}
|
2725 |
-
|
2726 |
-
#wp-dslcawpeditor-editor-container {
|
2727 |
-
border: 1px solid #ddd;
|
2728 |
-
}
|
2729 |
-
|
2730 |
-
/**
|
2731 |
-
* Invisible Overlay
|
2732 |
-
*/
|
2733 |
-
|
2734 |
-
.dslca-invisible-overlay {
|
2735 |
-
display: block;
|
2736 |
-
position: fixed;
|
2737 |
-
top: 0;
|
2738 |
-
left: 0;
|
2739 |
-
right: 0;
|
2740 |
-
bottom: 0;
|
2741 |
-
z-index: 99998;
|
2742 |
-
}
|
2743 |
-
|
2744 |
-
.dslca-disable-selection .dslca-invisible-overlay {
|
2745 |
-
display: block;
|
2746 |
-
}
|
2747 |
-
|
2748 |
-
/**
|
2749 |
-
* Loading Modal
|
2750 |
-
*/
|
2751 |
-
|
2752 |
-
.dslca-loading-modal {
|
2753 |
-
background: rgba( 0, 0, 0, 0.75 );
|
2754 |
-
/* display: none; */
|
2755 |
-
position: fixed;
|
2756 |
-
top: 0;
|
2757 |
-
left: 0;
|
2758 |
-
right: 0;
|
2759 |
-
bottom: 200px;
|
2760 |
-
z-index: 999999;
|
2761 |
-
}
|
2762 |
-
|
2763 |
-
.dslca-loading-modal-content {
|
2764 |
-
position: relative;
|
2765 |
-
top: 200px;
|
2766 |
-
width: 580px;
|
2767 |
-
margin: 0 auto;
|
2768 |
-
}
|
2769 |
-
|
2770 |
-
.dslca-loading-modal-msg {
|
2771 |
-
background: #fff;
|
2772 |
-
border-radius: 3px;
|
2773 |
-
color: #707070;
|
2774 |
-
font-size: 14px;
|
2775 |
-
font-family: "Open Sans", sans-serif;
|
2776 |
-
font-weight: 600;
|
2777 |
-
line-height: 1.5;
|
2778 |
-
padding: 35px 25px;
|
2779 |
-
text-align: center;
|
2780 |
-
margin-bottom: 10px;
|
2781 |
-
-moz-box-shadow: 0 0 7px #000;
|
2782 |
-
-webkit-box-shadow: 0 0 7px #000;
|
2783 |
-
box-shadow: 0 0 7px #000;
|
2784 |
-
}
|
2785 |
-
|
2786 |
-
.dslca-loading-modal-actions {
|
2787 |
-
text-align: right;
|
2788 |
-
}
|
2789 |
-
|
2790 |
-
.dslca-loading-modal-cancel-hook,
|
2791 |
-
.dslca-loading-modal-confirm-hook {
|
2792 |
-
background: #e55f5f;
|
2793 |
-
border-radius: 3px;
|
2794 |
-
cursor: pointer;
|
2795 |
-
color: #fff;
|
2796 |
-
display: inline-block;
|
2797 |
-
font-size: 14px;
|
2798 |
-
font-family: "Open Sans", sans-serif;
|
2799 |
-
font-weight: bold;
|
2800 |
-
line-height: 1;
|
2801 |
-
padding: 13px 15px;
|
2802 |
-
text-transform: uppercase;
|
2803 |
-
}
|
2804 |
-
|
2805 |
-
.dslca-loading-modal-confirm-hook {
|
2806 |
-
background: #4cc12d;
|
2807 |
-
margin-right: 7px;
|
2808 |
-
}
|
2809 |
-
|
2810 |
-
/**
|
2811 |
-
* Tooltip
|
2812 |
-
*/
|
2813 |
-
|
2814 |
-
.dslca-module-edit-field-ttip-content {
|
2815 |
-
display: none;
|
2816 |
-
}
|
2817 |
-
|
2818 |
-
.dslca-module-edit-field-icon-ttip-hook,
|
2819 |
-
.dslca-module-edit-field-ttip-hook {
|
2820 |
-
background: #3b6fbe;
|
2821 |
-
color: #5890e5;
|
2822 |
-
cursor: pointer;
|
2823 |
-
border-radius: 50%;
|
2824 |
-
position: relative;
|
2825 |
-
display: inline-block;
|
2826 |
-
width: 13px;
|
2827 |
-
height: 13px;
|
2828 |
-
margin-left: 10px;
|
2829 |
-
vertical-align: bottom;
|
2830 |
-
}
|
2831 |
-
|
2832 |
-
.dslca-module-edit-field-icon-ttip-hook .dslca-icon,
|
2833 |
-
.dslca-module-edit-field-ttip-hook .dslca-icon {
|
2834 |
-
position: absolute;
|
2835 |
-
left: 5px;
|
2836 |
-
font-weight: normal;
|
2837 |
-
font-size: 10px;
|
2838 |
-
top: 1px;
|
2839 |
-
}
|
2840 |
-
|
2841 |
-
.dslca-module-edit-field-icon-ttip,
|
2842 |
-
.dslca-module-edit-field-ttip {
|
2843 |
-
background: #fff;
|
2844 |
-
color: #8a8a8a;
|
2845 |
-
font-family: "Lato";
|
2846 |
-
font-size: 13px;
|
2847 |
-
display: none;
|
2848 |
-
border-radius: 3px;
|
2849 |
-
padding: 20px 25px;
|
2850 |
-
border: 1px solid rgba(0,0,0,.12); /* stroke */
|
2851 |
-
position: absolute;
|
2852 |
-
-moz-box-shadow: 0 2px 2px rgba(0,0,0,.04), 0 0 7px rgba(0,0,0,.12); /* drop shadow and outer glow */
|
2853 |
-
-webkit-box-shadow: 0 2px 2px rgba(0,0,0,.04), 0 0 7px rgba(0,0,0,.12); /* drop shadow and outer glow */
|
2854 |
-
box-shadow: 0 2px 2px rgba(0,0,0,.04), 0 0 7px rgba(0,0,0,.12); /* drop shadow and outer glow */
|
2855 |
-
text-align: center;
|
2856 |
-
z-index: 999999;
|
2857 |
-
}
|
2858 |
-
|
2859 |
-
.dslca-module-edit-field-icon-ttip a,
|
2860 |
-
.dslca-module-edit-field-ttip a {
|
2861 |
-
color: #5890e5;
|
2862 |
-
font-weight: bold;
|
2863 |
-
text-decoration: none;
|
2864 |
-
}
|
2865 |
-
|
2866 |
-
.dslca-module-edit-field-icon-ttip:after,
|
2867 |
-
.dslca-module-edit-field-icon-ttip:before,
|
2868 |
-
.dslca-module-edit-field-ttip:after,
|
2869 |
-
.dslca-module-edit-field-ttip:before {
|
2870 |
-
top: 100%;
|
2871 |
-
border: solid transparent;
|
2872 |
-
content: " ";
|
2873 |
-
height: 0;
|
2874 |
-
width: 0;
|
2875 |
-
position: absolute;
|
2876 |
-
pointer-events: none;
|
2877 |
-
}
|
2878 |
-
|
2879 |
-
.dslca-module-edit-field-icon-ttip:after,
|
2880 |
-
.dslca-module-edit-field-ttip:after {
|
2881 |
-
border-color: rgba(255, 255, 255, 0);
|
2882 |
-
border-top-color: #fff;
|
2883 |
-
border-width: 8px;
|
2884 |
-
left: 50%;
|
2885 |
-
margin-left: -8px;
|
2886 |
-
}
|
2887 |
-
|
2888 |
-
.dslca-module-edit-field-icon-ttip:before,
|
2889 |
-
.dslca-module-edit-field-ttip:before {
|
2890 |
-
border-color: rgba(224, 224, 224, 0);
|
2891 |
-
border-top-color: #d2d2d2;
|
2892 |
-
border-width: 9px;
|
2893 |
-
left: 50%;
|
2894 |
-
margin-left: -9px;
|
2895 |
-
}
|
2896 |
-
|
2897 |
-
.dslca-module-edit-field-ttip-close {
|
2898 |
-
cursor: pointer;
|
2899 |
-
position: absolute;
|
2900 |
-
background: #e55f5f;
|
2901 |
-
top: -9px;
|
2902 |
-
right: -9px;
|
2903 |
-
width: 18px;
|
2904 |
-
line-height: 18px;
|
2905 |
-
border-radius: 18px;
|
2906 |
-
color: #fff;
|
2907 |
-
font-size: 11px;
|
2908 |
-
}
|
2909 |
-
|
2910 |
-
/**
|
2911 |
-
* Image Upload Field
|
2912 |
-
*/
|
2913 |
-
|
2914 |
-
.dslca-modules-section-edit-option-upload,
|
2915 |
-
.dslca-module-edit-option-image {
|
2916 |
-
width: auto;
|
2917 |
-
}
|
2918 |
-
|
2919 |
-
.dslca-modules-section-edit-field-image-add-hook,
|
2920 |
-
.dslca-modules-section-edit-field-image-remove-hook,
|
2921 |
-
.dslca-module-edit-field-image-add-hook,
|
2922 |
-
.dslca-module-edit-field-image-remove-hook {
|
2923 |
-
background: #3b6fbe;
|
2924 |
-
border: 1px solid #3565ad;
|
2925 |
-
border-radius: 3px;
|
2926 |
-
color: #a0c0f0;
|
2927 |
-
cursor: pointer;
|
2928 |
-
display: inline-block;
|
2929 |
-
font-size: 10px;
|
2930 |
-
font-family: "Open Sans";
|
2931 |
-
font-weight: bold;
|
2932 |
-
padding: 10px;
|
2933 |
-
line-height: 1;
|
2934 |
-
text-transform: uppercase;
|
2935 |
-
white-space: nowrap;
|
2936 |
-
}
|
2937 |
-
|
2938 |
-
.dslca-modules-section-edit-field-image-add-hook .dslca-icon,
|
2939 |
-
.dslca-modules-section-edit-field-image-remove-hook .dslca-icon,
|
2940 |
-
.dslca-module-edit-field-image-add-hook .dslca-icon,
|
2941 |
-
.dslca-module-edit-field-image-remove-hook .dslca-icon {
|
2942 |
-
margin-right: 7px;
|
2943 |
-
}
|
2944 |
-
|
2945 |
-
/**
|
2946 |
-
* Header/Footer
|
2947 |
-
*/
|
2948 |
-
|
2949 |
-
#dslc-header,
|
2950 |
-
#dslc-footer {
|
2951 |
-
position: relative;
|
2952 |
-
}
|
2953 |
-
|
2954 |
-
.dslc-hf-block-overlay {
|
2955 |
-
position: absolute;
|
2956 |
-
top: 0;
|
2957 |
-
left: 0;
|
2958 |
-
right: 0;
|
2959 |
-
bottom: 0;
|
2960 |
-
background: rgba( 88, 144, 229, 0.9 );
|
2961 |
-
z-index: 99999;
|
2962 |
-
text-align: center;
|
2963 |
-
opacity: 0;
|
2964 |
-
-webkit-transition: opacity 0.2s ease-in-out;
|
2965 |
-
-moz-transition: opacity 0.2s ease-in-out;
|
2966 |
-
transition: opacity 0.2s ease-in-out;
|
2967 |
-
}
|
2968 |
-
|
2969 |
-
.dslc-hf-block-overlay:hover {
|
2970 |
-
opacity: 1;
|
2971 |
-
}
|
2972 |
-
|
2973 |
-
.dslc-hf-block-overlay-button {
|
2974 |
-
text-align: center;
|
2975 |
-
position: absolute;
|
2976 |
-
left: 0;
|
2977 |
-
right: 0;
|
2978 |
-
top: 45%;
|
2979 |
-
display: inline-block;
|
2980 |
-
color: #fff;
|
2981 |
-
font-size: 20px;
|
2982 |
-
font-family: "Open Sans";
|
2983 |
-
text-decoration: none;
|
2984 |
-
font-weight: bold;
|
2985 |
-
text-transform: uppercase;
|
2986 |
-
}
|
2987 |
-
|
2988 |
-
/**
|
2989 |
-
* Composer Hidden
|
2990 |
-
*/
|
2991 |
-
|
2992 |
-
body.dslca-composer-hidden .dslc-module-front,
|
2993 |
-
body.dslca-composer-hidden .dslc-modules-area,
|
2994 |
-
body.dslca-composer-hidden .dslc-modules-section {
|
2995 |
-
outline: none !important;
|
2996 |
-
border: none !important;
|
2997 |
-
}
|
2998 |
-
|
2999 |
-
body.dslca-composer-hidden .dslca-module-manage,
|
3000 |
-
body.dslca-composer-hidden .dslca-modules-area-manage,
|
3001 |
-
body.dslca-composer-hidden .dslc-modules-section .dslca-modules-section-manage,
|
3002 |
-
.dslca-composer-hidden .dslc-modules-section:hover .dslca-modules-section-manage,
|
3003 |
-
.dslca-composer-hidden .dslca-add-modules-section {
|
3004 |
-
display: none !important;
|
3005 |
-
}
|
3006 |
-
|
3007 |
-
.dslca-loading {
|
3008 |
-
position: absolute;
|
3009 |
-
top: 15px;
|
3010 |
-
left: 25px;
|
3011 |
-
display: none;
|
3012 |
-
}
|
3013 |
-
|
3014 |
-
.followingBallsGWrap{
|
3015 |
-
width:64px;
|
3016 |
-
height:5px;
|
3017 |
-
}
|
3018 |
-
|
3019 |
-
.followingBallsG{
|
3020 |
-
background-color: rgba( 255, 255, 255, 0.5 );
|
3021 |
-
position:absolute;
|
3022 |
-
top:0;
|
3023 |
-
left:0;
|
3024 |
-
width:5px;
|
3025 |
-
height:5px;
|
3026 |
-
-moz-border-radius:3px;
|
3027 |
-
-moz-animation-name:bounce_followingBallsG;
|
3028 |
-
-moz-animation-duration:2.3s;
|
3029 |
-
-moz-animation-iteration-count:infinite;
|
3030 |
-
-moz-animation-direction:linear;
|
3031 |
-
-webkit-border-radius:3px;
|
3032 |
-
-webkit-animation-name:bounce_followingBallsG;
|
3033 |
-
-webkit-animation-duration:2.3s;
|
3034 |
-
-webkit-animation-iteration-count:infinite;
|
3035 |
-
-webkit-animation-direction:linear;
|
3036 |
-
-ms-border-radius:3px;
|
3037 |
-
-ms-animation-name:bounce_followingBallsG;
|
3038 |
-
-ms-animation-duration:2.3s;
|
3039 |
-
-ms-animation-iteration-count:infinite;
|
3040 |
-
-ms-animation-direction:linear;
|
3041 |
-
-o-border-radius:3px;
|
3042 |
-
-o-animation-name:bounce_followingBallsG;
|
3043 |
-
-o-animation-duration:2.3s;
|
3044 |
-
-o-animation-iteration-count:infinite;
|
3045 |
-
-o-animation-direction:linear;
|
3046 |
-
border-radius:3px;
|
3047 |
-
animation-name:bounce_followingBallsG;
|
3048 |
-
animation-duration:2.3s;
|
3049 |
-
animation-iteration-count:infinite;
|
3050 |
-
animation-direction:linear;
|
3051 |
-
}
|
3052 |
-
|
3053 |
-
.followingBallsG_1{
|
3054 |
-
-moz-animation-delay:0s;
|
3055 |
-
-webkit-animation-delay:0s;
|
3056 |
-
-ms-animation-delay:0s;
|
3057 |
-
-o-animation-delay:0s;
|
3058 |
-
animation-delay:0s;
|
3059 |
-
}
|
3060 |
-
|
3061 |
-
.followingBallsG_2{
|
3062 |
-
-moz-animation-delay:0.23s;
|
3063 |
-
-webkit-animation-delay:0.23s;
|
3064 |
-
-ms-animation-delay:0.23s;
|
3065 |
-
-o-animation-delay:0.23s;
|
3066 |
-
animation-delay:0.23s;
|
3067 |
-
}
|
3068 |
-
|
3069 |
-
.followingBallsG_3{
|
3070 |
-
-moz-animation-delay:0.46s;
|
3071 |
-
-webkit-animation-delay:0.46s;
|
3072 |
-
-ms-animation-delay:0.46s;
|
3073 |
-
-o-animation-delay:0.46s;
|
3074 |
-
animation-delay:0.46s;
|
3075 |
-
}
|
3076 |
-
|
3077 |
-
.followingBallsG_4{
|
3078 |
-
-moz-animation-delay:0.69s;
|
3079 |
-
-webkit-animation-delay:0.69s;
|
3080 |
-
-ms-animation-delay:0.69s;
|
3081 |
-
-o-animation-delay:0.69s;
|
3082 |
-
animation-delay:0.69s;
|
3083 |
-
}
|
3084 |
-
|
3085 |
-
@-moz-keyframes bounce_followingBallsG{
|
3086 |
-
0%{
|
3087 |
-
left:0px;
|
3088 |
-
background-color: rgba( 255, 255, 255, 0.5 );
|
3089 |
-
}
|
3090 |
-
50%{
|
3091 |
-
left:59px;
|
3092 |
-
background-color: rgba( 0, 0, 0, 0 );
|
3093 |
-
}
|
3094 |
-
100%{
|
3095 |
-
left:0px;
|
3096 |
-
background-color: rgba( 255, 255, 255, 0.5 );
|
3097 |
-
}
|
3098 |
-
}
|
3099 |
-
|
3100 |
-
@-webkit-keyframes bounce_followingBallsG{
|
3101 |
-
0%{
|
3102 |
-
left:0px;
|
3103 |
-
background-color: rgba( 255, 255, 255, 0.5 );
|
3104 |
-
}
|
3105 |
-
50%{
|
3106 |
-
left:59px;
|
3107 |
-
background-color: rgba( 0, 0, 0, 0 );
|
3108 |
-
}
|
3109 |
-
100%{
|
3110 |
-
left:0px;
|
3111 |
-
background-color: rgba( 255, 255, 255, 0.5 );
|
3112 |
-
}
|
3113 |
-
}
|
3114 |
-
|
3115 |
-
@-ms-keyframes bounce_followingBallsG{
|
3116 |
-
0%{
|
3117 |
-
left:0px;
|
3118 |
-
background-color: rgba( 255, 255, 255, 0.5 );
|
3119 |
-
}
|
3120 |
-
50%{
|
3121 |
-
left:59px;
|
3122 |
-
background-color: rgba( 0, 0, 0, 0 );
|
3123 |
-
}
|
3124 |
-
100%{
|
3125 |
-
left:0px;
|
3126 |
-
background-color: rgba( 255, 255, 255, 0.5 );
|
3127 |
-
}
|
3128 |
-
}
|
3129 |
-
|
3130 |
-
@-o-keyframes bounce_followingBallsG{
|
3131 |
-
0%{
|
3132 |
-
left:0px;
|
3133 |
-
background-color: rgba( 255, 255, 255, 0.5 );
|
3134 |
-
}
|
3135 |
-
50%{
|
3136 |
-
left:59px;
|
3137 |
-
background-color: rgba( 0, 0, 0, 0 );
|
3138 |
-
}
|
3139 |
-
|
3140 |
-
100%{
|
3141 |
-
left:0px;
|
3142 |
-
background-color: rgba( 255, 255, 255, 0.5 );
|
3143 |
-
}
|
3144 |
-
}
|
3145 |
-
|
3146 |
-
@keyframes bounce_followingBallsG{
|
3147 |
-
0%{
|
3148 |
-
left:0px;
|
3149 |
-
background-color: rgba( 255, 255, 255, 0.5 );
|
3150 |
-
}
|
3151 |
-
|
3152 |
-
50%{
|
3153 |
-
left:59px;
|
3154 |
-
background-color: rgba( 0, 0, 0, 0 );
|
3155 |
-
}
|
3156 |
-
|
3157 |
-
100%{
|
3158 |
-
left:0px;
|
3159 |
-
background-color: rgba( 255, 255, 255, 0.5 );
|
3160 |
-
}
|
3161 |
-
}
|
3162 |
-
|
3163 |
-
/**
|
3164 |
-
* Container Loader
|
3165 |
-
*/
|
3166 |
-
|
3167 |
-
.dslca-container-loader {
|
3168 |
-
position: absolute;
|
3169 |
-
left: 0;
|
3170 |
-
top: 0;
|
3171 |
-
right: 0;
|
3172 |
-
bottom: 0;
|
3173 |
-
background: rgba( 0, 0, 0, 0.2 );
|
3174 |
-
display: none;
|
3175 |
-
}
|
3176 |
-
|
3177 |
-
.dslca-container-loader-inner {
|
3178 |
-
position: absolute;
|
3179 |
-
top: 10px;
|
3180 |
-
left: 15px;
|
3181 |
-
}
|
3182 |
-
|
3183 |
-
/**
|
3184 |
-
* Hide template modules if not templates page
|
3185 |
-
*/
|
3186 |
-
|
3187 |
-
body.page .dslca-module.dslca-origin-single[data-id="DSLC_TP_Excerpt"],
|
3188 |
-
body.page .dslca-module.dslca-origin-single[data-id="DSLC_TP_Meta"],
|
3189 |
-
body.page .dslca-module.dslca-origin-single[data-id="DSLC_TP_Downloads_Button"],
|
3190 |
-
body.page .dslca-module.dslca-origin-single[data-id="DSLC_TP_Gallery_Slider"],
|
3191 |
-
body.page .dslca-module.dslca-origin-single[data-id="DSLC_TP_Project_Slider"],
|
3192 |
-
body.page .dslca-module.dslca-origin-single[data-id="DSLC_TP_Staff_Social"] {
|
3193 |
-
display: none !important;
|
3194 |
-
}
|
3195 |
-
|
3196 |
-
.media-modal {
|
3197 |
-
z-index: 999999999 !important;
|
3198 |
-
}
|
3199 |
-
|
3200 |
-
.media-modal-backdrop {
|
3201 |
-
z-index: 999999998 !important;
|
3202 |
-
}
|
3203 |
-
|
3204 |
-
/**
|
3205 |
-
* RTL Fixes
|
3206 |
-
*/
|
3207 |
-
|
3208 |
-
body.rtl .dslca-templates .dslca-go-to-section-hook .dslca-icon,
|
3209 |
-
body.rtl .dslca-templates .dslca-open-modal-hook .dslca-icon {
|
3210 |
-
margin-right: 0;
|
3211 |
-
margin-left: 9px;
|
3212 |
-
}
|
3213 |
-
|
3214 |
-
body.rtl .dslca-section-title-filter .dslca-icon {
|
3215 |
-
margin-left: 0;
|
3216 |
-
margin-right: 10px;
|
3217 |
-
}
|
3218 |
-
|
3219 |
-
body.rtl .dslca-container .dslca-close-composer-hook .dslca-icon,
|
3220 |
-
body.rtl .dslca-activate-composer-hook .dslca-icon,
|
3221 |
-
body.rtl .dslca-container .dslca-hide-composer-hook .dslca-icon,
|
3222 |
-
body.rtl .dslca-container .dslca-show-composer-hook .dslca-icon {
|
3223 |
-
margin-right: 0;
|
3224 |
-
margin-left: 5px;
|
3225 |
-
}
|
3226 |
-
|
3227 |
-
body.rtl .dslca-module .dslca-icon {
|
3228 |
-
margin-right: 0;
|
3229 |
-
margin-left: 11px;
|
3230 |
-
}
|
3231 |
-
|
3232 |
-
body.rtl .dslca-header .dslca-options-filter-hook .dslca-icon {
|
3233 |
-
margin-right: 0;
|
3234 |
-
margin-left: 4px;
|
3235 |
-
}
|
3236 |
-
|
3237 |
-
body.rtl .dslca-prompt-modal-actions .dslc-icon {
|
3238 |
-
margin-right: 0;
|
3239 |
-
margin-left: 6px;
|
3240 |
-
}
|
3241 |
-
|
3242 |
-
body.rtl .dslca-module-edit-option-checkbox-hook .dslca-icon {
|
3243 |
-
margin-right: 0;
|
3244 |
-
margin-left: 10px;
|
3245 |
-
}
|
3246 |
-
|
3247 |
-
body.rtl .dslca-module-edit-options-inner,
|
3248 |
-
body.rtl .dslca-modules-section-edit-options-inner {
|
3249 |
-
overflow-x: auto;
|
3250 |
-
}
|
3251 |
-
|
3252 |
-
body.rtl .dslca-module-edit-option,
|
3253 |
-
body.rtl .dslca-modules-section-edit-option {
|
3254 |
-
float: right;
|
3255 |
-
}
|
3256 |
-
|
3257 |
-
body.rtl .dslca-no-content .dslca-icon {
|
3258 |
-
margin-right: 0;
|
3259 |
-
margin-left: 10px;
|
3260 |
-
}
|
3261 |
-
|
3262 |
-
/**
|
3263 |
-
* Styling Presets Feature
|
3264 |
-
*/
|
3265 |
-
|
3266 |
-
.dslca-styling-presets {
|
3267 |
-
position: absolute;
|
3268 |
-
top: 0;
|
3269 |
-
right: 0;
|
3270 |
-
margin-right: 15px;
|
3271 |
-
margin-top: 15px;
|
3272 |
-
}
|
3273 |
-
|
3274 |
-
/**
|
3275 |
-
* Row Actions - hide/show on hover
|
3276 |
-
*/
|
3277 |
-
|
3278 |
-
.dslca-drag-not-in-progress .dslc-modules-section .dslca-modules-section-manage-inner {
|
3279 |
-
-webkit-transition: all 0.2s ease-in-out;
|
3280 |
-
-moz-transition: all 0.2s ease-in-out;
|
3281 |
-
transition: all 0.2s ease-in-out;
|
3282 |
-
}
|
3283 |
-
|
3284 |
-
.dslca-drag-not-in-progress .dslc-modules-section:hover .dslca-modules-section-manage-inner {
|
3285 |
-
opacity: 1;
|
3286 |
-
}
|
3287 |
-
|
3288 |
-
.dslca-composer-hidden .dslc-modules-section:hover .dslca-modules-section-manage-inner {
|
3289 |
-
opacity: 0;
|
3290 |
-
}
|
3291 |
-
|
3292 |
-
/**
|
3293 |
-
* Module Actions - hide/show on hover
|
3294 |
-
*/
|
3295 |
-
|
3296 |
-
.dslca-drag-not-in-progress .dslc-module-front .dslca-module-manage {
|
3297 |
-
overflow: hidden;
|
3298 |
-
}
|
3299 |
-
|
3300 |
-
/* Visible overflow if module width opts shown */
|
3301 |
-
.dslca-drag-not-in-progress .dslc-module-front:hover .dslca-module-manage.dslca-module-manage-change-width-active {
|
3302 |
-
overflow: visible;
|
3303 |
-
}
|
3304 |
-
|
3305 |
-
.dslca-drag-not-in-progress .dslc-module-front .dslca-module-manage-inner,
|
3306 |
-
.dslca-drag-not-in-progress .dslc-module-front .dslca-wysiwyg-actions-edit-hook {
|
3307 |
-
top: -50;
|
3308 |
-
-webkit-transition: top 0.2s ease-in-out;
|
3309 |
-
-moz-transition: top 0.2s ease-in-out;
|
3310 |
-
transition: top 0.2s ease-in-out;
|
3311 |
-
}
|
3312 |
-
|
3313 |
-
.dslca-drag-not-in-progress .dslc-module-front:hover .dslca-module-manage-inner,
|
3314 |
-
.dslca-drag-not-in-progress .dslc-module-front:hover .dslca-wysiwyg-actions-edit-hook {
|
3315 |
-
top: 0;
|
3316 |
-
}
|
3317 |
-
|
3318 |
-
/**
|
3319 |
-
* Area Actions - hide/show on hover
|
3320 |
-
*/
|
3321 |
-
|
3322 |
-
.dslca-drag-not-in-progress .dslc-modules-area .dslca-modules-area-manage-inner {
|
3323 |
-
opacity: 0;
|
3324 |
-
-webkit-transition: opacity 0.2s ease-in-out;
|
3325 |
-
-moz-transition: opacity 0.2s ease-in-out;
|
3326 |
-
transition: opacity 0.2s ease-in-out;
|
3327 |
-
}
|
3328 |
-
|
3329 |
-
.dslca-drag-not-in-progress .dslc-modules-area:hover .dslca-modules-area-manage-inner {
|
3330 |
-
opacity: 1;
|
3331 |
}
|
1 |
+
body {
|
2 |
+
|
3 |
+
}
|
4 |
+
|
5 |
+
.dslca-container * {
|
6 |
+
padding: 0;
|
7 |
+
margin: 0;
|
8 |
+
border: none;
|
9 |
+
outline: 0;
|
10 |
+
}
|
11 |
+
|
12 |
+
.dslca-disable-selection {
|
13 |
+
-ms-user-select: none !important; /* IE 10+ */
|
14 |
+
-moz-user-select: -moz-none !important;
|
15 |
+
-khtml-user-select: none !important;
|
16 |
+
-webkit-user-select: none !important;
|
17 |
+
user-select: none !important;
|
18 |
+
}
|
19 |
+
|
20 |
+
.dslca-container p {
|
21 |
+
margin-bottom: 20px;
|
22 |
+
}
|
23 |
+
|
24 |
+
.dslca-container input[type="text"],
|
25 |
+
.dslca-container input[type="number"],
|
26 |
+
.dslca-container select,
|
27 |
+
.dslca-container textarea {
|
28 |
+
background: rgba( 255, 255, 255, 0.1 );
|
29 |
+
border: 0;
|
30 |
+
color: #fff;
|
31 |
+
padding: 8px 10px;
|
32 |
+
font-family: "Open Sans";
|
33 |
+
font-size: 13px;
|
34 |
+
-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
|
35 |
+
-moz-box-sizing: border-box; /* Firefox, other Gecko */
|
36 |
+
box-sizing: border-box; /* Opera/IE 8+ */
|
37 |
+
}
|
38 |
+
|
39 |
+
.dslca-container input[type="text"],
|
40 |
+
.dslca-container input[type="email"],
|
41 |
+
.dslca-container input[type="number"] {
|
42 |
+
height: auto;
|
43 |
+
}
|
44 |
+
|
45 |
+
.dslca-container select {
|
46 |
+
line-height: 30px; /* Fixes the height in Safari */
|
47 |
+
}
|
48 |
+
|
49 |
+
.dslca-container input[type="submit"] {
|
50 |
+
background: #6ba253;
|
51 |
+
border: 0;
|
52 |
+
color: #fff;
|
53 |
+
cursor: pointer;
|
54 |
+
padding: 8px 10px;
|
55 |
+
line-height: 17px;
|
56 |
+
}
|
57 |
+
|
58 |
+
.dslca-container {
|
59 |
+
font-family: "Open Sans";
|
60 |
+
bottom: 0;
|
61 |
+
color: #fff;
|
62 |
+
left: 0;
|
63 |
+
position: fixed;
|
64 |
+
right: 0;
|
65 |
+
z-index: 99999;
|
66 |
+
-webkit-transition: bottom 0.3s;
|
67 |
+
-moz-transition: bottom 0.3s;
|
68 |
+
transition: bottom 0.3s;
|
69 |
+
}
|
70 |
+
|
71 |
+
/**
|
72 |
+
* Header
|
73 |
+
*/
|
74 |
+
|
75 |
+
.dslca-header {
|
76 |
+
position: absolute;
|
77 |
+
/* z-index: 999999; */
|
78 |
+
min-height: 38px;
|
79 |
+
bottom: 100%;
|
80 |
+
left: 0;
|
81 |
+
}
|
82 |
+
|
83 |
+
.dslca-header .dslca-currently-editing {
|
84 |
+
display: block;
|
85 |
+
position: absolute;
|
86 |
+
bottom: 45px;
|
87 |
+
left: 5px;
|
88 |
+
background: #5890e5;
|
89 |
+
color: rgba( 255, 255, 255, 0.5 );
|
90 |
+
padding: 6px 10px;
|
91 |
+
border-radius: 3px;
|
92 |
+
font-weight: bold;
|
93 |
+
font-family: "Open Sans";
|
94 |
+
font-size: 10px;
|
95 |
+
line-height: 1;
|
96 |
+
display: none;
|
97 |
+
white-space: nowrap;
|
98 |
+
text-transform: uppercase;
|
99 |
+
cursor: pointer;
|
100 |
+
}
|
101 |
+
|
102 |
+
.dslca-header .dslca-currently-editing .dslca-icon {
|
103 |
+
margin-right: 5px;
|
104 |
+
}
|
105 |
+
|
106 |
+
.dslca-header .dslca-currently-editing strong {
|
107 |
+
color: #fff;
|
108 |
+
}
|
109 |
+
|
110 |
+
.dslca-header .dslca-go-to-section-hook,
|
111 |
+
.dslca-header .dslca-options-filter-hook,
|
112 |
+
.dslca-header .dslca-row-options-filter-hook {
|
113 |
+
bottom: -1px;
|
114 |
+
background: #313131;
|
115 |
+
border-radius: 3px 3px 0 0;
|
116 |
+
color: #adadad;
|
117 |
+
cursor: pointer;
|
118 |
+
display: block;
|
119 |
+
float: left;
|
120 |
+
font-size: 11px;
|
121 |
+
font-family: "Open Sans";
|
122 |
+
font-weight: 900;
|
123 |
+
line-height: 1;
|
124 |
+
padding: 13px 15px;
|
125 |
+
position: relative;
|
126 |
+
}
|
127 |
+
|
128 |
+
.dslca-header .dslca-options-filter-hook,
|
129 |
+
.dslca-header .dslca-row-options-filter-hook {
|
130 |
+
display: none;
|
131 |
+
margin-right: 3px;
|
132 |
+
}
|
133 |
+
|
134 |
+
.dslca-header .dslca-go-to-section-hook.dslca-active,
|
135 |
+
.dslca-header .dslca-options-filter-hook.dslca-active,
|
136 |
+
.dslca-header .dslca-row-options-filter-hook.dslca-active {
|
137 |
+
border-top-color: #4777c2;
|
138 |
+
background: #3b6fbe;
|
139 |
+
color: #fff;
|
140 |
+
}
|
141 |
+
|
142 |
+
.dslca-header .dslca-options-filter-hook .dslca-icon,
|
143 |
+
.dslca-header .dslca-row-options-filter-hook .dslca-icon {
|
144 |
+
margin-right: 4px;
|
145 |
+
}
|
146 |
+
|
147 |
+
.dslca-header .dslca-options-filter-hook.dslca-active,
|
148 |
+
.dslca-header .dslca-row-options-filter-hook.dslca-active {
|
149 |
+
background: #5890e5;
|
150 |
+
}
|
151 |
+
|
152 |
+
.dslca-header .dslca-go-to-section-templates.dslca-active {
|
153 |
+
border-top-color: #bf7671;
|
154 |
+
background: #a94640;
|
155 |
+
}
|
156 |
+
|
157 |
+
.dslca-header .dslca-go-to-section-hook .dslca-icon {
|
158 |
+
font-weight: normal;
|
159 |
+
}
|
160 |
+
|
161 |
+
.dslca-module-edit-actions,
|
162 |
+
.dslca-row-edit-actions {
|
163 |
+
display: none;
|
164 |
+
float: left;
|
165 |
+
margin-left: 4px;
|
166 |
+
margin-top: 1px;
|
167 |
+
}
|
168 |
+
|
169 |
+
.dslca-module-edit-save,
|
170 |
+
.dslca-row-edit-save {
|
171 |
+
background: #78ca4f;
|
172 |
+
border-radius: 3px;
|
173 |
+
color: #fff;
|
174 |
+
cursor: pointer;
|
175 |
+
display: inline-block;
|
176 |
+
font-size: 11px;
|
177 |
+
font-family: "Open Sans";
|
178 |
+
font-weight: 900;
|
179 |
+
line-height: 1;
|
180 |
+
padding: 11px 12px;
|
181 |
+
}
|
182 |
+
|
183 |
+
.dslca-module-edit-cancel,
|
184 |
+
.dslca-row-edit-cancel {
|
185 |
+
background: #e55f5f;
|
186 |
+
border-radius: 3px;
|
187 |
+
color: #fff;
|
188 |
+
cursor: pointer;
|
189 |
+
display: inline-block;
|
190 |
+
font-size: 11px;
|
191 |
+
font-family: "Open Sans";
|
192 |
+
font-weight: 900;
|
193 |
+
line-height: 1;
|
194 |
+
margin-left: 4px;
|
195 |
+
padding: 11px 12px;
|
196 |
+
}
|
197 |
+
|
198 |
+
/**
|
199 |
+
* Actions
|
200 |
+
*/
|
201 |
+
|
202 |
+
.dslca-actions {
|
203 |
+
position: absolute;
|
204 |
+
bottom: 100%;
|
205 |
+
right: 0;
|
206 |
+
padding-bottom: 5px;
|
207 |
+
padding-right: 5px;
|
208 |
+
}
|
209 |
+
|
210 |
+
/**
|
211 |
+
* Sections
|
212 |
+
*/
|
213 |
+
|
214 |
+
.dslca-sections {
|
215 |
+
background: #5890e5;
|
216 |
+
}
|
217 |
+
|
218 |
+
.dslca-section {
|
219 |
+
display: none;
|
220 |
+
position: relative;
|
221 |
+
}
|
222 |
+
|
223 |
+
.dslca-section-back {
|
224 |
+
display: block;
|
225 |
+
float: left;
|
226 |
+
width: 32px;
|
227 |
+
line-height: 55px;
|
228 |
+
text-align: center;
|
229 |
+
}
|
230 |
+
|
231 |
+
.dslca-section-title {
|
232 |
+
display: block;
|
233 |
+
float: left;
|
234 |
+
background: #3b6fbe;
|
235 |
+
color: #fff;
|
236 |
+
font-family: "Oswald";
|
237 |
+
font-size: 15px;
|
238 |
+
line-height: 1;
|
239 |
+
padding: 20px 25px;
|
240 |
+
text-transform: uppercase;
|
241 |
+
}
|
242 |
+
|
243 |
+
.dslca-templates .dslca-section-title,
|
244 |
+
.dslca-templates-load .dslca-section-title,
|
245 |
+
.dslca-templates-save .dslca-section-title {
|
246 |
+
background: #a94640;
|
247 |
+
}
|
248 |
+
|
249 |
+
.dslca-section-title-filter {
|
250 |
+
position: relative;
|
251 |
+
cursor: pointer;
|
252 |
+
}
|
253 |
+
|
254 |
+
.dslca-section-title-filter-curr {
|
255 |
+
|
256 |
+
}
|
257 |
+
|
258 |
+
.dslca-section-title-filter .dslca-icon {
|
259 |
+
color: rgba( 255, 255, 255, 0.5 );
|
260 |
+
margin-left: 10px;
|
261 |
+
vertical-align: top;
|
262 |
+
}
|
263 |
+
|
264 |
+
.dslca-section-title-filter-options {
|
265 |
+
background: rgb(202, 86, 79);
|
266 |
+
border-radius: 3px 3px 0 0;
|
267 |
+
bottom: 35px;
|
268 |
+
display: none;
|
269 |
+
left: 0;
|
270 |
+
padding: 10px;
|
271 |
+
position: absolute;
|
272 |
+
right: 0;
|
273 |
+
z-index: 999999;
|
274 |
+
}
|
275 |
+
|
276 |
+
.dslca-section-title-filter-options span {
|
277 |
+
background: rgba( 0, 0, 0, 0.1 );
|
278 |
+
border-radius: 3px;
|
279 |
+
display: block;
|
280 |
+
cursor: pointer;
|
281 |
+
margin: 5px 0;
|
282 |
+
padding: 5px;
|
283 |
+
font-size: 12px;
|
284 |
+
}
|
285 |
+
|
286 |
+
/**
|
287 |
+
* Subsections
|
288 |
+
*/
|
289 |
+
|
290 |
+
.dslca-subsection {
|
291 |
+
display: none;
|
292 |
+
}
|
293 |
+
|
294 |
+
/**
|
295 |
+
* Modules
|
296 |
+
*/
|
297 |
+
|
298 |
+
.dslca-modules {
|
299 |
+
|
300 |
+
}
|
301 |
+
|
302 |
+
.dslca-module {
|
303 |
+
border-right: 1px solid #75a2e6;
|
304 |
+
color: #fff;
|
305 |
+
cursor: move;
|
306 |
+
display: block;
|
307 |
+
float: left;
|
308 |
+
font-family: "Oswald";
|
309 |
+
font-size: 15px;
|
310 |
+
line-height: 1;
|
311 |
+
padding: 21px 24px;
|
312 |
+
text-transform: uppercase;
|
313 |
+
}
|
314 |
+
|
315 |
+
.dslca-module.ui-draggable-dragging {
|
316 |
+
background: #5890e5;
|
317 |
+
border: 0;
|
318 |
+
z-index: 9999999 !important;
|
319 |
+
border-radius: 3px;
|
320 |
+
}
|
321 |
+
|
322 |
+
.dslca-module.ui-draggable-dragging .dslca-module-title {
|
323 |
+
display: none;
|
324 |
+
}
|
325 |
+
|
326 |
+
.dslca-module .dslca-icon {
|
327 |
+
color: rgba( 255, 255, 255, 0.5);
|
328 |
+
margin-right: 11px;
|
329 |
+
vertical-align: top;
|
330 |
+
font-size: 12px;
|
331 |
+
line-height: 14px;
|
332 |
+
}
|
333 |
+
|
334 |
+
.dslca-module.ui-draggable-dragging .dslca-icon {
|
335 |
+
margin-right: 0;
|
336 |
+
}
|
337 |
+
|
338 |
+
.dslca-module-edit {
|
339 |
+
overflow: hidden;
|
340 |
+
position: relative;
|
341 |
+
}
|
342 |
+
|
343 |
+
.dslca-module-edit-options-inner .jspContainer {
|
344 |
+
min-height: 120px;
|
345 |
+
}
|
346 |
+
|
347 |
+
.dslca-module-edit-options {
|
348 |
+
padding: 20px 15px;
|
349 |
+
overflow-x: auto;
|
350 |
+
min-height: 58px;
|
351 |
+
}
|
352 |
+
|
353 |
+
.dslca-module-edit-option {
|
354 |
+
display: block;
|
355 |
+
float: left;
|
356 |
+
margin-bottom: 30px;
|
357 |
+
margin-right: 35px;
|
358 |
+
margin-top: 20px;
|
359 |
+
width: 235px;
|
360 |
+
}
|
361 |
+
|
362 |
+
.dslca-module-edit-option-hidden {
|
363 |
+
display: none !important;
|
364 |
+
}
|
365 |
+
|
366 |
+
.dslca-module-edit-option input[type="text"],
|
367 |
+
.dslca-module-edit-option input[type="email"],
|
368 |
+
.dslca-module-edit-option input[type="number"],
|
369 |
+
.dslca-module-edit-option textarea,
|
370 |
+
.dslca-module-edit-option select,
|
371 |
+
.dslca-module-edit-option input[type="text"]:focus,
|
372 |
+
.dslca-module-edit-option input[type="email"]:focus,
|
373 |
+
.dslca-module-edit-option input[type="number"]:focus,
|
374 |
+
.dslca-module-edit-option textarea:focus,
|
375 |
+
.dslca-module-edit-option select:focus {
|
376 |
+
background: #6c9fed;
|
377 |
+
border: 1px solid #447bce;
|
378 |
+
width: 100%;
|
379 |
+
height: auto;
|
380 |
+
}
|
381 |
+
|
382 |
+
.dslca-module-edit-option-text {
|
383 |
+
width: 235px;
|
384 |
+
}
|
385 |
+
|
386 |
+
.dslca-module-edit-option-checkbox {
|
387 |
+
white-space: nowrap;
|
388 |
+
}
|
389 |
+
|
390 |
+
.dslca-module-edit-option-textarea {
|
391 |
+
width: 500px;
|
392 |
+
}
|
393 |
+
|
394 |
+
.dslca-module-edit-label {
|
395 |
+
color: #fff;
|
396 |
+
display: block;
|
397 |
+
font-family: "Open Sans";
|
398 |
+
font-weight: bold;
|
399 |
+
font-size: 12px;
|
400 |
+
line-height: 1;
|
401 |
+
margin-bottom: 10px;
|
402 |
+
text-transform: uppercase;
|
403 |
+
white-space: nowrap;
|
404 |
+
position: relative;
|
405 |
+
}
|
406 |
+
|
407 |
+
.dslca-module-edit-field {
|
408 |
+
|
409 |
+
}
|
410 |
+
|
411 |
+
.dslca-module-edit-field-font-wrapper,
|
412 |
+
.dslca-module-edit-field-icon-wrapper {
|
413 |
+
position: relative;
|
414 |
+
display: inline-block;
|
415 |
+
width: 158px;
|
416 |
+
}
|
417 |
+
|
418 |
+
.dslca-module-edit-field-font,
|
419 |
+
.dslca-module-edit-field-icon {
|
420 |
+
vertical-align: middle;
|
421 |
+
}
|
422 |
+
|
423 |
+
.dslca-module-edit-field-font-next,
|
424 |
+
.dslca-module-edit-field-font-prev,
|
425 |
+
.dslca-module-edit-field-icon-next,
|
426 |
+
.dslca-module-edit-field-icon-prev {
|
427 |
+
background: #3b6fbe;
|
428 |
+
border: 1px solid #3565ad;
|
429 |
+
border-radius: 3px;
|
430 |
+
cursor: pointer;
|
431 |
+
display: inline-block;
|
432 |
+
position: relative;
|
433 |
+
width: 30px;
|
434 |
+
height: 33px;
|
435 |
+
vertical-align: middle;
|
436 |
+
}
|
437 |
+
|
438 |
+
.dslca-module-edit-field-font-next .dslca-icon,
|
439 |
+
.dslca-module-edit-field-font-prev .dslca-icon,
|
440 |
+
.dslca-module-edit-field-icon-next .dslca-icon,
|
441 |
+
.dslca-module-edit-field-icon-prev .dslca-icon {
|
442 |
+
color: #8db6f3;
|
443 |
+
position: absolute;
|
444 |
+
top: 11px;
|
445 |
+
left: 11px;
|
446 |
+
font-size: 12px;
|
447 |
+
}
|
448 |
+
|
449 |
+
.dslca-module-edit-field-font-suggest,
|
450 |
+
.dslca-module-edit-field-icon-suggest {
|
451 |
+
color: #fff;
|
452 |
+
color: rgba( 255, 255, 255, 0.5 );
|
453 |
+
position: absolute;
|
454 |
+
left: 11px;
|
455 |
+
top: 0;
|
456 |
+
line-height: 36px;
|
457 |
+
font-family: "Open Sans", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
458 |
+
font-size: 13px;
|
459 |
+
}
|
460 |
+
|
461 |
+
|
462 |
+
.dslca-module-edit-option-checkbox {
|
463 |
+
width: auto;
|
464 |
+
}
|
465 |
+
|
466 |
+
.dslca-module-edit-option-checkbox input[type="checkbox"] {
|
467 |
+
display: none;
|
468 |
+
}
|
469 |
+
|
470 |
+
.dslca-module-edit-option-checkbox-wrapper {
|
471 |
+
background: #3b6fbe;
|
472 |
+
border-radius: 4px;
|
473 |
+
border: 1px solid #3565ad;
|
474 |
+
padding: 0 10px;
|
475 |
+
}
|
476 |
+
|
477 |
+
.dslca-module-edit-option-checkbox-single {
|
478 |
+
margin: 6px;
|
479 |
+
display: inline-block;
|
480 |
+
}
|
481 |
+
|
482 |
+
.dslca-module-edit-option-checkbox-hook {
|
483 |
+
cursor: pointer;
|
484 |
+
font-size: 13px;
|
485 |
+
font-weight: 600;
|
486 |
+
font-family: "Open Sans";
|
487 |
+
}
|
488 |
+
|
489 |
+
.dslca-module-edit-option-checkbox-hook .dslca-icon {
|
490 |
+
margin-right: 10px;
|
491 |
+
}
|
492 |
+
|
493 |
+
.dslca-module-edit-option-radio {
|
494 |
+
width: auto;
|
495 |
+
}
|
496 |
+
|
497 |
+
.dslca-module-edit-option-radio input[type="radio"] {
|
498 |
+
vertical-align: bottom;
|
499 |
+
}
|
500 |
+
|
501 |
+
.dslca-module-edit-option-radio-wrapper {
|
502 |
+
background: #3b6fbe;
|
503 |
+
border-radius: 4px;
|
504 |
+
border: 1px solid #3565ad;
|
505 |
+
padding: 0 10px;
|
506 |
+
}
|
507 |
+
|
508 |
+
.dslca-module-edit-option-radio-single {
|
509 |
+
margin: 6px;
|
510 |
+
display: inline-block;
|
511 |
+
font-size: 12px;
|
512 |
+
font-weight: 600;
|
513 |
+
font-family: "Open Sans";
|
514 |
+
}
|
515 |
+
|
516 |
+
/**
|
517 |
+
* Icon option type - Switch set
|
518 |
+
*/
|
519 |
+
|
520 |
+
.dslca-module-edit-field-icon-switch-set {
|
521 |
+
display: block;
|
522 |
+
position: absolute;
|
523 |
+
top: 0;
|
524 |
+
right: 0;
|
525 |
+
font-size: 10px;
|
526 |
+
line-height: 13px;
|
527 |
+
cursor: pointer;
|
528 |
+
}
|
529 |
+
|
530 |
+
.dslca-module-edit-field-icon-curr-set {
|
531 |
+
margin-right: 5px;
|
532 |
+
}
|
533 |
+
|
534 |
+
.dslca-module-edit-field-icon-switch-set .dslca-icon {
|
535 |
+
color: rgba( 255, 255, 255, 0.7 );
|
536 |
+
}
|
537 |
+
|
538 |
+
.dslca-module-edit-field-icon-switch-sets {
|
539 |
+
background: #fff;
|
540 |
+
color: #8a8a8a;
|
541 |
+
font-family: "Lato";
|
542 |
+
font-size: 13px;
|
543 |
+
display: none;
|
544 |
+
border-radius: 3px;
|
545 |
+
padding: 20px 25px;
|
546 |
+
border: 1px solid rgba(0,0,0,.12);
|
547 |
+
position: absolute;
|
548 |
+
-moz-box-shadow: 0 2px 2px rgba(0,0,0,.04), 0 0 7px rgba(0,0,0,.12);
|
549 |
+
-webkit-box-shadow: 0 2px 2px rgba(0,0,0,.04), 0 0 7px rgba(0,0,0,.12);
|
550 |
+
box-shadow: 0 2px 2px rgba(0,0,0,.04), 0 0 7px rgba(0,0,0,.12);
|
551 |
+
text-align: center;
|
552 |
+
z-index: 999999;
|
553 |
+
}
|
554 |
+
|
555 |
+
.dslca-module-edit-field-icon-switch-sets span {
|
556 |
+
display: block;
|
557 |
+
padding: 5px 10px;
|
558 |
+
cursor: pointer;
|
559 |
+
border-radius: 3px;
|
560 |
+
}
|
561 |
+
|
562 |
+
.dslca-module-edit-field-icon-switch-sets span:hover {
|
563 |
+
background: rgba( 0, 0, 0, 0.1 );
|
564 |
+
}
|
565 |
+
|
566 |
+
.dslca-module-edit-field-icon-switch-sets span.dslca-active {
|
567 |
+
background: #5890e5;
|
568 |
+
color: #fff;
|
569 |
+
}
|
570 |
+
|
571 |
+
/**
|
572 |
+
* Box shadow option type
|
573 |
+
*/
|
574 |
+
|
575 |
+
.dslca-module-edit-option-box_shadow {
|
576 |
+
width: auto;
|
577 |
+
}
|
578 |
+
|
579 |
+
.dslca-module-edit-option-box-shadow-wrapper {
|
580 |
+
background: #3b6fbe;
|
581 |
+
border-radius: 4px;
|
582 |
+
border: 1px solid #3565ad;
|
583 |
+
padding: 5px 10px;
|
584 |
+
font-size: 0;
|
585 |
+
}
|
586 |
+
|
587 |
+
.dslca-module-edit-option-box-shadow-single {
|
588 |
+
display: inline-block;
|
589 |
+
width: auto;
|
590 |
+
line-height: 1;
|
591 |
+
vertical-align: middle;
|
592 |
+
white-space: nowrap;
|
593 |
+
margin-left: 20px;
|
594 |
+
}
|
595 |
+
|
596 |
+
.dslca-module-edit-option-box-shadow-single:first-child {
|
597 |
+
margin-left: 0;
|
598 |
+
}
|
599 |
+
|
600 |
+
.dslca-module-edit-option-box-shadow-single span {
|
601 |
+
text-transform: uppercase;
|
602 |
+
font-size: 10px;
|
603 |
+
font-weight: bold;
|
604 |
+
margin-right: 10px;
|
605 |
+
vertical-align: middle;
|
606 |
+
}
|
607 |
+
|
608 |
+
.dslca-module-edit-option-box-shadow-single input[type="number"] {
|
609 |
+
width: 60px !important;
|
610 |
+
padding: 3px;
|
611 |
+
vertical-align: middle;
|
612 |
+
}
|
613 |
+
|
614 |
+
.dslca-module-edit-option-box-shadow-single input[type="checkbox"] {
|
615 |
+
display: none;
|
616 |
+
}
|
617 |
+
|
618 |
+
.dslca-module-edit-option-box-shadow-single .dslca-module-edit-option-checkbox-hook {
|
619 |
+
margin-right: 0;
|
620 |
+
}
|
621 |
+
|
622 |
+
.dslca-module-edit-option-box-shadow-single .dslca-module-edit-option-checkbox-hook .dslca-icon {
|
623 |
+
margin-left: 10px;
|
624 |
+
margin-right: 0;
|
625 |
+
font-size: 13px;
|
626 |
+
font-weight: normal;
|
627 |
+
}
|
628 |
+
|
629 |
+
.dslca-module-edit-option-box-shadow-single .sp-replacer {
|
630 |
+
display: inline-block !important;
|
631 |
+
width: 100px;
|
632 |
+
vertical-align: middle;
|
633 |
+
}
|
634 |
+
|
635 |
+
/**
|
636 |
+
* Text shadow option type
|
637 |
+
*/
|
638 |
+
|
639 |
+
.dslca-module-edit-option-text_shadow {
|
640 |
+
width: auto;
|
641 |
+
}
|
642 |
+
|
643 |
+
.dslca-module-edit-option-text-shadow-wrapper {
|
644 |
+
background: #3b6fbe;
|
645 |
+
border-radius: 4px;
|
646 |
+
border: 1px solid #3565ad;
|
647 |
+
padding: 5px 10px;
|
648 |
+
font-size: 0;
|
649 |
+
}
|
650 |
+
|
651 |
+
.dslca-module-edit-option-text-shadow-single {
|
652 |
+
display: inline-block;
|
653 |
+
width: auto;
|
654 |
+
line-height: 1;
|
655 |
+
vertical-align: middle;
|
656 |
+
white-space: nowrap;
|
657 |
+
margin-left: 20px;
|
658 |
+
}
|
659 |
+
|
660 |
+
.dslca-module-edit-option-text-shadow-single:first-child {
|
661 |
+
margin-left: 0;
|
662 |
+
}
|
663 |
+
|
664 |
+
.dslca-module-edit-option-text-shadow-single span {
|
665 |
+
text-transform: uppercase;
|
666 |
+
font-size: 10px;
|
667 |
+
font-weight: bold;
|
668 |
+
margin-right: 10px;
|
669 |
+
vertical-align: middle;
|
670 |
+
}
|
671 |
+
|
672 |
+
.dslca-module-edit-option-text-shadow-single input[type="number"] {
|
673 |
+
width: 60px !important;
|
674 |
+
padding: 3px;
|
675 |
+
vertical-align: middle;
|
676 |
+
}
|
677 |
+
|
678 |
+
.dslca-module-edit-option-text-shadow-single .sp-replacer {
|
679 |
+
display: inline-block !important;
|
680 |
+
width: 100px;
|
681 |
+
vertical-align: middle;
|
682 |
+
}
|
683 |
+
|
684 |
+
/**
|
685 |
+
* Text Align Option Type
|
686 |
+
*/
|
687 |
+
|
688 |
+
.dslca-module-edit-option-text-align {
|
689 |
+
width: auto;
|
690 |
+
}
|
691 |
+
|
692 |
+
.dslca-module-edit-option-text-align input[type="checkbox"] {
|
693 |
+
display: none;
|
694 |
+
}
|
695 |
+
|
696 |
+
.dslca-module-edit-option-text-align-wrapper {
|
697 |
+
background: #3b6fbe;
|
698 |
+
border-radius: 4px;
|
699 |
+
border: 1px solid #3565ad;
|
700 |
+
padding: 0 10px;
|
701 |
+
font-size: 0;
|
702 |
+
}
|
703 |
+
|
704 |
+
.dslca-module-edit-option-text-align-single {
|
705 |
+
display: inline-block;
|
706 |
+
width: 20%;
|
707 |
+
font-size: 14px;
|
708 |
+
text-align: center;
|
709 |
+
line-height: 1;
|
710 |
+
vertical-align: middle;
|
711 |
+
}
|
712 |
+
|
713 |
+
.dslca-module-edit-option-text-align-hook {
|
714 |
+
cursor: pointer;
|
715 |
+
opacity: 0.6;
|
716 |
+
line-height: 20px;
|
717 |
+
}
|
718 |
+
|
719 |
+
.dslca-module-edit-option-text-align-hook:hover {
|
720 |
+
opacity: 0.8;
|
721 |
+
}
|
722 |
+
|
723 |
+
.dslca-module-edit-option-text-align-hook.dslca-active {
|
724 |
+
opacity: 1;
|
725 |
+
}
|
726 |
+
|
727 |
+
.dslca-module-edit-options-tabs {
|
728 |
+
border-bottom: 1px solid #75a2e6;
|
729 |
+
padding-bottom: 17px;
|
730 |
+
}
|
731 |
+
|
732 |
+
.dslca-module-edit-options-tab-hook {
|
733 |
+
color: #a0c0f0;
|
734 |
+
cursor: pointer;
|
735 |
+
font-size: 11px;
|
736 |
+
font-weight: 900;
|
737 |
+
margin-right: 18px;
|
738 |
+
text-transform: uppercase;
|
739 |
+
}
|
740 |
+
|
741 |
+
.dslca-module-edit-options-tab-hook:hover,
|
742 |
+
.dslca-module-edit-options-tab-hook.dslca-active {
|
743 |
+
color: #fff;
|
744 |
+
}
|
745 |
+
|
746 |
+
/**
|
747 |
+
* Modules Section Edit
|
748 |
+
*/
|
749 |
+
|
750 |
+
.dslca-modules-section-edit {
|
751 |
+
overflow: hidden;
|
752 |
+
position: relative;
|
753 |
+
}
|
754 |
+
|
755 |
+
.dslca-modules-section-edit-options {
|
756 |
+
padding: 20px 15px;
|
757 |
+
overflow-x: hidden;
|
758 |
+
}
|
759 |
+
|
760 |
+
.dslca-modules-section-edit-option {
|
761 |
+
display: block;
|
762 |
+
float: left;
|
763 |
+
margin-bottom: 30px;
|
764 |
+
margin-right: 35px;
|
765 |
+
margin-top: 20px;
|
766 |
+
width: 235px;
|
767 |
+
position: relative;
|
768 |
+
}
|
769 |
+
|
770 |
+
.dslca-modules-section-edit-option-hidden {
|
771 |
+
display: none !important;
|
772 |
+
}
|
773 |
+
|
774 |
+
.dslca-modules-section-edit-option input[type="text"],
|
775 |
+
.dslca-modules-section-edit-option input[type="email"],
|
776 |
+
.dslca-modules-section-edit-option input[type="number"],
|
777 |
+
.dslca-modules-section-edit-option textarea,
|
778 |
+
.dslca-modules-section-edit-option select {
|
779 |
+
background: #6c9fed;
|
780 |
+
border: 1px solid #447bce;
|
781 |
+
width: 100%;
|
782 |
+
height: auto;
|
783 |
+
}
|
784 |
+
|
785 |
+
.dslca-modules-section-edit-option-text {
|
786 |
+
width: 235px;
|
787 |
+
}
|
788 |
+
|
789 |
+
.dslca-modules-section-edit-option-checkbox {
|
790 |
+
|
791 |
+
}
|
792 |
+
|
793 |
+
.dslca-modules-section-edit-option-textarea {
|
794 |
+
width: 500px;
|
795 |
+
}
|
796 |
+
|
797 |
+
.dslca-modules-section-edit-label {
|
798 |
+
color: #fff;
|
799 |
+
display: block;
|
800 |
+
font-family: "Open Sans";
|
801 |
+
font-weight: bold;
|
802 |
+
font-size: 12px;
|
803 |
+
line-height: 1;
|
804 |
+
margin-bottom: 10px;
|
805 |
+
text-transform: uppercase;
|
806 |
+
}
|
807 |
+
|
808 |
+
.dslca-modules-section-edit-field {
|
809 |
+
|
810 |
+
}
|
811 |
+
|
812 |
+
.dslca-modules-section-edit-option-checkbox {
|
813 |
+
width: auto;
|
814 |
+
}
|
815 |
+
|
816 |
+
.dslca-modules-section-edit-option-checkbox input[type="checkbox"] {
|
817 |
+
display: none;
|
818 |
+
}
|
819 |
+
|
820 |
+
.dslca-modules-section-edit-option-checkbox-wrapper {
|
821 |
+
background: #3b6fbe;
|
822 |
+
border-radius: 4px;
|
823 |
+
border: 1px solid #3565ad;
|
824 |
+
padding: 0 10px;
|
825 |
+
}
|
826 |
+
|
827 |
+
.dslca-modules-section-edit-option-checkbox-single {
|
828 |
+
margin: 6px;
|
829 |
+
display: inline-block;
|
830 |
+
}
|
831 |
+
|
832 |
+
.dslca-modules-section-edit-option-checkbox-hook {
|
833 |
+
cursor: pointer;
|
834 |
+
font-size: 12px;
|
835 |
+
font-weight: 600;
|
836 |
+
font-family: "Open Sans";
|
837 |
+
}
|
838 |
+
|
839 |
+
.dslca-modules-section-edit-option-checkbox-hook .dslca-icon {
|
840 |
+
margin-right: 10px;
|
841 |
+
}
|
842 |
+
|
843 |
+
.dslca-modules-section-settings {
|
844 |
+
display: none;
|
845 |
+
}
|
846 |
+
|
847 |
+
/**
|
848 |
+
* Templates
|
849 |
+
*/
|
850 |
+
|
851 |
+
.dslca-templates {
|
852 |
+
/* border-top: 1px solid #d8827d; */
|
853 |
+
position: relative;
|
854 |
+
}
|
855 |
+
|
856 |
+
.dslca-templates .dslca-go-to-section-hook,
|
857 |
+
.dslca-templates .dslca-open-modal-hook {
|
858 |
+
border-right: 1px solid #d57872;
|
859 |
+
color: #fff;
|
860 |
+
cursor: pointer;
|
861 |
+
display: block;
|
862 |
+
float: left;
|
863 |
+
font-family: "Oswald";
|
864 |
+
font-size: 15px;
|
865 |
+
line-height: 1;
|
866 |
+
padding: 20px 25px 21px 25px;
|
867 |
+
text-transform: uppercase;
|
868 |
+
}
|
869 |
+
|
870 |
+
.dslca-templates .dslca-go-to-section-hook .dslca-icon,
|
871 |
+
.dslca-templates .dslca-open-modal-hook .dslca-icon {
|
872 |
+
color: rgba( 255, 255, 255, 0.5);
|
873 |
+
margin-right: 9px;
|
874 |
+
vertical-align: top;
|
875 |
+
line-height: 14px;
|
876 |
+
}
|
877 |
+
|
878 |
+
/**
|
879 |
+
* Template Load
|
880 |
+
*/
|
881 |
+
|
882 |
+
.dslca-templates-load {
|
883 |
+
border-top: 1px solid #d8827d;
|
884 |
+
}
|
885 |
+
|
886 |
+
.dslca-template {
|
887 |
+
border-right: 1px solid #d57872;
|
888 |
+
color: #fff;
|
889 |
+
cursor: pointer;
|
890 |
+
display: block;
|
891 |
+
float: left;
|
892 |
+
font-family: "Oswald";
|
893 |
+
font-size: 15px;
|
894 |
+
line-height: 1;
|
895 |
+
padding: 20px 25px;
|
896 |
+
position: relative;
|
897 |
+
text-transform: uppercase;
|
898 |
+
}
|
899 |
+
|
900 |
+
.dslca-template-origin-user {
|
901 |
+
padding-right: 50px;
|
902 |
+
}
|
903 |
+
|
904 |
+
.dslca-template .dslca-delete-template-hook {
|
905 |
+
background: rgba( 0, 0, 0, 0.2 );
|
906 |
+
border-radius: 3px;
|
907 |
+
bottom: 15px;
|
908 |
+
padding: 3px 0;
|
909 |
+
position: absolute;
|
910 |
+
top: 15px;
|
911 |
+
right: 10px;
|
912 |
+
width: 25px;
|
913 |
+
text-align: center;
|
914 |
+
}
|
915 |
+
|
916 |
+
.dslca-template .dslca-delete-template-hook .dslca-icon {
|
917 |
+
|
918 |
+
}
|
919 |
+
|
920 |
+
/**
|
921 |
+
* Template Save
|
922 |
+
*/
|
923 |
+
|
924 |
+
.dslca-template-save-form input[type="text"] {
|
925 |
+
background: #fff;
|
926 |
+
border: 1px solid #d9dcdf;
|
927 |
+
border-radius: 3px;
|
928 |
+
color: #bfbfbf;
|
929 |
+
display: block;
|
930 |
+
margin-bottom: 15px;
|
931 |
+
width: 224px;
|
932 |
+
}
|
933 |
+
|
934 |
+
/**
|
935 |
+
* Template Import
|
936 |
+
*/
|
937 |
+
|
938 |
+
.dslca-template-import-form {
|
939 |
+
|
940 |
+
}
|
941 |
+
|
942 |
+
#dslca-import-code {
|
943 |
+
background: #fff;
|
944 |
+
border: 1px solid #d9dcdf;
|
945 |
+
border-radius: 3px;
|
946 |
+
color: #bfbfbf;
|
947 |
+
display: block;
|
948 |
+
height: 150px;
|
949 |
+
margin-bottom: 15px;
|
950 |
+
overflow: hidden;
|
951 |
+
width: 224px;
|
952 |
+
}
|
953 |
+
|
954 |
+
/**
|
955 |
+
* Template Export
|
956 |
+
*/
|
957 |
+
|
958 |
+
.dslca-template-export-form {
|
959 |
+
|
960 |
+
}
|
961 |
+
|
962 |
+
#dslca-export-code {
|
963 |
+
background: #fff;
|
964 |
+
border: 1px solid #d9dcdf;
|
965 |
+
border-radius: 3px;
|
966 |
+
color: #bfbfbf;
|
967 |
+
display: block;
|
968 |
+
height: 150px;
|
969 |
+
margin-bottom: 15px;
|
970 |
+
overflow: hidden;
|
971 |
+
width: 224px;
|
972 |
+
}
|
973 |
+
|
974 |
+
.dslca-template-export-form .dslca-close-modal-hook {
|
975 |
+
display: block;
|
976 |
+
width: auto;
|
977 |
+
}
|
978 |
+
|
979 |
+
/**/
|
980 |
+
|
981 |
+
.dslca-section-actions {
|
982 |
+
|
983 |
+
}
|
984 |
+
|
985 |
+
.dslca-go-to-modules-hook {
|
986 |
+
|
987 |
+
}
|
988 |
+
|
989 |
+
|
990 |
+
.dslca-switch {
|
991 |
+
background: #1783bc;
|
992 |
+
border-radius: 50%;
|
993 |
+
bottom: -50px;
|
994 |
+
cursor: pointer;
|
995 |
+
height: 100px;
|
996 |
+
left: 45%;
|
997 |
+
position: fixed;
|
998 |
+
width: 100px;
|
999 |
+
}
|
1000 |
+
|
1001 |
+
.dslca-submit {
|
1002 |
+
background: #4cc12d;
|
1003 |
+
border-radius: 3px;
|
1004 |
+
color: #fff;
|
1005 |
+
cursor: pointer;
|
1006 |
+
display: inline-block;
|
1007 |
+
font-family: "Open Sans";
|
1008 |
+
font-size: 14px;
|
1009 |
+
font-weight: bold;
|
1010 |
+
line-height: 34px;
|
1011 |
+
position: relative;
|
1012 |
+
text-align: center;
|
1013 |
+
width: 110px;
|
1014 |
+
}
|
1015 |
+
|
1016 |
+
.dslca-submit-secondary {
|
1017 |
+
background: #5890e5;
|
1018 |
+
border-radius: 3px;
|
1019 |
+
color: #fff;
|
1020 |
+
cursor: pointer;
|
1021 |
+
display: inline-block;
|
1022 |
+
font-family: "Open Sans";
|
1023 |
+
font-size: 14px;
|
1024 |
+
font-weight: bold;
|
1025 |
+
line-height: 34px;
|
1026 |
+
text-align: center;
|
1027 |
+
width: 110px;
|
1028 |
+
}
|
1029 |
+
|
1030 |
+
.dslca-cancel {
|
1031 |
+
background: #e55f5f;
|
1032 |
+
border-radius: 3px;
|
1033 |
+
color: #fff;
|
1034 |
+
cursor: pointer;
|
1035 |
+
display: inline-block;
|
1036 |
+
font-family: "Open Sans";
|
1037 |
+
font-size: 14px;
|
1038 |
+
font-weight: bold;
|
1039 |
+
line-height: 34px;
|
1040 |
+
text-align: center;
|
1041 |
+
width: 110px;
|
1042 |
+
}
|
1043 |
+
|
1044 |
+
.dslca-module-loading {
|
1045 |
+
background: #cee1f2;
|
1046 |
+
border-radius: 6px;
|
1047 |
+
display: none;
|
1048 |
+
height: 6px;
|
1049 |
+
left: 50%;
|
1050 |
+
position: absolute;
|
1051 |
+
top: 55px;
|
1052 |
+
overflow: hidden;
|
1053 |
+
width: 236px;
|
1054 |
+
margin-left: -118px;
|
1055 |
+
}
|
1056 |
+
|
1057 |
+
.dslc-modules-area.dslc-2-col .dslca-module-loading,
|
1058 |
+
.dslc-modules-area.dslc-1-col .dslca-module-loading {
|
1059 |
+
width: 60px;
|
1060 |
+
margin-left: -30px;
|
1061 |
+
}
|
1062 |
+
|
1063 |
+
.dslca-modules-area-loading {
|
1064 |
+
top: auto;
|
1065 |
+
bottom: 35px;
|
1066 |
+
position: relative;
|
1067 |
+
}
|
1068 |
+
|
1069 |
+
.dslc-modules-area-not-empty .dslca-module-loading {
|
1070 |
+
top: auto;
|
1071 |
+
bottom: 30px;
|
1072 |
+
}
|
1073 |
+
|
1074 |
+
.dslca-module-loading-inner {
|
1075 |
+
background: #74a8e1;
|
1076 |
+
border-radius: 6px;
|
1077 |
+
height: 6px;
|
1078 |
+
width: 0%;
|
1079 |
+
}
|
1080 |
+
|
1081 |
+
.dslca-module-reloading {
|
1082 |
+
position: absolute;
|
1083 |
+
left: 0;
|
1084 |
+
top: 0;
|
1085 |
+
right: 0;
|
1086 |
+
bottom: 0;
|
1087 |
+
background: rgba( 255, 255, 255, 0.8 );
|
1088 |
+
color: #5890e5;
|
1089 |
+
}
|
1090 |
+
|
1091 |
+
.dslca-module-reloading .dslca-icon {
|
1092 |
+
font-size: 20px;
|
1093 |
+
position: absolute;
|
1094 |
+
top: 50%;
|
1095 |
+
left: 50%;
|
1096 |
+
margin-left: -10px;
|
1097 |
+
}
|
1098 |
+
|
1099 |
+
.dslca-module-placeholder {
|
1100 |
+
position: relative;
|
1101 |
+
background: #5890e5;
|
1102 |
+
height: 2px;
|
1103 |
+
float: left;
|
1104 |
+
}
|
1105 |
+
|
1106 |
+
.dslca-placeholder-help-text {
|
1107 |
+
position: absolute;
|
1108 |
+
left: 0;
|
1109 |
+
bottom: 0;
|
1110 |
+
right: 0;
|
1111 |
+
text-align: center;
|
1112 |
+
}
|
1113 |
+
|
1114 |
+
.dslca-placeholder-help-text-inner {
|
1115 |
+
background: #5890e5;
|
1116 |
+
border-radius: 3px 3px 0 0;
|
1117 |
+
color: #fff;
|
1118 |
+
font-family: "Open Sans";
|
1119 |
+
font-style: 12px;
|
1120 |
+
font-weight: bold;
|
1121 |
+
text-transform: uppercase;
|
1122 |
+
display: inline-block;
|
1123 |
+
padding: 5px 10px;
|
1124 |
+
}
|
1125 |
+
|
1126 |
+
.dslc-modules-area-empty .dslca-module-placeholder {
|
1127 |
+
display: none;
|
1128 |
+
}
|
1129 |
+
|
1130 |
+
.dslc-modules-area-empty {
|
1131 |
+
margin-top: 15px;
|
1132 |
+
margin-bottom: 15px;
|
1133 |
+
}
|
1134 |
+
|
1135 |
+
.dslc-module-front {
|
1136 |
+
outline: 2px dashed transparent;
|
1137 |
+
outline-offset: -1px;
|
1138 |
+
}
|
1139 |
+
|
1140 |
+
.dslc-modules-area:hover .dslc-module-front {
|
1141 |
+
outline-color: #d3d3d3;
|
1142 |
+
}
|
1143 |
+
|
1144 |
+
.dslc-modules-area:hover .dslc-module-front:hover {
|
1145 |
+
outline-color: #5890e5;
|
1146 |
+
}
|
1147 |
+
|
1148 |
+
.dslc-modules-area.dslca-options-hovered .dslc-module-front {
|
1149 |
+
outline-color: transparent;
|
1150 |
+
border-color: transparent;
|
1151 |
+
}
|
1152 |
+
|
1153 |
+
.windows.mozilla .dslc-module-front {
|
1154 |
+
outline: 0;
|
1155 |
+
}
|
1156 |
+
|
1157 |
+
.windows.mozilla .dslc-modules-area:hover .dslc-module-front {
|
1158 |
+
box-shadow: 0 0 0 2px #d3d3d3;
|
1159 |
+
}
|
1160 |
+
|
1161 |
+
.windows.mozilla .dslc-modules-area:hover .dslc-module-front:hover {
|
1162 |
+
box-shadow: 0 0 0 2px #5890e5;
|
1163 |
+
}
|
1164 |
+
|
1165 |
+
.windows.mozilla .dslc-modules-area.dslca-options-hovered .dslc-module-front {
|
1166 |
+
outline: 0;
|
1167 |
+
box-shadow: none;
|
1168 |
+
}
|
1169 |
+
|
1170 |
+
.dslc-modules-area {
|
1171 |
+
outline: 0;
|
1172 |
+
}
|
1173 |
+
|
1174 |
+
.dslc-modules-area.dslca-options-hovered {
|
1175 |
+
outline: 2px dashed #5890e5;
|
1176 |
+
}
|
1177 |
+
|
1178 |
+
.dslc-modules-area-empty.dslca-options-hovered {
|
1179 |
+
outline: none !important;
|
1180 |
+
}
|
1181 |
+
|
1182 |
+
.windows.mozilla .dslc-modules-area.dslca-options-hovered {
|
1183 |
+
outline: 0;
|
1184 |
+
box-shadow: 0 0 0 2px #5890e5;
|
1185 |
+
}
|
1186 |
+
|
1187 |
+
.dslc-module-front.ui-sortable-helper {
|
1188 |
+
background: #5890e5;
|
1189 |
+
border-radius: 3px;
|
1190 |
+
height: 0 !important;
|
1191 |
+
width: 0 !important;
|
1192 |
+
overflow: hidden;
|
1193 |
+
opacity: 1 !important;
|
1194 |
+
cursor: move;
|
1195 |
+
padding: 0 !important;
|
1196 |
+
border: 0 !important;
|
1197 |
+
outline: none !important;
|
1198 |
+
}
|
1199 |
+
|
1200 |
+
.dslc-module-front.ui-sortable-helper * {
|
1201 |
+
opacity: 0;
|
1202 |
+
}
|
1203 |
+
|
1204 |
+
.dslc-module-front .dslc-sortable-helper-icon {
|
1205 |
+
display: none;
|
1206 |
+
position: absolute;
|
1207 |
+
left: 25px;
|
1208 |
+
top: 25px;
|
1209 |
+
color: rgba( 255, 255, 255, 0.5);
|
1210 |
+
}
|
1211 |
+
|
1212 |
+
.dslc-module-front.ui-sortable-helper .dslc-sortable-helper-icon {
|
1213 |
+
display: block;
|
1214 |
+
opacity: 1;
|
1215 |
+
}
|
1216 |
+
|
1217 |
+
.dslc-modules-area.ui-sortable-helper {
|
1218 |
+
cursor: move;
|
1219 |
+
border: 0 !important;
|
1220 |
+
outline: 0 !important;
|
1221 |
+
}
|
1222 |
+
|
1223 |
+
.dslc-modules-area.ui-sortable-helper * {
|
1224 |
+
opacity: 0;
|
1225 |
+
}
|
1226 |
+
|
1227 |
+
.dslc-modules-area.ui-sortable-helper {
|
1228 |
+
|
1229 |
+
}
|
1230 |
+
|
1231 |
+
.dslc-modules-section.ui-sortable-helper {
|
1232 |
+
max-height: 0px !important;
|
1233 |
+
width: 100% !important;
|
1234 |
+
overflow: hidden !important;
|
1235 |
+
opacity: 0 !important;
|
1236 |
+
padding: 0 !important;
|
1237 |
+
outline: 0 !important;
|
1238 |
+
border: 0 !important;
|
1239 |
+
}
|
1240 |
+
|
1241 |
+
.dslc-modules-section.ui-sortable-helper * {
|
1242 |
+
/* opacity: 0; */
|
1243 |
+
}
|
1244 |
+
|
1245 |
+
/**
|
1246 |
+
* Save Composer (confirm changes)
|
1247 |
+
*/
|
1248 |
+
|
1249 |
+
.dslca-save-composer {
|
1250 |
+
background: #313131;
|
1251 |
+
border-radius: 3px 6px 6px 3px;
|
1252 |
+
cursor: pointer;
|
1253 |
+
font-size: 11px;
|
1254 |
+
font-family: "Open Sans";
|
1255 |
+
font-weight: 900;
|
1256 |
+
float: left;
|
1257 |
+
line-height: 1;
|
1258 |
+
opacity: 0;
|
1259 |
+
display: none;
|
1260 |
+
padding: 11px 12px;
|
1261 |
+
padding-right: 43px;
|
1262 |
+
text-transform: uppercase;
|
1263 |
+
text-decoration: none;
|
1264 |
+
position: relative;
|
1265 |
+
}
|
1266 |
+
|
1267 |
+
.dslca-save-composer-helptext {
|
1268 |
+
color: #adadad;
|
1269 |
+
white-space: nowrap;
|
1270 |
+
}
|
1271 |
+
|
1272 |
+
.dslca-save-composer .dslca-save-composer-icon {
|
1273 |
+
background: #78ca4f;
|
1274 |
+
bottom: 0;
|
1275 |
+
border-radius: 0 3px 3px 0;
|
1276 |
+
border-top: 1px solid #b8e3a2;
|
1277 |
+
cursor: pointer;
|
1278 |
+
color: #fff;
|
1279 |
+
display: block;
|
1280 |
+
position: absolute;
|
1281 |
+
right: 0;
|
1282 |
+
top: -1px;
|
1283 |
+
text-align: center;
|
1284 |
+
width: 30px;
|
1285 |
+
}
|
1286 |
+
|
1287 |
+
.dslca-save-composer .dslca-save-composer-icon .dslca-icon {
|
1288 |
+
color: #fff;
|
1289 |
+
margin: 0;
|
1290 |
+
position: relative;
|
1291 |
+
top: 10px;
|
1292 |
+
}
|
1293 |
+
|
1294 |
+
/**
|
1295 |
+
* Save Draft (confirm changes)
|
1296 |
+
*/
|
1297 |
+
|
1298 |
+
.dslca-save-draft-composer {
|
1299 |
+
background: #313131;
|
1300 |
+
border-radius: 3px 6px 6px 3px;
|
1301 |
+
cursor: pointer;
|
1302 |
+
font-size: 11px;
|
1303 |
+
font-family: "Open Sans";
|
1304 |
+
font-weight: 900;
|
1305 |
+
float: left;
|
1306 |
+
line-height: 1;
|
1307 |
+
opacity: 0;
|
1308 |
+
display: none;
|
1309 |
+
padding: 11px 12px;
|
1310 |
+
padding-right: 43px;
|
1311 |
+
text-transform: uppercase;
|
1312 |
+
text-decoration: none;
|
1313 |
+
position: relative;
|
1314 |
+
margin-left: 5px;
|
1315 |
+
}
|
1316 |
+
|
1317 |
+
.dslca-save-draft-composer-helptext {
|
1318 |
+
color: #adadad;
|
1319 |
+
white-space: nowrap;
|
1320 |
+
}
|
1321 |
+
|
1322 |
+
.dslca-save-draft-composer .dslca-save-draft-composer-icon {
|
1323 |
+
background: #78ca4f;
|
1324 |
+
bottom: 0;
|
1325 |
+
border-radius: 0 3px 3px 0;
|
1326 |
+
border-top: 1px solid #b8e3a2;
|
1327 |
+
cursor: pointer;
|
1328 |
+
color: #fff;
|
1329 |
+
display: block;
|
1330 |
+
position: absolute;
|
1331 |
+
right: 0;
|
1332 |
+
top: -1px;
|
1333 |
+
text-align: center;
|
1334 |
+
width: 30px;
|
1335 |
+
}
|
1336 |
+
|
1337 |
+
.dslca-save-draft-composer .dslca-save-draft-composer-icon .dslca-icon {
|
1338 |
+
color: #fff;
|
1339 |
+
margin: 0;
|
1340 |
+
position: relative;
|
1341 |
+
top: 10px;
|
1342 |
+
}
|
1343 |
+
|
1344 |
+
/**
|
1345 |
+
* No Content (empty module area)
|
1346 |
+
*/
|
1347 |
+
|
1348 |
+
.dslca-no-content {
|
1349 |
+
display: none;
|
1350 |
+
border: 2px dashed #5890e5;
|
1351 |
+
padding: 35px 10px;
|
1352 |
+
text-align: center;
|
1353 |
+
}
|
1354 |
+
|
1355 |
+
.dslc-modules-area-empty .dslca-no-content {
|
1356 |
+
display: block;
|
1357 |
+
}
|
1358 |
+
|
1359 |
+
.dslca-no-content-primary {
|
1360 |
+
color: #5890e5;
|
1361 |
+
display: inline-block;
|
1362 |
+
background: rgba( 255, 255, 255, 0.75 );
|
1363 |
+
font-size: 15px;
|
1364 |
+
font-family: "Oswald";
|
1365 |
+
line-height: 1;
|
1366 |
+
margin: 0;
|
1367 |
+
text-transform: uppercase;
|
1368 |
+
padding: 13px;
|
1369 |
+
border-radius: 3px;
|
1370 |
+
}
|
1371 |
+
|
1372 |
+
.dslca-no-content .dslca-icon {
|
1373 |
+
margin-right: 10px;
|
1374 |
+
}
|
1375 |
+
|
1376 |
+
.dslc-modules-area.dslc-2-col .dslca-no-content-help-text,
|
1377 |
+
.dslc-modules-area.dslc-1-col .dslca-no-content-help-text {
|
1378 |
+
display: none;
|
1379 |
+
}
|
1380 |
+
|
1381 |
+
.dslc-modules-area.dslc-2-col .dslca-icon,
|
1382 |
+
.dslc-modules-area.dslc-1-col .dslca-icon {
|
1383 |
+
margin-right: 0;
|
1384 |
+
}
|
1385 |
+
|
1386 |
+
.dslca-templates-actions {
|
1387 |
+
background: rgba( 0, 0, 0, 0.3 );
|
1388 |
+
position: absolute;
|
1389 |
+
bottom: 0;
|
1390 |
+
left: 0;
|
1391 |
+
right: 0;
|
1392 |
+
}
|
1393 |
+
|
1394 |
+
/**
|
1395 |
+
* Module Section
|
1396 |
+
*/
|
1397 |
+
|
1398 |
+
/* Button */
|
1399 |
+
|
1400 |
+
.dslca-add-modules-section {
|
1401 |
+
text-align: center;
|
1402 |
+
margin-top: 30px;
|
1403 |
+
width: 1180px;
|
1404 |
+
margin-left: auto;
|
1405 |
+
margin-right: auto;
|
1406 |
+
max-width: 100%;
|
1407 |
+
margin-bottom: 30px;
|
1408 |
+
overflow: hidden;
|
1409 |
+
}
|
1410 |
+
|
1411 |
+
.dslca-add-modules-section-hook {
|
1412 |
+
background: #e5855f;
|
1413 |
+
border: 1px solid #d97a54;
|
1414 |
+
border-radius: 3px;
|
1415 |
+
color: #fff;
|
1416 |
+
cursor: pointer;
|
1417 |
+
display: block;
|
1418 |
+
font-size: 15px;
|
1419 |
+
font-family: "Oswald";
|
1420 |
+
float: left;
|
1421 |
+
line-height: 1;
|
1422 |
+
padding: 14px 0;
|
1423 |
+
text-transform: uppercase;
|
1424 |
+
text-decoration: none;
|
1425 |
+
width: 80%;
|
1426 |
+
}
|
1427 |
+
|
1428 |
+
.dslca-add-modules-section .dslca-icon {
|
1429 |
+
margin-right: 10px;
|
1430 |
+
color: rgba( 255, 255, 255, 0.5 );
|
1431 |
+
}
|
1432 |
+
|
1433 |
+
.dslca-import-modules-section-hook {
|
1434 |
+
background: #e5855f;
|
1435 |
+
border: 1px solid #d97a54;
|
1436 |
+
border-radius: 3px;
|
1437 |
+
color: #fff;
|
1438 |
+
cursor: pointer;
|
1439 |
+
display: block;
|
1440 |
+
font-size: 15px;
|
1441 |
+
font-family: "Oswald";
|
1442 |
+
float: right;
|
1443 |
+
line-height: 1;
|
1444 |
+
padding: 14px 0;
|
1445 |
+
text-transform: uppercase;
|
1446 |
+
text-decoration: none;
|
1447 |
+
width: 18%;
|
1448 |
+
}
|
1449 |
+
|
1450 |
+
.dslca-import-modules-section .dslca-icon {
|
1451 |
+
margin-right: 10px;
|
1452 |
+
color: rgba( 255, 255, 255, 0.5 );
|
1453 |
+
}
|
1454 |
+
|
1455 |
+
/* Main */
|
1456 |
+
|
1457 |
+
.dslc-modules-section {
|
1458 |
+
outline: 2px dashed transparent;
|
1459 |
+
position: relative;
|
1460 |
+
}
|
1461 |
+
|
1462 |
+
.dslc-modules-section:hover {
|
1463 |
+
outline-color: #eabba9;
|
1464 |
+
}
|
1465 |
+
|
1466 |
+
.windows.mozilla .dslc-modules-section {
|
1467 |
+
outline: 0;
|
1468 |
+
}
|
1469 |
+
|
1470 |
+
.windows.mozilla .dslc-modules-section:hover {
|
1471 |
+
box-shadow: 0 0 0 2px #eabba9;
|
1472 |
+
}
|
1473 |
+
|
1474 |
+
.dslc-modules-section-inner {
|
1475 |
+
min-height: 50px;
|
1476 |
+
}
|
1477 |
+
|
1478 |
+
/* Manage */
|
1479 |
+
|
1480 |
+
.dslca-modules-section-manage {
|
1481 |
+
bottom: 0;
|
1482 |
+
left: 0;
|
1483 |
+
right: 0;
|
1484 |
+
visibility: hidden;
|
1485 |
+
margin-bottom: -16px;
|
1486 |
+
padding-right: 0;
|
1487 |
+
position: absolute;
|
1488 |
+
z-index: 99998;
|
1489 |
+
width: 100%;
|
1490 |
+
text-align: center;
|
1491 |
+
}
|
1492 |
+
|
1493 |
+
.dslca-modules-section-manage:hover {
|
1494 |
+
z-index: 99999;
|
1495 |
+
}
|
1496 |
+
|
1497 |
+
.dslc-modules-section:hover .dslca-modules-section-manage {
|
1498 |
+
visibility: visible !important;
|
1499 |
+
}
|
1500 |
+
|
1501 |
+
.dslca-modules-section-manage-inner {
|
1502 |
+
background: #e5855f;
|
1503 |
+
border: 1px solid #da7a50;
|
1504 |
+
border-radius: 3px;
|
1505 |
+
display: inline-block;
|
1506 |
+
padding: 3px;
|
1507 |
+
position: relative;
|
1508 |
+
z-index: 99999;
|
1509 |
+
overflow: hidden;
|
1510 |
+
vertical-align: middle;
|
1511 |
+
opacity: 0;
|
1512 |
+
}
|
1513 |
+
|
1514 |
+
.dslca-modules-section-manage .dslca-manage-action {
|
1515 |
+
border-radius: 3px;
|
1516 |
+
color: #fff;
|
1517 |
+
display: inline-block;
|
1518 |
+
height: 18px;
|
1519 |
+
text-decoration: none;
|
1520 |
+
font-size: 15px;
|
1521 |
+
line-height: 15px;
|
1522 |
+
width: 18px;
|
1523 |
+
margin-right: 1px;
|
1524 |
+
text-align: center;
|
1525 |
+
vertical-align: middle;
|
1526 |
+
}
|
1527 |
+
|
1528 |
+
.dslca-modules-section-manage .dslca-icon {
|
1529 |
+
font-size: 12px;
|
1530 |
+
position: relative;
|
1531 |
+
top: -1px;
|
1532 |
+
}
|
1533 |
+
|
1534 |
+
/* Placeholder */
|
1535 |
+
|
1536 |
+
.dslca-modules-section-placeholder {
|
1537 |
+
position: relative;
|
1538 |
+
background: #5890e5;
|
1539 |
+
height: 2px;
|
1540 |
+
width: 100%;
|
1541 |
+
margin: 10px 0;
|
1542 |
+
}
|
1543 |
+
|
1544 |
+
.dslca-placeholder-help-text {
|
1545 |
+
position: absolute;
|
1546 |
+
left: 0;
|
1547 |
+
bottom: 0;
|
1548 |
+
right: 0;
|
1549 |
+
text-align: center;
|
1550 |
+
}
|
1551 |
+
|
1552 |
+
.dslca-placeholder-help-text-inner {
|
1553 |
+
background: #5890e5;
|
1554 |
+
border-radius: 3px 3px 0 0;
|
1555 |
+
color: #fff;
|
1556 |
+
font-family: "Open Sans";
|
1557 |
+
font-style: 12px;
|
1558 |
+
font-weight: bold;
|
1559 |
+
text-transform: uppercase;
|
1560 |
+
display: inline-block;
|
1561 |
+
padding: 5px 10px;
|
1562 |
+
}
|
1563 |
+
|
1564 |
+
|
1565 |
+
/**
|
1566 |
+
* Module Area
|
1567 |
+
*/
|
1568 |
+
|
1569 |
+
.dslca-add-modules-area {
|
1570 |
+
|
1571 |
+
}
|
1572 |
+
|
1573 |
+
.dslca-add-modules-area-hook {
|
1574 |
+
background: #5fb7e5;
|
1575 |
+
border-radius: 3px;
|
1576 |
+
color: #fff;
|
1577 |
+
cursor: pointer;
|
1578 |
+
display: inline-block;
|
1579 |
+
font-size: 11px;
|
1580 |
+
font-family: "Open Sans";
|
1581 |
+
font-weight: bold;
|
1582 |
+
line-height: 1;
|
1583 |
+
margin-right: 7px;
|
1584 |
+
padding: 7px 10px;
|
1585 |
+
text-transform: uppercase;
|
1586 |
+
text-decoration: none;
|
1587 |
+
vertical-align: middle;
|
1588 |
+
}
|
1589 |
+
|
1590 |
+
.dslca-add-modules-area-hook:hover {
|
1591 |
+
color: #fff;
|
1592 |
+
}
|
1593 |
+
|
1594 |
+
.dslca-add-modules-area-hook .dslca-icon {
|
1595 |
+
margin-right: 5px;
|
1596 |
+
color: rgba( 255, 255, 255, 0.5 );
|
1597 |
+
position: relative;
|
1598 |
+
top: 1px;
|
1599 |
+
}
|
1600 |
+
|
1601 |
+
.dslc-modules-area {
|
1602 |
+
position: relative;
|
1603 |
+
}
|
1604 |
+
|
1605 |
+
.dslca-modules-area-drag-in-progress .dslc-modules-area {
|
1606 |
+
margin-right: 1% !important;
|
1607 |
+
clear: none;
|
1608 |
+
}
|
1609 |
+
|
1610 |
+
.dslca-modules-area-manage {
|
1611 |
+
visibility: hidden;
|
1612 |
+
opacity: 0.5;
|
1613 |
+
-webkit-transition: opacity 0.2s ease-in-out;
|
1614 |
+
-moz-transition: opacity 0.2s ease-in-out;
|
1615 |
+
transition: opacity 0.2s ease-in-out;
|
1616 |
+
}
|
1617 |
+
|
1618 |
+
.dslc-modules-area:hover .dslca-modules-area-manage {
|
1619 |
+
visibility: visible;
|
1620 |
+
opacity: 0.5;
|
1621 |
+
}
|
1622 |
+
|
1623 |
+
.dslc-modules-area .dslca-modules-area-manage:hover {
|
1624 |
+
opacity: 1;
|
1625 |
+
}
|
1626 |
+
|
1627 |
+
.dslca-modules-area-manage {
|
1628 |
+
bottom: 0;
|
1629 |
+
position: absolute;
|
1630 |
+
left: auto;
|
1631 |
+
right: 100%;
|
1632 |
+
top: 0;
|
1633 |
+
margin-right: -2px;
|
1634 |
+
text-align: center;
|
1635 |
+
z-index: 99999;
|
1636 |
+
}
|
1637 |
+
|
1638 |
+
.dslca-modules-area-manage.dslca-horizontal {
|
1639 |
+
top: 50%;
|
1640 |
+
}
|
1641 |
+
|
1642 |
+
.dslc-modules-section.dslc-full .dslca-modules-area-manage {
|
1643 |
+
right: auto;
|
1644 |
+
left: 0;
|
1645 |
+
margin-right: 0;
|
1646 |
+
}
|
1647 |
+
|
1648 |
+
.dslca-modules-area-manage-inner {
|
1649 |
+
background: #5890e5;
|
1650 |
+
border: 1px solid #4f86d9;
|
1651 |
+
border-radius: 3px 0 0 3px;
|
1652 |
+
border-right-width: 0;
|
1653 |
+
display: inline-block;
|
1654 |
+
margin-top: 30px;
|
1655 |
+
padding: 4px;
|
1656 |
+
position: relative;
|
1657 |
+
z-index: 99999;
|
1658 |
+
}
|
1659 |
+
|
1660 |
+
.windows.mozilla .dslca-modules-area-manage-inner {
|
1661 |
+
margin-right: 2px;
|
1662 |
+
}
|
1663 |
+
|
1664 |
+
.dslca-horizontal .dslca-modules-area-manage-inner {
|
1665 |
+
margin-top: -47px;
|
1666 |
+
border-radius: 3px;
|
1667 |
+
}
|
1668 |
+
|
1669 |
+
.dslc-modules-section.dslc-full .dslca-modules-area-manage-inner {
|
1670 |
+
border-radius: 0 3px 3px 0;
|
1671 |
+
}
|
1672 |
+
|
1673 |
+
#dslc-content .dslca-modules-area-manage .dslca-manage-action {
|
1674 |
+
border-radius: 3px;
|
1675 |
+
color: #fff;
|
1676 |
+
display: block;
|
1677 |
+
height: 18px;
|
1678 |
+
text-decoration: none;
|
1679 |
+
font-size: 12px;
|
1680 |
+
line-height: 18px;
|
1681 |
+
margin-top: 4px;
|
1682 |
+
width: 18px;
|
1683 |
+
text-align: center;
|
1684 |
+
}
|
1685 |
+
|
1686 |
+
#dslc-content .dslca-modules-area-manage .dslca-manage-action:first-child {
|
1687 |
+
margin-left: 0;
|
1688 |
+
margin-top: 0;
|
1689 |
+
}
|
1690 |
+
|
1691 |
+
#dslc-content .dslca-modules-area-manage .dslca-manage-action:hover {
|
1692 |
+
color: #fff;
|
1693 |
+
}
|
1694 |
+
|
1695 |
+
#dslc-content .dslca-modules-area-manage .dslca-change-width-modules-area-hook {
|
1696 |
+
position: relative;
|
1697 |
+
}
|
1698 |
+
|
1699 |
+
#dslc-content .dslca-modules-area-manage .dslca-icon {
|
1700 |
+
font-size: 12px;
|
1701 |
+
}
|
1702 |
+
|
1703 |
+
.dslca-change-width-modules-area-options,
|
1704 |
+
.dslca-change-width-module-options {
|
1705 |
+
background: #fff;
|
1706 |
+
border: 1px solid #d9dcdf;
|
1707 |
+
border-radius: 3px;
|
1708 |
+
display: none;
|
1709 |
+
padding: 7px;
|
1710 |
+
position: absolute;
|
1711 |
+
top: -10px;
|
1712 |
+
left: 22px;
|
1713 |
+
z-index: 99999;
|
1714 |
+
width: 115px;
|
1715 |
+
}
|
1716 |
+
|
1717 |
+
.dslca-change-width-module-options {
|
1718 |
+
top: 30px;
|
1719 |
+
}
|
1720 |
+
|
1721 |
+
.dslca-change-width-modules-area-options:after,
|
1722 |
+
.dslca-change-width-modules-area-options:before {
|
1723 |
+
right: 100%;
|
1724 |
+
top: 18px;
|
1725 |
+
border: solid transparent;
|
1726 |
+
content: " ";
|
1727 |
+
height: 0;
|
1728 |
+
width: 0;
|
1729 |
+
position: absolute;
|
1730 |
+
pointer-events: none;
|
1731 |
+
}
|
1732 |
+
|
1733 |
+
.dslca-change-width-modules-area-options:after {
|
1734 |
+
/*
|
1735 |
+
border-color: rgba(255, 255, 255, 0);
|
1736 |
+
border-bottom-color: #ffffff;
|
1737 |
+
border-width: 10px;
|
1738 |
+
left: 50%;
|
1739 |
+
margin-left: -10px;
|
1740 |
+
*/
|
1741 |
+
border-color: rgba(255, 255, 255, 0);
|
1742 |
+
border-right-color: #fff;
|
1743 |
+
border-width: 10px;
|
1744 |
+
margin-top: -10px;
|
1745 |
+
}
|
1746 |
+
|
1747 |
+
.dslca-change-width-modules-area-options:before {
|
1748 |
+
/*
|
1749 |
+
border-color: rgba(205, 205, 205, 0);
|
1750 |
+
border-bottom-color: #cdcdcd;
|
1751 |
+
border-width: 11px;
|
1752 |
+
left: 50%;
|
1753 |
+
margin-left: -11px;
|
1754 |
+
*/
|
1755 |
+
border-color: rgba(205, 205, 205, 0);
|
1756 |
+
border-right-color: #cdcdcd;
|
1757 |
+
border-width: 11px;
|
1758 |
+
margin-top: -11px;
|
1759 |
+
}
|
1760 |
+
|
1761 |
+
.dslca-change-width-modules-area-options span,
|
1762 |
+
.dslca-change-width-module-options span {
|
1763 |
+
background: #4785db;
|
1764 |
+
border-radius: 3px;
|
1765 |
+
display: inline-block;
|
1766 |
+
font-family: "Open Sans";
|
1767 |
+
font-size: 13px;
|
1768 |
+
font-weight: bold;
|
1769 |
+
line-height: 24px;
|
1770 |
+
max-width: 44px;
|
1771 |
+
margin: 1px;
|
1772 |
+
text-align: center;
|
1773 |
+
width: 44px;
|
1774 |
+
}
|
1775 |
+
|
1776 |
+
.dslca-change-width-modules-area-options span.dslca-active-width,
|
1777 |
+
.dslca-change-width-module-options span.dslca-active-width {
|
1778 |
+
background: #3b6fbe;
|
1779 |
+
}
|
1780 |
+
|
1781 |
+
/**
|
1782 |
+
* Modules Area Manage - Empty
|
1783 |
+
*/
|
1784 |
+
|
1785 |
+
.dslc-modules-area-empty .dslca-modules-area-manage {
|
1786 |
+
top: 12px;
|
1787 |
+
bottom: auto;
|
1788 |
+
}
|
1789 |
+
|
1790 |
+
.dslc-modules-area-empty .dslca-modules-area-manage-inner {
|
1791 |
+
margin-top: 0;
|
1792 |
+
}
|
1793 |
+
|
1794 |
+
|
1795 |
+
|
1796 |
+
.dslca-modules-area-placeholder {
|
1797 |
+
position: relative;
|
1798 |
+
background: #5890e5;
|
1799 |
+
height: 2px;
|
1800 |
+
margin: 10px;
|
1801 |
+
float: left;
|
1802 |
+
}
|
1803 |
+
|
1804 |
+
body.rtl .dslca-modules-area-placeholder {
|
1805 |
+
float: right;
|
1806 |
+
}
|
1807 |
+
|
1808 |
+
/**
|
1809 |
+
* Module - Management
|
1810 |
+
*/
|
1811 |
+
|
1812 |
+
.dslca-module-manage {
|
1813 |
+
display: block;
|
1814 |
+
position: absolute;
|
1815 |
+
left: 50%;
|
1816 |
+
margin-left: -47px;
|
1817 |
+
top: -2px;
|
1818 |
+
text-align: center;
|
1819 |
+
z-index: 99999;
|
1820 |
+
overflow: hidden;
|
1821 |
+
}
|
1822 |
+
|
1823 |
+
.dslca-module-manage.dslca-module-manage-change-width-active {
|
1824 |
+
z-index: 100000;
|
1825 |
+
}
|
1826 |
+
|
1827 |
+
.dslca-module-manage-inner {
|
1828 |
+
background: #5890e5;
|
1829 |
+
border: 1px solid #4f86d9;
|
1830 |
+
border-top: 0;
|
1831 |
+
border-radius: 0 0 3px 3px;
|
1832 |
+
display: inline-block;
|
1833 |
+
padding: 3px;
|
1834 |
+
position: relative;
|
1835 |
+
top: -50px;
|
1836 |
+
}
|
1837 |
+
|
1838 |
+
.dslca-module-manage-inner.dslca-dev-mode {
|
1839 |
+
background: #444;
|
1840 |
+
border-color: #333;
|
1841 |
+
}
|
1842 |
+
|
1843 |
+
#dslc-content .dslca-module-manage .dslca-module-manage-hook {
|
1844 |
+
border-radius: 3px;
|
1845 |
+
color: #fff;
|
1846 |
+
display: inline-block;
|
1847 |
+
height: 18px;
|
1848 |
+
text-decoration: none;
|
1849 |
+
font-size: 12px;
|
1850 |
+
line-height: 18px;
|
1851 |
+
margin-top: 0;
|
1852 |
+
margin-right: 1px;
|
1853 |
+
width: 18px;
|
1854 |
+
text-align: center;
|
1855 |
+
cursor: pointer;
|
1856 |
+
}
|
1857 |
+
|
1858 |
+
#dslc-content .dslc-modules-area.dslc-1-col .dslca-module-manage .dslca-module-manage-hook,
|
1859 |
+
#dslc-content .dslc-modules-area.dslc-2-col .dslca-module-manage .dslca-module-manage-hook {
|
1860 |
+
margin-right: -2px;
|
1861 |
+
}
|
1862 |
+
|
1863 |
+
#dslc-content .dslca-module-manage .dslca-module-manage-hook:first-child {
|
1864 |
+
margin-top: 0;
|
1865 |
+
}
|
1866 |
+
|
1867 |
+
#dslc-content .dslca-module-manage .dslca-module-manage-hook:last-child {
|
1868 |
+
margin-right: 0 !important;
|
1869 |
+
}
|
1870 |
+
|
1871 |
+
#dslc-content .dslca-module-manage .dslca-module-manage-hook:hover {
|
1872 |
+
color: #fff;
|
1873 |
+
}
|
1874 |
+
|
1875 |
+
/* Vertical manage for smaller modules ( height ) */
|
1876 |
+
|
1877 |
+
/*
|
1878 |
+
|
1879 |
+
#dslc-content .dslca-module-manage.dslca-horizontal {
|
1880 |
+
top: 50%;
|
1881 |
+
}
|
1882 |
+
|
1883 |
+
#dslc-content .dslca-module-manage.dslca-horizontal .dslca-module-manage-inner {
|
1884 |
+
margin-top: -68px;
|
1885 |
+
}
|
1886 |
+
|
1887 |
+
*/
|
1888 |
+
|
1889 |
+
|
1890 |
+
/**
|
1891 |
+
* Modal
|
1892 |
+
*/
|
1893 |
+
|
1894 |
+
.dslca-modal {
|
1895 |
+
background: #fff;
|
1896 |
+
border-radius: 3px;
|
1897 |
+
color: #444;
|
1898 |
+
display: none;
|
1899 |
+
padding: 14px 17px;
|
1900 |
+
position: absolute;
|
1901 |
+
bottom: 55px;
|
1902 |
+
-moz-box-shadow: 0 1px 6px rgba(0,0,0,.2); /* drop shadow */
|
1903 |
+
-webkit-box-shadow: 0 1px 6px rgba(0,0,0,.2); /* drop shadow */
|
1904 |
+
box-shadow: 0 1px 6px rgba(0,0,0,.2); /* drop shadow */
|
1905 |
+
z-index: 9999991;
|
1906 |
+
}
|
1907 |
+
|
1908 |
+
.dslca-modal-title {
|
1909 |
+
|
1910 |
+
}
|
1911 |
+
|
1912 |
+
.dslca-modal:after {
|
1913 |
+
top: 100%;
|
1914 |
+
border: solid transparent;
|
1915 |
+
content: " ";
|
1916 |
+
height: 0;
|
1917 |
+
width: 0;
|
1918 |
+
position: absolute;
|
1919 |
+
pointer-events: none;
|
1920 |
+
}
|
1921 |
+
|
1922 |
+
.dslca-modal:after {
|
1923 |
+
border-color: rgba(255, 255, 255, 0);
|
1924 |
+
border-top-color: #ffffff;
|
1925 |
+
border-width: 7px;
|
1926 |
+
left: 50%;
|
1927 |
+
margin-left: -7px;
|
1928 |
+
}
|
1929 |
+
|
1930 |
+
|
1931 |
+
.dslca-section-scroller {
|
1932 |
+
position: relative;
|
1933 |
+
height: 57px;
|
1934 |
+
margin-right: 70px;
|
1935 |
+
overflow: hidden;
|
1936 |
+
}
|
1937 |
+
|
1938 |
+
.dslca-section-scroller-inner {
|
1939 |
+
position: absolute;
|
1940 |
+
top: 0;
|
1941 |
+
left: 0;
|
1942 |
+
bottom: 0;
|
1943 |
+
width: 999999px;
|
1944 |
+
text-align: left;
|
1945 |
+
-webkit-transition: left 0.3s ease-in-out;
|
1946 |
+
-moz-transition: left 0.3s ease-in-out;
|
1947 |
+
transition: left 0.3s ease-in-out;
|
1948 |
+
}
|
1949 |
+
|
1950 |
+
.dslca-section-scroller-content {
|
1951 |
+
display: inline-block;
|
1952 |
+
}
|
1953 |
+
|
1954 |
+
.dslca-section-scroller-fade {
|
1955 |
+
background: -moz-linear-gradient(left, rgba(88,144,229,0) 0%, rgba(88,144,229,1) 100%);
|
1956 |
+
background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(88,144,229,0)), color-stop(100%,rgba(88,144,229,1)));
|
1957 |
+
background: -webkit-linear-gradient(left, rgba(88,144,229,0) 0%,rgba(88,144,229,1) 100%);
|
1958 |
+
background: -o-linear-gradient(left, rgba(88,144,229,0) 0%,rgba(88,144,229,1) 100%);
|
1959 |
+
background: -ms-linear-gradient(left, rgba(88,144,229,0) 0%,rgba(88,144,229,1) 100%);
|
1960 |
+
background: linear-gradient(to right, rgba(88,144,229,0) 0%,rgba(88,144,229,1) 100%);
|
1961 |
+
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00004799', endColorstr='#5890e5',GradientType=1 );
|
1962 |
+
position: absolute;
|
1963 |
+
right: 70px;
|
1964 |
+
width: 50px;
|
1965 |
+
bottom: 0;
|
1966 |
+
top: 0;
|
1967 |
+
}
|
1968 |
+
|
1969 |
+
.dslca-section-scroller-nav {
|
1970 |
+
background: rgba( 0, 0, 0, 0.2 );
|
1971 |
+
position: absolute;
|
1972 |
+
right: 0;
|
1973 |
+
top: 0;
|
1974 |
+
bottom: 0;
|
1975 |
+
overflow: hidden;
|
1976 |
+
width: 70px;
|
1977 |
+
}
|
1978 |
+
|
1979 |
+
.dslca-section-scroller-prev {
|
1980 |
+
cursor: pointer;
|
1981 |
+
display: block;
|
1982 |
+
float: left;
|
1983 |
+
width: 35px;
|
1984 |
+
position: absolute;
|
1985 |
+
left: 0;
|
1986 |
+
top: 0;
|
1987 |
+
bottom: 0;
|
1988 |
+
text-decoration: none;
|
1989 |
+
}
|
1990 |
+
|
1991 |
+
.dslca-section-scroller-next {
|
1992 |
+
cursor: pointer;
|
1993 |
+
display: block;
|
1994 |
+
float: left;
|
1995 |
+
width: 35px;
|
1996 |
+
position: absolute;
|
1997 |
+
right: 0;
|
1998 |
+
top: 0;
|
1999 |
+
bottom: 0;
|
2000 |
+
text-decoration: none;
|
2001 |
+
}
|
2002 |
+
|
2003 |
+
.dslca-section-scroller-prev .dslca-icon,
|
2004 |
+
.dslca-section-scroller-next .dslca-icon {
|
2005 |
+
color: #fff;
|
2006 |
+
display: block;
|
2007 |
+
text-align: center;
|
2008 |
+
margin-top: 20px;
|
2009 |
+
}
|
2010 |
+
|
2011 |
+
/**
|
2012 |
+
* Front
|
2013 |
+
*/
|
2014 |
+
|
2015 |
+
.dslca-module-options-front,
|
2016 |
+
.dslca-accordion-plain-content,
|
2017 |
+
.dslca-tab-plain-content {
|
2018 |
+
display: none;
|
2019 |
+
}
|
2020 |
+
|
2021 |
+
.dslca-module-options-front-backup {
|
2022 |
+
display: none;
|
2023 |
+
}
|
2024 |
+
|
2025 |
+
/**
|
2026 |
+
* Other
|
2027 |
+
*/
|
2028 |
+
.dslca-module-edit-option-size,
|
2029 |
+
#dslca-code,
|
2030 |
+
#dslca-content-for-search,
|
2031 |
+
.dslca-module-code {
|
2032 |
+
display: none !important;
|
2033 |
+
}
|
2034 |
+
|
2035 |
+
/**
|
2036 |
+
* WYSIWYG
|
2037 |
+
*/
|
2038 |
+
|
2039 |
+
#dslca-wysiwyg {
|
2040 |
+
position: absolute;
|
2041 |
+
top: 0;
|
2042 |
+
left: -110%;
|
2043 |
+
z-index: 99999;
|
2044 |
+
height: 200px;
|
2045 |
+
padding-bottom: 60px;
|
2046 |
+
}
|
2047 |
+
|
2048 |
+
#dslcawysiwyg {
|
2049 |
+
overflow: hidden;
|
2050 |
+
height: 100px;
|
2051 |
+
}
|
2052 |
+
|
2053 |
+
#wp-dslcawysiwyg-wrap,
|
2054 |
+
#wp-dslcawysiwyg-editor-container,
|
2055 |
+
#wp-dslcawysiwyg-editor-container textarea {
|
2056 |
+
|
2057 |
+
}
|
2058 |
+
|
2059 |
+
#wp-dslcawysiwyg-editor-container {
|
2060 |
+
height: 82%;
|
2061 |
+
}
|
2062 |
+
|
2063 |
+
.dslc-module-front.dslca-module-wysiwyg-active {
|
2064 |
+
opacity: 0;
|
2065 |
+
min-height: 200px;
|
2066 |
+
}
|
2067 |
+
|
2068 |
+
#dslca-wysiwyg-actions {
|
2069 |
+
bottom: 0;
|
2070 |
+
position: absolute;
|
2071 |
+
color: #fff;
|
2072 |
+
left: 0;
|
2073 |
+
line-height: 1;
|
2074 |
+
right: 0;
|
2075 |
+
text-align: right;
|
2076 |
+
}
|
2077 |
+
|
2078 |
+
#dslca-wysiwyg-actions-save-hook {
|
2079 |
+
background: #5bd63b;
|
2080 |
+
border-radius: 3px;
|
2081 |
+
color: #fff;
|
2082 |
+
cursor: pointer;
|
2083 |
+
display: inline-block;
|
2084 |
+
font-size: 12px;
|
2085 |
+
font-family: "Roboto";
|
2086 |
+
font-weight: bold;
|
2087 |
+
line-height: 1;
|
2088 |
+
padding: 13px 10px;
|
2089 |
+
position: relative;
|
2090 |
+
text-align: center;
|
2091 |
+
text-transform: uppercase;
|
2092 |
+
}
|
2093 |
+
|
2094 |
+
#dslca-wysiwyg-actions-cancel-hook {
|
2095 |
+
background: #e55858;
|
2096 |
+
border-radius: 3px;
|
2097 |
+
color: #fff;
|
2098 |
+
cursor: pointer;
|
2099 |
+
display: inline-block;
|
2100 |
+
font-size: 12px;
|
2101 |
+
font-family: "Roboto";
|
2102 |
+
font-weight: bold;
|
2103 |
+
line-height: 1;
|
2104 |
+
padding: 13px 10px;
|
2105 |
+
position: relative;
|
2106 |
+
text-align: center;
|
2107 |
+
text-transform: uppercase;
|
2108 |
+
}
|
2109 |
+
|
2110 |
+
.dslca-wysiwyg-actions-edit {
|
2111 |
+
position: absolute;
|
2112 |
+
top: 0;
|
2113 |
+
right: 0;
|
2114 |
+
overflow: hidden;
|
2115 |
+
}
|
2116 |
+
|
2117 |
+
.dslca-wysiwyg-actions-edit-hook {
|
2118 |
+
background: #5890e5;
|
2119 |
+
color: #fff;
|
2120 |
+
cursor: pointer;
|
2121 |
+
display: block;
|
2122 |
+
font-size: 12px;
|
2123 |
+
font-family: "Open Sans";
|
2124 |
+
line-height: 1;
|
2125 |
+
font-weight: bold;
|
2126 |
+
position: relative;
|
2127 |
+
top: -50px;
|
2128 |
+
padding: 7px 10px;
|
2129 |
+
border-radius: 0 0 0 3px;
|
2130 |
+
}
|
2131 |
+
|
2132 |
+
body.dslca-enabled .ui-widget-overlay,
|
2133 |
+
body.dslca-enabled .ui-dialog,
|
2134 |
+
body.dslca-enabled #mceModalBlocker,
|
2135 |
+
body.dslca-enabled #wp-link-backdrop,
|
2136 |
+
body.dslca-enabled #mce-modal-block {
|
2137 |
+
z-index: 99999999 !important;
|
2138 |
+
}
|
2139 |
+
|
2140 |
+
body.dslca-enabled .clearlooks2,
|
2141 |
+
body.dslca-enabled #menu_dslcawpeditor_dslcawpeditor_formatselect_menu,
|
2142 |
+
body.dslca-enabled #dslcawpeditor_forecolor_menu,
|
2143 |
+
body.dslca-enabled #wp-link-wrap,
|
2144 |
+
body.dslca-enabled .mce-menu,
|
2145 |
+
body.dslca-enabled .mce-panel {
|
2146 |
+
z-index: 999999991 !important;
|
2147 |
+
}
|
2148 |
+
|
2149 |
+
body.dslca-enabled .mce_fullscreen {
|
2150 |
+
display: none;
|
2151 |
+
}
|
2152 |
+
|
2153 |
+
|
2154 |
+
/**
|
2155 |
+
* Animations
|
2156 |
+
*/
|
2157 |
+
|
2158 |
+
/* Bounce In */
|
2159 |
+
|
2160 |
+
@keyframes "dslcBounceIn" {
|
2161 |
+
|
2162 |
+
0% {
|
2163 |
+
-webkit-transform: scale(0);
|
2164 |
+
-moz-transform: scale(0);
|
2165 |
+
transform: scale(0);
|
2166 |
+
opacity: 0;
|
2167 |
+
}
|
2168 |
+
70% {
|
2169 |
+
-webkit-transform: scale(1.05);
|
2170 |
+
-moz-transform: scale(1.05);
|
2171 |
+
transform: scale(1.05);
|
2172 |
+
}
|
2173 |
+
90% {
|
2174 |
+
-webkit-transform: scale(1.0);
|
2175 |
+
-moz-transform: scale(1.0);
|
2176 |
+
transform: scale(1.0);
|
2177 |
+
}
|
2178 |
+
100% {
|
2179 |
+
opacity: 1;
|
2180 |
+
}
|
2181 |
+
|
2182 |
+
}
|
2183 |
+
|
2184 |
+
@-moz-keyframes dslcBounceIn {
|
2185 |
+
|
2186 |
+
0% {
|
2187 |
+
-moz-transform: scale(0);
|
2188 |
+
transform: scale(0);
|
2189 |
+
filter: alpha(opacity=0);
|
2190 |
+
opacity: 0;
|
2191 |
+
}
|
2192 |
+
70% {
|
2193 |
+
-moz-transform: scale(1.05);
|
2194 |
+
transform: scale(1.05);
|
2195 |
+
}
|
2196 |
+
90% {
|
2197 |
+
-moz-transform: scale(1.0);
|
2198 |
+
transform: scale(1.0);
|
2199 |
+
}
|
2200 |
+
100% {
|
2201 |
+
filter: alpha(opacity=100);
|
2202 |
+
opacity: 1;
|
2203 |
+
}
|
2204 |
+
|
2205 |
+
}
|
2206 |
+
|
2207 |
+
@-webkit-keyframes "dslcBounceIn" {
|
2208 |
+
|
2209 |
+
0% {
|
2210 |
+
-webkit-transform: scale(0);
|
2211 |
+
transform: scale(0);
|
2212 |
+
filter: alpha(opacity=0);
|
2213 |
+
opacity: 0;
|
2214 |
+
}
|
2215 |
+
70% {
|
2216 |
+
-webkit-transform: scale(1.05);
|
2217 |
+
transform: scale(1.05);
|
2218 |
+
}
|
2219 |
+
90% {
|
2220 |
+
-webkit-transform: scale(1.0);
|
2221 |
+
transform: scale(1.0);
|
2222 |
+
}
|
2223 |
+
100% {
|
2224 |
+
filter: alpha(opacity=100);
|
2225 |
+
opacity: 1;
|
2226 |
+
}
|
2227 |
+
|
2228 |
+
}
|
2229 |
+
|
2230 |
+
/* Bounce Out */
|
2231 |
+
|
2232 |
+
@keyframes "dslcBounceOut" {
|
2233 |
+
|
2234 |
+
0% {
|
2235 |
+
-webkit-transform: scale(1);
|
2236 |
+
-moz-transform: scale(1);
|
2237 |
+
transform: scale(1);
|
2238 |
+
}
|
2239 |
+
100% {
|
2240 |
+
-webkit-transform: scale(0.9);
|
2241 |
+
-moz-transform: scale(0.9);
|
2242 |
+
transform: scale(0.9);
|
2243 |
+
}
|
2244 |
+
|
2245 |
+
}
|
2246 |
+
|
2247 |
+
@-moz-keyframes dslcBounceOut {
|
2248 |
+
|
2249 |
+
0% {
|
2250 |
+
-moz-transform: scale(1);
|
2251 |
+
transform: scale(1);
|
2252 |
+
}
|
2253 |
+
|
2254 |
+
100% {
|
2255 |
+
-moz-transform: scale(0.9);
|
2256 |
+
transform: scale(0.9);
|
2257 |
+
}
|
2258 |
+
|
2259 |
+
}
|
2260 |
+
|
2261 |
+
@-webkit-keyframes "dslcBounceOut" {
|
2262 |
+
|
2263 |
+
0% {
|
2264 |
+
-webkit-transform: scale(1);
|
2265 |
+
transform: scale(1);
|
2266 |
+
}
|
2267 |
+
100% {
|
2268 |
+
-webkit-transform: scale(0.9);
|
2269 |
+
transform: scale(0.9);
|
2270 |
+
}
|
2271 |
+
|
2272 |
+
}
|
2273 |
+
|
2274 |
+
/* Bounce In and Out */
|
2275 |
+
|
2276 |
+
@keyframes "dslcBounceOut2" {
|
2277 |
+
|
2278 |
+
0% {
|
2279 |
+
-webkit-transform: scale(1);
|
2280 |
+
-moz-transform: scale(1);
|
2281 |
+
transform: scale(1);
|
2282 |
+
}
|
2283 |
+
30% {
|
2284 |
+
-webkit-transform: scale(1.01);
|
2285 |
+
-moz-transform: scale(1.01);
|
2286 |
+
transform: scale(1.01);
|
2287 |
+
}
|
2288 |
+
100% {
|
2289 |
+
-webkit-transform: scale(0.9);
|
2290 |
+
-moz-transform: scale(0.9);
|
2291 |
+
transform: scale(0.9);
|
2292 |
+
}
|
2293 |
+
|
2294 |
+
}
|
2295 |
+
|
2296 |
+
@-moz-keyframes dslcBounceOut2 {
|
2297 |
+
|
2298 |
+
0% {
|
2299 |
+
-moz-transform: scale(1);
|
2300 |
+
transform: scale(1);
|
2301 |
+
}
|
2302 |
+
30% {
|
2303 |
+
-moz-transform: scale(1.01);
|
2304 |
+
transform: scale(1.01);
|
2305 |
+
}
|
2306 |
+
100% {
|
2307 |
+
-moz-transform: scale(0.9);
|
2308 |
+
transform: scale(0.9);
|
2309 |
+
}
|
2310 |
+
|
2311 |
+
}
|
2312 |
+
|
2313 |
+
@-webkit-keyframes "dslcBounceOut2" {
|
2314 |
+
|
2315 |
+
0% {
|
2316 |
+
-webkit-transform: scale(1);
|
2317 |
+
transform: scale(1);
|
2318 |
+
}
|
2319 |
+
30% {
|
2320 |
+
-webkit-transform: scale(1.01);
|
2321 |
+
transform: scale(1.01);
|
2322 |
+
}
|
2323 |
+
100% {
|
2324 |
+
-webkit-transform: scale(0.9);
|
2325 |
+
transform: scale(0.9);
|
2326 |
+
}
|
2327 |
+
|
2328 |
+
}
|
2329 |
+
|
2330 |
+
/* Lower opacity */
|
2331 |
+
|
2332 |
+
@keyframes "dslcOpacityDrop" {
|
2333 |
+
|
2334 |
+
0% {
|
2335 |
+
opacity: 1;
|
2336 |
+
}
|
2337 |
+
100% {
|
2338 |
+
opacity: 0.7;
|
2339 |
+
}
|
2340 |
+
|
2341 |
+
}
|
2342 |
+
|
2343 |
+
@-moz-keyframes dslcOpacityDrop {
|
2344 |
+
|
2345 |
+
0% {
|
2346 |
+
opacity: 1;
|
2347 |
+
}
|
2348 |
+
100% {
|
2349 |
+
opacity: 0.7;
|
2350 |
+
}
|
2351 |
+
|
2352 |
+
}
|
2353 |
+
|
2354 |
+
@-webkit-keyframes "dslcOpacityDrop" {
|
2355 |
+
|
2356 |
+
0% {
|
2357 |
+
opacity: 1;
|
2358 |
+
}
|
2359 |
+
100% {
|
2360 |
+
opacity: 0.7;
|
2361 |
+
}
|
2362 |
+
|
2363 |
+
}
|
2364 |
+
|
2365 |
+
/* Rotate */
|
2366 |
+
|
2367 |
+
@keyframes "dslcRotate" {
|
2368 |
+
|
2369 |
+
0% {
|
2370 |
+
-webkit-transform: rotate(0deg);
|
2371 |
+
-moz-transform: rotate(0deg);
|
2372 |
+
transform: rotate(0deg);
|
2373 |
+
}
|
2374 |
+
100% {
|
2375 |
+
-webkit-transform: rotate(360deg);
|
2376 |
+
-moz-transform: rotate(360deg);
|
2377 |
+
transform: rotate(360deg);
|
2378 |
+
}
|
2379 |
+
|
2380 |
+
}
|
2381 |
+
|
2382 |
+
@-moz-keyframes dslcRotate {
|
2383 |
+
|
2384 |
+
0% {
|
2385 |
+
-moz-transform: rotate(0deg);
|
2386 |
+
transform: rotate(0deg);
|
2387 |
+
}
|
2388 |
+
100% {
|
2389 |
+
-moz-transform: rotate(360deg);
|
2390 |
+
transform: rotate(360deg);
|
2391 |
+
}
|
2392 |
+
|
2393 |
+
}
|
2394 |
+
|
2395 |
+
@-webkit-keyframes "dslcRotate" {
|
2396 |
+
|
2397 |
+
0% {
|
2398 |
+
-webkit-transform: rotate(0deg);
|
2399 |
+
transform: rotate(0deg);
|
2400 |
+
}
|
2401 |
+
100% {
|
2402 |
+
-webkit-transform: rotate(360deg);
|
2403 |
+
transform: rotate(360deg);
|
2404 |
+
}
|
2405 |
+
|
2406 |
+
}
|
2407 |
+
|
2408 |
+
.dslca-save-composer.dslca-init-animation,
|
2409 |
+
.dslca-save-draft-composer.dslca-init-animation,
|
2410 |
+
.dslc-modules-area.dslca-init-animation {
|
2411 |
+
display: block;
|
2412 |
+
opacity: 1;
|
2413 |
+
-webkit-animation-name: dslcBounceIn;
|
2414 |
+
-moz-animation-name: dslcBounceIn;
|
2415 |
+
animation-name: dslcBounceIn;
|
2416 |
+
animation-duration:0.6s;
|
2417 |
+
-webkit-animation-duration:0.6s;
|
2418 |
+
|
2419 |
+
}
|
2420 |
+
|
2421 |
+
.dslca-anim-opacity-drop {
|
2422 |
+
/*
|
2423 |
+
opacity: 0.7;
|
2424 |
+
-webkit-animation-name: dslcOpacityDrop;
|
2425 |
+
-moz-animation-name: dslcOpacityDrop;
|
2426 |
+
animation-name: dslcOpacityDrop;
|
2427 |
+
animation-duration:0.6s;
|
2428 |
+
-webkit-animation-duration:0.6s;
|
2429 |
+
*/
|
2430 |
+
}
|
2431 |
+
|
2432 |
+
.dslc-editable-content:focus,
|
2433 |
+
.dslc-editable-content.dslc-pen {
|
2434 |
+
outline: 1px dashed rgba( 0, 0, 0, 0.2);
|
2435 |
+
}
|
2436 |
+
|
2437 |
+
.dslca-manage-action {
|
2438 |
+
cursor: pointer;
|
2439 |
+
}
|
2440 |
+
|
2441 |
+
.dslca-module-being-edited .dslca-module-manage {
|
2442 |
+
display: none !important;
|
2443 |
+
}
|
2444 |
+
|
2445 |
+
.dslc-notification .dslca-refresh-module-hook {
|
2446 |
+
right: 35px;
|
2447 |
+
}
|
2448 |
+
|
2449 |
+
.dslca-container .jspHorizontalBar {
|
2450 |
+
height: 8px;
|
2451 |
+
background: transparent;
|
2452 |
+
}
|
2453 |
+
|
2454 |
+
.dslca-container .jspTrack {
|
2455 |
+
background: #679df0;
|
2456 |
+
border-radius: 8px;
|
2457 |
+
}
|
2458 |
+
|
2459 |
+
.dslca-container .jspDrag {
|
2460 |
+
background: #4479c8;
|
2461 |
+
border-radius: 8px;
|
2462 |
+
}
|
2463 |
+
|
2464 |
+
/**
|
2465 |
+
* Slider
|
2466 |
+
*/
|
2467 |
+
|
2468 |
+
.dslca-container .dslca-module-edit-option-slider,
|
2469 |
+
.dslca-container .dslca-modules-section-edit-option-slider {
|
2470 |
+
position: relative;
|
2471 |
+
}
|
2472 |
+
|
2473 |
+
.dslca-container .dslca-module-edit-field-slider,
|
2474 |
+
.dslca-container .dslca-modules-section-edit-field-slider {
|
2475 |
+
background: #6c9fed;
|
2476 |
+
border-radius: 5px;
|
2477 |
+
position: relative;
|
2478 |
+
height: 5px;
|
2479 |
+
margin-top: 20px;
|
2480 |
+
}
|
2481 |
+
|
2482 |
+
.dslca-container .dslca-module-edit-field-slider .ui-slider-handle,
|
2483 |
+
.dslca-container .dslca-modules-section-edit-field-slider .ui-slider-handle {
|
2484 |
+
background: #3b6fbe;
|
2485 |
+
border: 1px solid #3565ad;
|
2486 |
+
border-radius: 50%;
|
2487 |
+
top: -6px;
|
2488 |
+
position: absolute;
|
2489 |
+
width: 15px;
|
2490 |
+
height: 15px;
|
2491 |
+
margin-left: -7px;
|
2492 |
+
}
|
2493 |
+
|
2494 |
+
.dslca-container .dslca-module-edit-field-slider-tooltip,
|
2495 |
+
.dslca-container .dslca-modules-section-edit-field-slider-tooltip {
|
2496 |
+
display: none;
|
2497 |
+
position: absolute;
|
2498 |
+
background: #fff;
|
2499 |
+
border-radius: 3px;
|
2500 |
+
bottom: 20px;
|
2501 |
+
line-height: 1;
|
2502 |
+
padding: 10px;
|
2503 |
+
color: #838383;
|
2504 |
+
margin-left: -15px;
|
2505 |
+
font-size: 14px;
|
2506 |
+
}
|
2507 |
+
|
2508 |
+
.dslca-container .dslca-module-edit-field-slider-tooltip:after,
|
2509 |
+
.dslca-container .dslca-modules-section-edit-field-slider-tooltip:after {
|
2510 |
+
top: 100%;
|
2511 |
+
border: solid transparent;
|
2512 |
+
content: " ";
|
2513 |
+
height: 0;
|
2514 |
+
width: 0;
|
2515 |
+
position: absolute;
|
2516 |
+
pointer-events: none;
|
2517 |
+
}
|
2518 |
+
|
2519 |
+
.dslca-container .dslca-module-edit-field-slider-tooltip:after,
|
2520 |
+
.dslca-container .dslca-modules-section-edit-field-slider-tooltip:after {
|
2521 |
+
border-color: transparent;
|
2522 |
+
border-top-color: #fff;
|
2523 |
+
border-width: 6px;
|
2524 |
+
left: 50%;
|
2525 |
+
margin-left: -6px;
|
2526 |
+
}
|
2527 |
+
|
2528 |
+
/**
|
2529 |
+
* Numeric Text
|
2530 |
+
*/
|
2531 |
+
|
2532 |
+
.dslca-module-edit-field-numeric-wrap,
|
2533 |
+
.dslca-modules-section-edit-field-numeric-wrap {
|
2534 |
+
position: relative;
|
2535 |
+
}
|
2536 |
+
|
2537 |
+
.dslca-module-edit-field-numeric-ext,
|
2538 |
+
.dslca-modules-section-edit-field-numeric-ext {
|
2539 |
+
position: absolute;
|
2540 |
+
color: rgba( 255, 255, 255, 0.8 );
|
2541 |
+
font-size: 12px;
|
2542 |
+
right: 15px;
|
2543 |
+
top: 50%;
|
2544 |
+
margin-top: -5px;
|
2545 |
+
line-height: 1;
|
2546 |
+
}
|
2547 |
+
|
2548 |
+
/**
|
2549 |
+
* Separator
|
2550 |
+
*/
|
2551 |
+
|
2552 |
+
.dslca-separator-empty {
|
2553 |
+
height: 1px;
|
2554 |
+
border-bottom: 1px solid rgba( 0, 0, 0, 0.06 );
|
2555 |
+
text-align: center;
|
2556 |
+
position: absolute;
|
2557 |
+
top: 50%;
|
2558 |
+
left: 0;
|
2559 |
+
right: 0;
|
2560 |
+
}
|
2561 |
+
|
2562 |
+
.dslca-separator-empty span {
|
2563 |
+
display: inline-block;
|
2564 |
+
padding: 0 10px;
|
2565 |
+
background: #fff;
|
2566 |
+
margin-top: -10px;
|
2567 |
+
position: relative;
|
2568 |
+
top: -11px;
|
2569 |
+
font-size: 11px;
|
2570 |
+
line-height: 1;
|
2571 |
+
}
|
2572 |
+
|
2573 |
+
/**
|
2574 |
+
* Modal
|
2575 |
+
*/
|
2576 |
+
|
2577 |
+
.dslca-prompt-modal {
|
2578 |
+
background: rgba( 255, 255, 255, 0.80 );
|
2579 |
+
display: none;
|
2580 |
+
position: fixed;
|
2581 |
+
top: 0;
|
2582 |
+
left: 0;
|
2583 |
+
right: 0;
|
2584 |
+
bottom: 0;
|
2585 |
+
z-index: 99999999;
|
2586 |
+
height: 100%;
|
2587 |
+
}
|
2588 |
+
|
2589 |
+
.dslca-prompt-modal-content {
|
2590 |
+
background: #fff;
|
2591 |
+
border-radius: 3px;
|
2592 |
+
top: 50%;
|
2593 |
+
position: relative;
|
2594 |
+
width: 400px;
|
2595 |
+
margin: 0 auto;
|
2596 |
+
margin-top: -123px;
|
2597 |
+
padding: 40px;
|
2598 |
+
-moz-box-shadow: 0 2px 2px rgba(0,0,0,.04), 0 0 7px rgba(0,0,0,.12); /* drop shadow and outer glow */
|
2599 |
+
-webkit-box-shadow: 0 2px 2px rgba(0,0,0,.04), 0 0 7px rgba(0,0,0,.12); /* drop shadow and outer glow */
|
2600 |
+
box-shadow: 0 2px 2px rgba(0,0,0,.04), 0 0 7px rgba(0,0,0,.12); /* drop shadow and outer glow */
|
2601 |
+
}
|
2602 |
+
|
2603 |
+
.dslca-prompt-modal-msg {
|
2604 |
+
text-align: center;
|
2605 |
+
}
|
2606 |
+
|
2607 |
+
.dslca-prompt-modal-title {
|
2608 |
+
color: #424242;
|
2609 |
+
display: block;
|
2610 |
+
font-family: "Lato";
|
2611 |
+
font-size: 16px;
|
2612 |
+
font-weight: bold;
|
2613 |
+
line-height: 1;
|
2614 |
+
margin-bottom: 22px;
|
2615 |
+
}
|
2616 |
+
|
2617 |
+
.dslca-prompt-modal-descr {
|
2618 |
+
color: #8a8a8a;
|
2619 |
+
display: block;
|
2620 |
+
font-family: "Lato";
|
2621 |
+
font-size: 13px;
|
2622 |
+
font-weight: normal;
|
2623 |
+
line-height: 22px;
|
2624 |
+
margin-bottom: 22px;
|
2625 |
+
}
|
2626 |
+
|
2627 |
+
.dslca-prompt-modal-actions {
|
2628 |
+
text-align: center;
|
2629 |
+
}
|
2630 |
+
|
2631 |
+
.dslca-prompt-modal-cancel-hook,
|
2632 |
+
.dslca-prompt-modal-confirm-hook {
|
2633 |
+
background: #e55f5f;
|
2634 |
+
border-radius: 3px;
|
2635 |
+
cursor: pointer;
|
2636 |
+
color: #fff;
|
2637 |
+
display: inline-block;
|
2638 |
+
font-size: 13px;
|
2639 |
+
font-family: "Open Sans", sans-serif;
|
2640 |
+
font-weight: bold;
|
2641 |
+
line-height: 1;
|
2642 |
+
padding: 13px 15px;
|
2643 |
+
text-transform: uppercase;
|
2644 |
+
text-decoration: none;
|
2645 |
+
position: relative;
|
2646 |
+
}
|
2647 |
+
|
2648 |
+
.dslca-prompt-modal-confirm-hook:hover {
|
2649 |
+
color: #fff;
|
2650 |
+
}
|
2651 |
+
|
2652 |
+
.dslca-prompt-modal-confirm-hook {
|
2653 |
+
background: #4cc12d;
|
2654 |
+
margin-right: 7px;
|
2655 |
+
}
|
2656 |
+
|
2657 |
+
.dslca-prompt-modal-cancel-hook {
|
2658 |
+
|
2659 |
+
}
|
2660 |
+
|
2661 |
+
.dslca-prompt-modal-actions .dslc-icon {
|
2662 |
+
color: rgba( 255, 255, 255, 0.5 );
|
2663 |
+
margin-right: 6px;
|
2664 |
+
}
|
2665 |
+
|
2666 |
+
/**
|
2667 |
+
* WP Editor
|
2668 |
+
*/
|
2669 |
+
|
2670 |
+
.dslca-wp-editor {
|
2671 |
+
background: rgba( 0, 0, 0, 0.70 );
|
2672 |
+
display: none;
|
2673 |
+
position: fixed;
|
2674 |
+
top: 0;
|
2675 |
+
left: 0;
|
2676 |
+
right: 0;
|
2677 |
+
bottom: 0;
|
2678 |
+
z-index: 99999999;
|
2679 |
+
}
|
2680 |
+
|
2681 |
+
.dslca-wp-editor-inner {
|
2682 |
+
background: #fff;
|
2683 |
+
position: fixed;
|
2684 |
+
top: 30px;
|
2685 |
+
left: 30px;
|
2686 |
+
right: 30px;
|
2687 |
+
bottom: 30px;
|
2688 |
+
padding: 50px;
|
2689 |
+
}
|
2690 |
+
|
2691 |
+
.dslca-wp-editor-notification {
|
2692 |
+
margin-top: 40px;
|
2693 |
+
}
|
2694 |
+
|
2695 |
+
.dslca-wp-editor-actions {
|
2696 |
+
margin-top: 40px;
|
2697 |
+
}
|
2698 |
+
|
2699 |
+
.dslca-wp-editor-save-hook {
|
2700 |
+
background: #78ca4f;
|
2701 |
+
border-radius: 3px;
|
2702 |
+
color: #fff;
|
2703 |
+
cursor: pointer;
|
2704 |
+
display: inline-block;
|
2705 |
+
font-size: 11px;
|
2706 |
+
font-family: "Open Sans";
|
2707 |
+
font-weight: 900;
|
2708 |
+
line-height: 1;
|
2709 |
+
padding: 11px 12px;
|
2710 |
+
}
|
2711 |
+
|
2712 |
+
.dslca-wp-editor-cancel-hook {
|
2713 |
+
background: #e55f5f;
|
2714 |
+
border-radius: 3px;
|
2715 |
+
color: #fff;
|
2716 |
+
cursor: pointer;
|
2717 |
+
display: inline-block;
|
2718 |
+
font-size: 11px;
|
2719 |
+
font-family: "Open Sans";
|
2720 |
+
font-weight: 900;
|
2721 |
+
line-height: 1;
|
2722 |
+
margin-left: 4px;
|
2723 |
+
padding: 11px 12px;
|
2724 |
+
}
|
2725 |
+
|
2726 |
+
#wp-dslcawpeditor-editor-container {
|
2727 |
+
border: 1px solid #ddd;
|
2728 |
+
}
|
2729 |
+
|
2730 |
+
/**
|
2731 |
+
* Invisible Overlay
|
2732 |
+
*/
|
2733 |
+
|
2734 |
+
.dslca-invisible-overlay {
|
2735 |
+
display: block;
|
2736 |
+
position: fixed;
|
2737 |
+
top: 0;
|
2738 |
+
left: 0;
|
2739 |
+
right: 0;
|
2740 |
+
bottom: 0;
|
2741 |
+
z-index: 99998;
|
2742 |
+
}
|
2743 |
+
|
2744 |
+
.dslca-disable-selection .dslca-invisible-overlay {
|
2745 |
+
display: block;
|
2746 |
+
}
|
2747 |
+
|
2748 |
+
/**
|
2749 |
+
* Loading Modal
|
2750 |
+
*/
|
2751 |
+
|
2752 |
+
.dslca-loading-modal {
|
2753 |
+
background: rgba( 0, 0, 0, 0.75 );
|
2754 |
+
/* display: none; */
|
2755 |
+
position: fixed;
|
2756 |
+
top: 0;
|
2757 |
+
left: 0;
|
2758 |
+
right: 0;
|
2759 |
+
bottom: 200px;
|
2760 |
+
z-index: 999999;
|
2761 |
+
}
|
2762 |
+
|
2763 |
+
.dslca-loading-modal-content {
|
2764 |
+
position: relative;
|
2765 |
+
top: 200px;
|
2766 |
+
width: 580px;
|
2767 |
+
margin: 0 auto;
|
2768 |
+
}
|
2769 |
+
|
2770 |
+
.dslca-loading-modal-msg {
|
2771 |
+
background: #fff;
|
2772 |
+
border-radius: 3px;
|
2773 |
+
color: #707070;
|
2774 |
+
font-size: 14px;
|
2775 |
+
font-family: "Open Sans", sans-serif;
|
2776 |
+
font-weight: 600;
|
2777 |
+
line-height: 1.5;
|
2778 |
+
padding: 35px 25px;
|
2779 |
+
text-align: center;
|
2780 |
+
margin-bottom: 10px;
|
2781 |
+
-moz-box-shadow: 0 0 7px #000;
|
2782 |
+
-webkit-box-shadow: 0 0 7px #000;
|
2783 |
+
box-shadow: 0 0 7px #000;
|
2784 |
+
}
|
2785 |
+
|
2786 |
+
.dslca-loading-modal-actions {
|
2787 |
+
text-align: right;
|
2788 |
+
}
|
2789 |
+
|
2790 |
+
.dslca-loading-modal-cancel-hook,
|
2791 |
+
.dslca-loading-modal-confirm-hook {
|
2792 |
+
background: #e55f5f;
|
2793 |
+
border-radius: 3px;
|
2794 |
+
cursor: pointer;
|
2795 |
+
color: #fff;
|
2796 |
+
display: inline-block;
|
2797 |
+
font-size: 14px;
|
2798 |
+
font-family: "Open Sans", sans-serif;
|
2799 |
+
font-weight: bold;
|
2800 |
+
line-height: 1;
|
2801 |
+
padding: 13px 15px;
|
2802 |
+
text-transform: uppercase;
|
2803 |
+
}
|
2804 |
+
|
2805 |
+
.dslca-loading-modal-confirm-hook {
|
2806 |
+
background: #4cc12d;
|
2807 |
+
margin-right: 7px;
|
2808 |
+
}
|
2809 |
+
|
2810 |
+
/**
|
2811 |
+
* Tooltip
|
2812 |
+
*/
|
2813 |
+
|
2814 |
+
.dslca-module-edit-field-ttip-content {
|
2815 |
+
display: none;
|
2816 |
+
}
|
2817 |
+
|
2818 |
+
.dslca-module-edit-field-icon-ttip-hook,
|
2819 |
+
.dslca-module-edit-field-ttip-hook {
|
2820 |
+
background: #3b6fbe;
|
2821 |
+
color: #5890e5;
|
2822 |
+
cursor: pointer;
|
2823 |
+
border-radius: 50%;
|
2824 |
+
position: relative;
|
2825 |
+
display: inline-block;
|
2826 |
+
width: 13px;
|
2827 |
+
height: 13px;
|
2828 |
+
margin-left: 10px;
|
2829 |
+
vertical-align: bottom;
|
2830 |
+
}
|
2831 |
+
|
2832 |
+
.dslca-module-edit-field-icon-ttip-hook .dslca-icon,
|
2833 |
+
.dslca-module-edit-field-ttip-hook .dslca-icon {
|
2834 |
+
position: absolute;
|
2835 |
+
left: 5px;
|
2836 |
+
font-weight: normal;
|
2837 |
+
font-size: 10px;
|
2838 |
+
top: 1px;
|
2839 |
+
}
|
2840 |
+
|
2841 |
+
.dslca-module-edit-field-icon-ttip,
|
2842 |
+
.dslca-module-edit-field-ttip {
|
2843 |
+
background: #fff;
|
2844 |
+
color: #8a8a8a;
|
2845 |
+
font-family: "Lato";
|
2846 |
+
font-size: 13px;
|
2847 |
+
display: none;
|
2848 |
+
border-radius: 3px;
|
2849 |
+
padding: 20px 25px;
|
2850 |
+
border: 1px solid rgba(0,0,0,.12); /* stroke */
|
2851 |
+
position: absolute;
|
2852 |
+
-moz-box-shadow: 0 2px 2px rgba(0,0,0,.04), 0 0 7px rgba(0,0,0,.12); /* drop shadow and outer glow */
|
2853 |
+
-webkit-box-shadow: 0 2px 2px rgba(0,0,0,.04), 0 0 7px rgba(0,0,0,.12); /* drop shadow and outer glow */
|
2854 |
+
box-shadow: 0 2px 2px rgba(0,0,0,.04), 0 0 7px rgba(0,0,0,.12); /* drop shadow and outer glow */
|
2855 |
+
text-align: center;
|
2856 |
+
z-index: 999999;
|
2857 |
+
}
|
2858 |
+
|
2859 |
+
.dslca-module-edit-field-icon-ttip a,
|
2860 |
+
.dslca-module-edit-field-ttip a {
|
2861 |
+
color: #5890e5;
|
2862 |
+
font-weight: bold;
|
2863 |
+
text-decoration: none;
|
2864 |
+
}
|
2865 |
+
|
2866 |
+
.dslca-module-edit-field-icon-ttip:after,
|
2867 |
+
.dslca-module-edit-field-icon-ttip:before,
|
2868 |
+
.dslca-module-edit-field-ttip:after,
|
2869 |
+
.dslca-module-edit-field-ttip:before {
|
2870 |
+
top: 100%;
|
2871 |
+
border: solid transparent;
|
2872 |
+
content: " ";
|
2873 |
+
height: 0;
|
2874 |
+
width: 0;
|
2875 |
+
position: absolute;
|
2876 |
+
pointer-events: none;
|
2877 |
+
}
|
2878 |
+
|
2879 |
+
.dslca-module-edit-field-icon-ttip:after,
|
2880 |
+
.dslca-module-edit-field-ttip:after {
|
2881 |
+
border-color: rgba(255, 255, 255, 0);
|
2882 |
+
border-top-color: #fff;
|
2883 |
+
border-width: 8px;
|
2884 |
+
left: 50%;
|
2885 |
+
margin-left: -8px;
|
2886 |
+
}
|
2887 |
+
|
2888 |
+
.dslca-module-edit-field-icon-ttip:before,
|
2889 |
+
.dslca-module-edit-field-ttip:before {
|
2890 |
+
border-color: rgba(224, 224, 224, 0);
|
2891 |
+
border-top-color: #d2d2d2;
|
2892 |
+
border-width: 9px;
|
2893 |
+
left: 50%;
|
2894 |
+
margin-left: -9px;
|
2895 |
+
}
|
2896 |
+
|
2897 |
+
.dslca-module-edit-field-ttip-close {
|
2898 |
+
cursor: pointer;
|
2899 |
+
position: absolute;
|
2900 |
+
background: #e55f5f;
|
2901 |
+
top: -9px;
|
2902 |
+
right: -9px;
|
2903 |
+
width: 18px;
|
2904 |
+
line-height: 18px;
|
2905 |
+
border-radius: 18px;
|
2906 |
+
color: #fff;
|
2907 |
+
font-size: 11px;
|
2908 |
+
}
|
2909 |
+
|
2910 |
+
/**
|
2911 |
+
* Image Upload Field
|
2912 |
+
*/
|
2913 |
+
|
2914 |
+
.dslca-modules-section-edit-option-upload,
|
2915 |
+
.dslca-module-edit-option-image {
|
2916 |
+
width: auto;
|
2917 |
+
}
|
2918 |
+
|
2919 |
+
.dslca-modules-section-edit-field-image-add-hook,
|
2920 |
+
.dslca-modules-section-edit-field-image-remove-hook,
|
2921 |
+
.dslca-module-edit-field-image-add-hook,
|
2922 |
+
.dslca-module-edit-field-image-remove-hook {
|
2923 |
+
background: #3b6fbe;
|
2924 |
+
border: 1px solid #3565ad;
|
2925 |
+
border-radius: 3px;
|
2926 |
+
color: #a0c0f0;
|
2927 |
+
cursor: pointer;
|
2928 |
+
display: inline-block;
|
2929 |
+
font-size: 10px;
|
2930 |
+
font-family: "Open Sans";
|
2931 |
+
font-weight: bold;
|
2932 |
+
padding: 10px;
|
2933 |
+
line-height: 1;
|
2934 |
+
text-transform: uppercase;
|
2935 |
+
white-space: nowrap;
|
2936 |
+
}
|
2937 |
+
|
2938 |
+
.dslca-modules-section-edit-field-image-add-hook .dslca-icon,
|
2939 |
+
.dslca-modules-section-edit-field-image-remove-hook .dslca-icon,
|
2940 |
+
.dslca-module-edit-field-image-add-hook .dslca-icon,
|
2941 |
+
.dslca-module-edit-field-image-remove-hook .dslca-icon {
|
2942 |
+
margin-right: 7px;
|
2943 |
+
}
|
2944 |
+
|
2945 |
+
/**
|
2946 |
+
* Header/Footer
|
2947 |
+
*/
|
2948 |
+
|
2949 |
+
#dslc-header,
|
2950 |
+
#dslc-footer {
|
2951 |
+
position: relative;
|
2952 |
+
}
|
2953 |
+
|
2954 |
+
.dslc-hf-block-overlay {
|
2955 |
+
position: absolute;
|
2956 |
+
top: 0;
|
2957 |
+
left: 0;
|
2958 |
+
right: 0;
|
2959 |
+
bottom: 0;
|
2960 |
+
background: rgba( 88, 144, 229, 0.9 );
|
2961 |
+
z-index: 99999;
|
2962 |
+
text-align: center;
|
2963 |
+
opacity: 0;
|
2964 |
+
-webkit-transition: opacity 0.2s ease-in-out;
|
2965 |
+
-moz-transition: opacity 0.2s ease-in-out;
|
2966 |
+
transition: opacity 0.2s ease-in-out;
|
2967 |
+
}
|
2968 |
+
|
2969 |
+
.dslc-hf-block-overlay:hover {
|
2970 |
+
opacity: 1;
|
2971 |
+
}
|
2972 |
+
|
2973 |
+
.dslc-hf-block-overlay-button {
|
2974 |
+
text-align: center;
|
2975 |
+
position: absolute;
|
2976 |
+
left: 0;
|
2977 |
+
right: 0;
|
2978 |
+
top: 45%;
|
2979 |
+
display: inline-block;
|
2980 |
+
color: #fff;
|
2981 |
+
font-size: 20px;
|
2982 |
+
font-family: "Open Sans";
|
2983 |
+
text-decoration: none;
|
2984 |
+
font-weight: bold;
|
2985 |
+
text-transform: uppercase;
|
2986 |
+
}
|
2987 |
+
|
2988 |
+
/**
|
2989 |
+
* Composer Hidden
|
2990 |
+
*/
|
2991 |
+
|
2992 |
+
body.dslca-composer-hidden .dslc-module-front,
|
2993 |
+
body.dslca-composer-hidden .dslc-modules-area,
|
2994 |
+
body.dslca-composer-hidden .dslc-modules-section {
|
2995 |
+
outline: none !important;
|
2996 |
+
border: none !important;
|
2997 |
+
}
|
2998 |
+
|
2999 |
+
body.dslca-composer-hidden .dslca-module-manage,
|
3000 |
+
body.dslca-composer-hidden .dslca-modules-area-manage,
|
3001 |
+
body.dslca-composer-hidden .dslc-modules-section .dslca-modules-section-manage,
|
3002 |
+
.dslca-composer-hidden .dslc-modules-section:hover .dslca-modules-section-manage,
|
3003 |
+
.dslca-composer-hidden .dslca-add-modules-section {
|
3004 |
+
display: none !important;
|
3005 |
+
}
|
3006 |
+
|
3007 |
+
.dslca-loading {
|
3008 |
+
position: absolute;
|
3009 |
+
top: 15px;
|
3010 |
+
left: 25px;
|
3011 |
+
display: none;
|
3012 |
+
}
|
3013 |
+
|
3014 |
+
.followingBallsGWrap{
|
3015 |
+
width:64px;
|
3016 |
+
height:5px;
|
3017 |
+
}
|
3018 |
+
|
3019 |
+
.followingBallsG{
|
3020 |
+
background-color: rgba( 255, 255, 255, 0.5 );
|
3021 |
+
position:absolute;
|
3022 |
+
top:0;
|
3023 |
+
left:0;
|
3024 |
+
width:5px;
|
3025 |
+
height:5px;
|
3026 |
+
-moz-border-radius:3px;
|
3027 |
+
-moz-animation-name:bounce_followingBallsG;
|
3028 |
+
-moz-animation-duration:2.3s;
|
3029 |
+
-moz-animation-iteration-count:infinite;
|
3030 |
+
-moz-animation-direction:linear;
|
3031 |
+
-webkit-border-radius:3px;
|
3032 |
+
-webkit-animation-name:bounce_followingBallsG;
|
3033 |
+
-webkit-animation-duration:2.3s;
|
3034 |
+
-webkit-animation-iteration-count:infinite;
|
3035 |
+
-webkit-animation-direction:linear;
|
3036 |
+
-ms-border-radius:3px;
|
3037 |
+
-ms-animation-name:bounce_followingBallsG;
|
3038 |
+
-ms-animation-duration:2.3s;
|
3039 |
+
-ms-animation-iteration-count:infinite;
|
3040 |
+
-ms-animation-direction:linear;
|
3041 |
+
-o-border-radius:3px;
|
3042 |
+
-o-animation-name:bounce_followingBallsG;
|
3043 |
+
-o-animation-duration:2.3s;
|
3044 |
+
-o-animation-iteration-count:infinite;
|
3045 |
+
-o-animation-direction:linear;
|
3046 |
+
border-radius:3px;
|
3047 |
+
animation-name:bounce_followingBallsG;
|
3048 |
+
animation-duration:2.3s;
|
3049 |
+
animation-iteration-count:infinite;
|
3050 |
+
animation-direction:linear;
|
3051 |
+
}
|
3052 |
+
|
3053 |
+
.followingBallsG_1{
|
3054 |
+
-moz-animation-delay:0s;
|
3055 |
+
-webkit-animation-delay:0s;
|
3056 |
+
-ms-animation-delay:0s;
|
3057 |
+
-o-animation-delay:0s;
|
3058 |
+
animation-delay:0s;
|
3059 |
+
}
|
3060 |
+
|
3061 |
+
.followingBallsG_2{
|
3062 |
+
-moz-animation-delay:0.23s;
|
3063 |
+
-webkit-animation-delay:0.23s;
|
3064 |
+
-ms-animation-delay:0.23s;
|
3065 |
+
-o-animation-delay:0.23s;
|
3066 |
+
animation-delay:0.23s;
|
3067 |
+
}
|
3068 |
+
|
3069 |
+
.followingBallsG_3{
|
3070 |
+
-moz-animation-delay:0.46s;
|
3071 |
+
-webkit-animation-delay:0.46s;
|
3072 |
+
-ms-animation-delay:0.46s;
|
3073 |
+
-o-animation-delay:0.46s;
|
3074 |
+
animation-delay:0.46s;
|
3075 |
+
}
|
3076 |
+
|
3077 |
+
.followingBallsG_4{
|
3078 |
+
-moz-animation-delay:0.69s;
|
3079 |
+
-webkit-animation-delay:0.69s;
|
3080 |
+
-ms-animation-delay:0.69s;
|
3081 |
+
-o-animation-delay:0.69s;
|
3082 |
+
animation-delay:0.69s;
|
3083 |
+
}
|
3084 |
+
|
3085 |
+
@-moz-keyframes bounce_followingBallsG{
|
3086 |
+
0%{
|
3087 |
+
left:0px;
|
3088 |
+
background-color: rgba( 255, 255, 255, 0.5 );
|
3089 |
+
}
|
3090 |
+
50%{
|
3091 |
+
left:59px;
|
3092 |
+
background-color: rgba( 0, 0, 0, 0 );
|
3093 |
+
}
|
3094 |
+
100%{
|
3095 |
+
left:0px;
|
3096 |
+
background-color: rgba( 255, 255, 255, 0.5 );
|
3097 |
+
}
|
3098 |
+
}
|
3099 |
+
|
3100 |
+
@-webkit-keyframes bounce_followingBallsG{
|
3101 |
+
0%{
|
3102 |
+
left:0px;
|
3103 |
+
background-color: rgba( 255, 255, 255, 0.5 );
|
3104 |
+
}
|
3105 |
+
50%{
|
3106 |
+
left:59px;
|
3107 |
+
background-color: rgba( 0, 0, 0, 0 );
|
3108 |
+
}
|
3109 |
+
100%{
|
3110 |
+
left:0px;
|
3111 |
+
background-color: rgba( 255, 255, 255, 0.5 );
|
3112 |
+
}
|
3113 |
+
}
|
3114 |
+
|
3115 |
+
@-ms-keyframes bounce_followingBallsG{
|
3116 |
+
0%{
|
3117 |
+
left:0px;
|
3118 |
+
background-color: rgba( 255, 255, 255, 0.5 );
|
3119 |
+
}
|
3120 |
+
50%{
|
3121 |
+
left:59px;
|
3122 |
+
background-color: rgba( 0, 0, 0, 0 );
|
3123 |
+
}
|
3124 |
+
100%{
|
3125 |
+
left:0px;
|
3126 |
+
background-color: rgba( 255, 255, 255, 0.5 );
|
3127 |
+
}
|
3128 |
+
}
|
3129 |
+
|
3130 |
+
@-o-keyframes bounce_followingBallsG{
|
3131 |
+
0%{
|
3132 |
+
left:0px;
|
3133 |
+
background-color: rgba( 255, 255, 255, 0.5 );
|
3134 |
+
}
|
3135 |
+
50%{
|
3136 |
+
left:59px;
|
3137 |
+
background-color: rgba( 0, 0, 0, 0 );
|
3138 |
+
}
|
3139 |
+
|
3140 |
+
100%{
|
3141 |
+
left:0px;
|
3142 |
+
background-color: rgba( 255, 255, 255, 0.5 );
|
3143 |
+
}
|
3144 |
+
}
|
3145 |
+
|
3146 |
+
@keyframes bounce_followingBallsG{
|
3147 |
+
0%{
|
3148 |
+
left:0px;
|
3149 |
+
background-color: rgba( 255, 255, 255, 0.5 );
|
3150 |
+
}
|
3151 |
+
|
3152 |
+
50%{
|
3153 |
+
left:59px;
|
3154 |
+
background-color: rgba( 0, 0, 0, 0 );
|
3155 |
+
}
|
3156 |
+
|
3157 |
+
100%{
|
3158 |
+
left:0px;
|
3159 |
+
background-color: rgba( 255, 255, 255, 0.5 );
|
3160 |
+
}
|
3161 |
+
}
|
3162 |
+
|
3163 |
+
/**
|
3164 |
+
* Container Loader
|
3165 |
+
*/
|
3166 |
+
|
3167 |
+
.dslca-container-loader {
|
3168 |
+
position: absolute;
|
3169 |
+
left: 0;
|
3170 |
+
top: 0;
|
3171 |
+
right: 0;
|
3172 |
+
bottom: 0;
|
3173 |
+
background: rgba( 0, 0, 0, 0.2 );
|
3174 |
+
display: none;
|
3175 |
+
}
|
3176 |
+
|
3177 |
+
.dslca-container-loader-inner {
|
3178 |
+
position: absolute;
|
3179 |
+
top: 10px;
|
3180 |
+
left: 15px;
|
3181 |
+
}
|
3182 |
+
|
3183 |
+
/**
|
3184 |
+
* Hide template modules if not templates page
|
3185 |
+
*/
|
3186 |
+
|
3187 |
+
body.page .dslca-module.dslca-origin-single[data-id="DSLC_TP_Excerpt"],
|
3188 |
+
body.page .dslca-module.dslca-origin-single[data-id="DSLC_TP_Meta"],
|
3189 |
+
body.page .dslca-module.dslca-origin-single[data-id="DSLC_TP_Downloads_Button"],
|
3190 |
+
body.page .dslca-module.dslca-origin-single[data-id="DSLC_TP_Gallery_Slider"],
|
3191 |
+
body.page .dslca-module.dslca-origin-single[data-id="DSLC_TP_Project_Slider"],
|
3192 |
+
body.page .dslca-module.dslca-origin-single[data-id="DSLC_TP_Staff_Social"] {
|
3193 |
+
display: none !important;
|
3194 |
+
}
|
3195 |
+
|
3196 |
+
.media-modal {
|
3197 |
+
z-index: 999999999 !important;
|
3198 |
+
}
|
3199 |
+
|
3200 |
+
.media-modal-backdrop {
|
3201 |
+
z-index: 999999998 !important;
|
3202 |
+
}
|
3203 |
+
|
3204 |
+
/**
|
3205 |
+
* RTL Fixes
|
3206 |
+
*/
|
3207 |
+
|
3208 |
+
body.rtl .dslca-templates .dslca-go-to-section-hook .dslca-icon,
|
3209 |
+
body.rtl .dslca-templates .dslca-open-modal-hook .dslca-icon {
|
3210 |
+
margin-right: 0;
|
3211 |
+
margin-left: 9px;
|
3212 |
+
}
|
3213 |
+
|
3214 |
+
body.rtl .dslca-section-title-filter .dslca-icon {
|
3215 |
+
margin-left: 0;
|
3216 |
+
margin-right: 10px;
|
3217 |
+
}
|
3218 |
+
|
3219 |
+
body.rtl .dslca-container .dslca-close-composer-hook .dslca-icon,
|
3220 |
+
body.rtl .dslca-activate-composer-hook .dslca-icon,
|
3221 |
+
body.rtl .dslca-container .dslca-hide-composer-hook .dslca-icon,
|
3222 |
+
body.rtl .dslca-container .dslca-show-composer-hook .dslca-icon {
|
3223 |
+
margin-right: 0;
|
3224 |
+
margin-left: 5px;
|
3225 |
+
}
|
3226 |
+
|
3227 |
+
body.rtl .dslca-module .dslca-icon {
|
3228 |
+
margin-right: 0;
|
3229 |
+
margin-left: 11px;
|
3230 |
+
}
|
3231 |
+
|
3232 |
+
body.rtl .dslca-header .dslca-options-filter-hook .dslca-icon {
|
3233 |
+
margin-right: 0;
|
3234 |
+
margin-left: 4px;
|
3235 |
+
}
|
3236 |
+
|
3237 |
+
body.rtl .dslca-prompt-modal-actions .dslc-icon {
|
3238 |
+
margin-right: 0;
|
3239 |
+
margin-left: 6px;
|
3240 |
+
}
|
3241 |
+
|
3242 |
+
body.rtl .dslca-module-edit-option-checkbox-hook .dslca-icon {
|
3243 |
+
margin-right: 0;
|
3244 |
+
margin-left: 10px;
|
3245 |
+
}
|
3246 |
+
|
3247 |
+
body.rtl .dslca-module-edit-options-inner,
|
3248 |
+
body.rtl .dslca-modules-section-edit-options-inner {
|
3249 |
+
overflow-x: auto;
|
3250 |
+
}
|
3251 |
+
|
3252 |
+
body.rtl .dslca-module-edit-option,
|
3253 |
+
body.rtl .dslca-modules-section-edit-option {
|
3254 |
+
float: right;
|
3255 |
+
}
|
3256 |
+
|
3257 |
+
body.rtl .dslca-no-content .dslca-icon {
|
3258 |
+
margin-right: 0;
|
3259 |
+
margin-left: 10px;
|
3260 |
+
}
|
3261 |
+
|
3262 |
+
/**
|
3263 |
+
* Styling Presets Feature
|
3264 |
+
*/
|
3265 |
+
|
3266 |
+
.dslca-styling-presets {
|
3267 |
+
position: absolute;
|
3268 |
+
top: 0;
|
3269 |
+
right: 0;
|
3270 |
+
margin-right: 15px;
|
3271 |
+
margin-top: 15px;
|
3272 |
+
}
|
3273 |
+
|
3274 |
+
/**
|
3275 |
+
* Row Actions - hide/show on hover
|
3276 |
+
*/
|
3277 |
+
|
3278 |
+
.dslca-drag-not-in-progress .dslc-modules-section .dslca-modules-section-manage-inner {
|
3279 |
+
-webkit-transition: all 0.2s ease-in-out;
|
3280 |
+
-moz-transition: all 0.2s ease-in-out;
|
3281 |
+
transition: all 0.2s ease-in-out;
|
3282 |
+
}
|
3283 |
+
|
3284 |
+
.dslca-drag-not-in-progress .dslc-modules-section:hover .dslca-modules-section-manage-inner {
|
3285 |
+
opacity: 1;
|
3286 |
+
}
|
3287 |
+
|
3288 |
+
.dslca-composer-hidden .dslc-modules-section:hover .dslca-modules-section-manage-inner {
|
3289 |
+
opacity: 0;
|
3290 |
+
}
|
3291 |
+
|
3292 |
+
/**
|
3293 |
+
* Module Actions - hide/show on hover
|
3294 |
+
*/
|
3295 |
+
|
3296 |
+
.dslca-drag-not-in-progress .dslc-module-front .dslca-module-manage {
|
3297 |
+
overflow: hidden;
|
3298 |
+
}
|
3299 |
+
|
3300 |
+
/* Visible overflow if module width opts shown */
|
3301 |
+
.dslca-drag-not-in-progress .dslc-module-front:hover .dslca-module-manage.dslca-module-manage-change-width-active {
|
3302 |
+
overflow: visible;
|
3303 |
+
}
|
3304 |
+
|
3305 |
+
.dslca-drag-not-in-progress .dslc-module-front .dslca-module-manage-inner,
|
3306 |
+
.dslca-drag-not-in-progress .dslc-module-front .dslca-wysiwyg-actions-edit-hook {
|
3307 |
+
top: -50;
|
3308 |
+
-webkit-transition: top 0.2s ease-in-out;
|
3309 |
+
-moz-transition: top 0.2s ease-in-out;
|
3310 |
+
transition: top 0.2s ease-in-out;
|
3311 |
+
}
|
3312 |
+
|
3313 |
+
.dslca-drag-not-in-progress .dslc-module-front:hover .dslca-module-manage-inner,
|
3314 |
+
.dslca-drag-not-in-progress .dslc-module-front:hover .dslca-wysiwyg-actions-edit-hook {
|
3315 |
+
top: 0;
|
3316 |
+
}
|
3317 |
+
|
3318 |
+
/**
|
3319 |
+
* Area Actions - hide/show on hover
|
3320 |
+
*/
|
3321 |
+
|
3322 |
+
.dslca-drag-not-in-progress .dslc-modules-area .dslca-modules-area-manage-inner {
|
3323 |
+
opacity: 0;
|
3324 |
+
-webkit-transition: opacity 0.2s ease-in-out;
|
3325 |
+
-moz-transition: opacity 0.2s ease-in-out;
|
3326 |
+
transition: opacity 0.2s ease-in-out;
|
3327 |
+
}
|
3328 |
+
|
3329 |
+
.dslca-drag-not-in-progress .dslc-modules-area:hover .dslca-modules-area-manage-inner {
|
3330 |
+
opacity: 1;
|
3331 |
}
|
css/font-awesome.css
CHANGED
@@ -1,2193 +1,2193 @@
|
|
1 |
-
@font-face {
|
2 |
-
font-family: 'DSLCFontAwesome';
|
3 |
-
src: url('font/fontawesome-webfont.eot?v=4.4');
|
4 |
-
src: url('font/fontawesome-webfont.eot?#iefix&v=4.4') format('embedded-opentype'), url('font/fontawesome-webfont.woff?v=4.4') format('woff'), url('font/fontawesome-webfont.ttf?v=4.4') format('truetype'), url('font/fontawesome-webfont.svg#fontawesomeregular?v=4.4') format('svg');
|
5 |
-
font-weight: normal;
|
6 |
-
font-style: normal;
|
7 |
-
}
|
8 |
-
|
9 |
-
|
10 |
-
[class^="dslc-icon-"],
|
11 |
-
[class*=" dslc-icon-"] {
|
12 |
-
font-family: DSLCFontAwesome;
|
13 |
-
font-weight: normal;
|
14 |
-
font-style: normal;
|
15 |
-
text-decoration: inherit;
|
16 |
-
-webkit-font-smoothing: antialiased;
|
17 |
-
*margin-right: .3em;
|
18 |
-
}
|
19 |
-
[class^="dslc-icon-"]:before,
|
20 |
-
[class*=" dslc-icon-"]:before {
|
21 |
-
text-decoration: inherit;
|
22 |
-
display: inline-block;
|
23 |
-
speak: none;
|
24 |
-
}
|
25 |
-
/* makes the font 33% larger relative to the dslc-icon container */
|
26 |
-
.dslc-icon-large:before {
|
27 |
-
vertical-align: -10%;
|
28 |
-
font-size: 1.3333333333333333em;
|
29 |
-
}
|
30 |
-
/* makes sure dslc-icons active on rollover in links */
|
31 |
-
a [class^="dslc-icon-"],
|
32 |
-
a [class*=" dslc-icon-"] {
|
33 |
-
display: inline;
|
34 |
-
}
|
35 |
-
/* increased font size for dslc-icon-large */
|
36 |
-
[class^="dslc-icon-"].dslc-icon-fixed-width,
|
37 |
-
[class*=" dslc-icon-"].dslc-icon-fixed-width {
|
38 |
-
display: inline-block;
|
39 |
-
width: 1.1428571428571428em;
|
40 |
-
text-align: right;
|
41 |
-
padding-right: 0.2857142857142857em;
|
42 |
-
}
|
43 |
-
[class^="dslc-icon-"].dslc-icon-fixed-width.dslc-icon-large,
|
44 |
-
[class*=" dslc-icon-"].dslc-icon-fixed-width.dslc-icon-large {
|
45 |
-
width: 1.4285714285714286em;
|
46 |
-
}
|
47 |
-
.dslc-icons-ul {
|
48 |
-
margin-left: 2.142857142857143em;
|
49 |
-
list-style-type: none;
|
50 |
-
}
|
51 |
-
.dslc-icons-ul > li {
|
52 |
-
position: relative;
|
53 |
-
}
|
54 |
-
.dslc-icons-ul .dslc-icon-li {
|
55 |
-
position: absolute;
|
56 |
-
left: -2.142857142857143em;
|
57 |
-
width: 2.142857142857143em;
|
58 |
-
text-align: center;
|
59 |
-
line-height: inherit;
|
60 |
-
}
|
61 |
-
[class^="dslc-icon-"].hide,
|
62 |
-
[class*=" dslc-icon-"].hide {
|
63 |
-
display: none;
|
64 |
-
}
|
65 |
-
.dslc-icon-muted {
|
66 |
-
color: #eeeeee;
|
67 |
-
}
|
68 |
-
.dslc-icon-light {
|
69 |
-
color: #ffffff;
|
70 |
-
}
|
71 |
-
.dslc-icon-dark {
|
72 |
-
color: #333333;
|
73 |
-
}
|
74 |
-
.dslc-icon-border {
|
75 |
-
border: solid 1px #eeeeee;
|
76 |
-
padding: .2em .25em .15em;
|
77 |
-
-webkit-border-radius: 3px;
|
78 |
-
-moz-border-radius: 3px;
|
79 |
-
border-radius: 3px;
|
80 |
-
}
|
81 |
-
.dslc-icon-2x {
|
82 |
-
font-size: 2em;
|
83 |
-
}
|
84 |
-
.dslc-icon-2x.dslc-icon-border {
|
85 |
-
border-width: 2px;
|
86 |
-
-webkit-border-radius: 4px;
|
87 |
-
-moz-border-radius: 4px;
|
88 |
-
border-radius: 4px;
|
89 |
-
}
|
90 |
-
.dslc-icon-3x {
|
91 |
-
font-size: 3em;
|
92 |
-
}
|
93 |
-
.dslc-icon-3x.dslc-icon-border {
|
94 |
-
border-width: 3px;
|
95 |
-
-webkit-border-radius: 5px;
|
96 |
-
-moz-border-radius: 5px;
|
97 |
-
border-radius: 5px;
|
98 |
-
}
|
99 |
-
.dslc-icon-4x {
|
100 |
-
font-size: 4em;
|
101 |
-
}
|
102 |
-
.dslc-icon-4x.dslc-icon-border {
|
103 |
-
border-width: 4px;
|
104 |
-
-webkit-border-radius: 6px;
|
105 |
-
-moz-border-radius: 6px;
|
106 |
-
border-radius: 6px;
|
107 |
-
}
|
108 |
-
.dslc-icon-5x {
|
109 |
-
font-size: 5em;
|
110 |
-
}
|
111 |
-
.dslc-icon-5x.dslc-icon-border {
|
112 |
-
border-width: 5px;
|
113 |
-
-webkit-border-radius: 7px;
|
114 |
-
-moz-border-radius: 7px;
|
115 |
-
border-radius: 7px;
|
116 |
-
}
|
117 |
-
.pull-right {
|
118 |
-
float: right;
|
119 |
-
}
|
120 |
-
.pull-left {
|
121 |
-
float: left;
|
122 |
-
}
|
123 |
-
[class^="dslc-icon-"].pull-left,
|
124 |
-
[class*=" dslc-icon-"].pull-left {
|
125 |
-
margin-right: .3em;
|
126 |
-
}
|
127 |
-
[class^="dslc-icon-"].pull-right,
|
128 |
-
[class*=" dslc-icon-"].pull-right {
|
129 |
-
margin-left: .3em;
|
130 |
-
}
|
131 |
-
/* BOOTSTRAP SPECIFIC CLASSES
|
132 |
-
* -------------------------- */
|
133 |
-
/* Bootstrap 2.0 sprites.less reset */
|
134 |
-
[class^="dslc-icon-"],
|
135 |
-
[class*=" dslc-icon-"] {
|
136 |
-
display: inline;
|
137 |
-
width: auto;
|
138 |
-
height: auto;
|
139 |
-
line-height: normal;
|
140 |
-
vertical-align: baseline;
|
141 |
-
background-image: none;
|
142 |
-
background-position: 0% 0%;
|
143 |
-
background-repeat: repeat;
|
144 |
-
margin-top: 0;
|
145 |
-
}
|
146 |
-
/* more sprites.less reset */
|
147 |
-
.dslc-icon-white,
|
148 |
-
.nav-pills > .active > a > [class^="dslc-icon-"],
|
149 |
-
.nav-pills > .active > a > [class*=" dslc-icon-"],
|
150 |
-
.nav-list > .active > a > [class^="dslc-icon-"],
|
151 |
-
.nav-list > .active > a > [class*=" dslc-icon-"],
|
152 |
-
.navbar-inverse .nav > .active > a > [class^="dslc-icon-"],
|
153 |
-
.navbar-inverse .nav > .active > a > [class*=" dslc-icon-"],
|
154 |
-
.dropdown-menu > li > a:hover > [class^="dslc-icon-"],
|
155 |
-
.dropdown-menu > li > a:hover > [class*=" dslc-icon-"],
|
156 |
-
.dropdown-menu > .active > a > [class^="dslc-icon-"],
|
157 |
-
.dropdown-menu > .active > a > [class*=" dslc-icon-"],
|
158 |
-
.dropdown-submenu:hover > a > [class^="dslc-icon-"],
|
159 |
-
.dropdown-submenu:hover > a > [class*=" dslc-icon-"] {
|
160 |
-
background-image: none;
|
161 |
-
}
|
162 |
-
/* keeps Bootstrap styles with and without dslc-icons the same */
|
163 |
-
.btn [class^="dslc-icon-"].dslc-icon-large,
|
164 |
-
.nav [class^="dslc-icon-"].dslc-icon-large,
|
165 |
-
.btn [class*=" dslc-icon-"].dslc-icon-large,
|
166 |
-
.nav [class*=" dslc-icon-"].dslc-icon-large {
|
167 |
-
line-height: .9em;
|
168 |
-
}
|
169 |
-
.btn [class^="dslc-icon-"].dslc-icon-spin,
|
170 |
-
.nav [class^="dslc-icon-"].dslc-icon-spin,
|
171 |
-
.btn [class*=" dslc-icon-"].dslc-icon-spin,
|
172 |
-
.nav [class*=" dslc-icon-"].dslc-icon-spin {
|
173 |
-
display: inline-block;
|
174 |
-
}
|
175 |
-
.nav-tabs [class^="dslc-icon-"],
|
176 |
-
.nav-pills [class^="dslc-icon-"],
|
177 |
-
.nav-tabs [class*=" dslc-icon-"],
|
178 |
-
.nav-pills [class*=" dslc-icon-"],
|
179 |
-
.nav-tabs [class^="dslc-icon-"].dslc-icon-large,
|
180 |
-
.nav-pills [class^="dslc-icon-"].dslc-icon-large,
|
181 |
-
.nav-tabs [class*=" dslc-icon-"].dslc-icon-large,
|
182 |
-
.nav-pills [class*=" dslc-icon-"].dslc-icon-large {
|
183 |
-
line-height: .9em;
|
184 |
-
}
|
185 |
-
.btn [class^="dslc-icon-"].pull-left.dslc-icon-2x,
|
186 |
-
.btn [class*=" dslc-icon-"].pull-left.dslc-icon-2x,
|
187 |
-
.btn [class^="dslc-icon-"].pull-right.dslc-icon-2x,
|
188 |
-
.btn [class*=" dslc-icon-"].pull-right.dslc-icon-2x {
|
189 |
-
margin-top: .18em;
|
190 |
-
}
|
191 |
-
.btn [class^="dslc-icon-"].dslc-icon-spin.dslc-icon-large,
|
192 |
-
.btn [class*=" dslc-icon-"].dslc-icon-spin.dslc-icon-large {
|
193 |
-
line-height: .8em;
|
194 |
-
}
|
195 |
-
.btn.btn-small [class^="dslc-icon-"].pull-left.dslc-icon-2x,
|
196 |
-
.btn.btn-small [class*=" dslc-icon-"].pull-left.dslc-icon-2x,
|
197 |
-
.btn.btn-small [class^="dslc-icon-"].pull-right.dslc-icon-2x,
|
198 |
-
.btn.btn-small [class*=" dslc-icon-"].pull-right.dslc-icon-2x {
|
199 |
-
margin-top: .25em;
|
200 |
-
}
|
201 |
-
.btn.btn-large [class^="dslc-icon-"],
|
202 |
-
.btn.btn-large [class*=" dslc-icon-"] {
|
203 |
-
margin-top: 0;
|
204 |
-
}
|
205 |
-
.btn.btn-large [class^="dslc-icon-"].pull-left.dslc-icon-2x,
|
206 |
-
.btn.btn-large [class*=" dslc-icon-"].pull-left.dslc-icon-2x,
|
207 |
-
.btn.btn-large [class^="dslc-icon-"].pull-right.dslc-icon-2x,
|
208 |
-
.btn.btn-large [class*=" dslc-icon-"].pull-right.dslc-icon-2x {
|
209 |
-
margin-top: .05em;
|
210 |
-
}
|
211 |
-
.btn.btn-large [class^="dslc-icon-"].pull-left.dslc-icon-2x,
|
212 |
-
.btn.btn-large [class*=" dslc-icon-"].pull-left.dslc-icon-2x {
|
213 |
-
margin-right: .2em;
|
214 |
-
}
|
215 |
-
.btn.btn-large [class^="dslc-icon-"].pull-right.dslc-icon-2x,
|
216 |
-
.btn.btn-large [class*=" dslc-icon-"].pull-right.dslc-icon-2x {
|
217 |
-
margin-left: .2em;
|
218 |
-
}
|
219 |
-
/* Fixes alignment in nav lists */
|
220 |
-
.nav-list [class^="dslc-icon-"],
|
221 |
-
.nav-list [class*=" dslc-icon-"] {
|
222 |
-
line-height: inherit;
|
223 |
-
}
|
224 |
-
/* EXTRAS
|
225 |
-
* -------------------------- */
|
226 |
-
/* Stacked and layered dslc-icon */
|
227 |
-
.dslc-icon-stack {
|
228 |
-
position: relative;
|
229 |
-
display: inline-block;
|
230 |
-
width: 2em;
|
231 |
-
height: 2em;
|
232 |
-
line-height: 2em;
|
233 |
-
vertical-align: -35%;
|
234 |
-
}
|
235 |
-
.dslc-icon-stack [class^="dslc-icon-"],
|
236 |
-
.dslc-icon-stack [class*=" dslc-icon-"] {
|
237 |
-
display: block;
|
238 |
-
text-align: center;
|
239 |
-
position: absolute;
|
240 |
-
width: 100%;
|
241 |
-
height: 100%;
|
242 |
-
font-size: 1em;
|
243 |
-
line-height: inherit;
|
244 |
-
*line-height: 2em;
|
245 |
-
}
|
246 |
-
.dslc-icon-stack .dslc-icon-stack-base {
|
247 |
-
font-size: 2em;
|
248 |
-
*line-height: 1em;
|
249 |
-
}
|
250 |
-
/* Animated rotating dslc-icon */
|
251 |
-
.dslc-icon-spin {
|
252 |
-
display: inline-block;
|
253 |
-
-moz-animation: spin 2s infinite linear;
|
254 |
-
-o-animation: spin 2s infinite linear;
|
255 |
-
-webkit-animation: spin 2s infinite linear;
|
256 |
-
animation: spin 2s infinite linear;
|
257 |
-
}
|
258 |
-
/* Prevent stack and spinners from being taken inline when inside a link */
|
259 |
-
a .dslc-icon-stack,
|
260 |
-
a .dslc-icon-spin {
|
261 |
-
display: inline-block;
|
262 |
-
text-decoration: none;
|
263 |
-
}
|
264 |
-
@-moz-keyframes spin {
|
265 |
-
0% {
|
266 |
-
-moz-transform: rotate(0deg);
|
267 |
-
}
|
268 |
-
100% {
|
269 |
-
-moz-transform: rotate(359deg);
|
270 |
-
}
|
271 |
-
}
|
272 |
-
@-webkit-keyframes spin {
|
273 |
-
0% {
|
274 |
-
-webkit-transform: rotate(0deg);
|
275 |
-
}
|
276 |
-
100% {
|
277 |
-
-webkit-transform: rotate(359deg);
|
278 |
-
}
|
279 |
-
}
|
280 |
-
@-o-keyframes spin {
|
281 |
-
0% {
|
282 |
-
-o-transform: rotate(0deg);
|
283 |
-
}
|
284 |
-
100% {
|
285 |
-
-o-transform: rotate(359deg);
|
286 |
-
}
|
287 |
-
}
|
288 |
-
@-ms-keyframes spin {
|
289 |
-
0% {
|
290 |
-
-ms-transform: rotate(0deg);
|
291 |
-
}
|
292 |
-
100% {
|
293 |
-
-ms-transform: rotate(359deg);
|
294 |
-
}
|
295 |
-
}
|
296 |
-
@keyframes spin {
|
297 |
-
0% {
|
298 |
-
transform: rotate(0deg);
|
299 |
-
}
|
300 |
-
100% {
|
301 |
-
transform: rotate(359deg);
|
302 |
-
}
|
303 |
-
}
|
304 |
-
/* dslc-icon rotations and mirroring */
|
305 |
-
.dslc-icon-rotate-90:before {
|
306 |
-
-webkit-transform: rotate(90deg);
|
307 |
-
-moz-transform: rotate(90deg);
|
308 |
-
-ms-transform: rotate(90deg);
|
309 |
-
-o-transform: rotate(90deg);
|
310 |
-
transform: rotate(90deg);
|
311 |
-
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1);
|
312 |
-
}
|
313 |
-
.dslc-icon-rotate-180:before {
|
314 |
-
-webkit-transform: rotate(180deg);
|
315 |
-
-moz-transform: rotate(180deg);
|
316 |
-
-ms-transform: rotate(180deg);
|
317 |
-
-o-transform: rotate(180deg);
|
318 |
-
transform: rotate(180deg);
|
319 |
-
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2);
|
320 |
-
}
|
321 |
-
.dslc-icon-rotate-270:before {
|
322 |
-
-webkit-transform: rotate(270deg);
|
323 |
-
-moz-transform: rotate(270deg);
|
324 |
-
-ms-transform: rotate(270deg);
|
325 |
-
-o-transform: rotate(270deg);
|
326 |
-
transform: rotate(270deg);
|
327 |
-
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
|
328 |
-
}
|
329 |
-
.dslc-icon-flip-horizontal:before {
|
330 |
-
-webkit-transform: scale(-1, 1);
|
331 |
-
-moz-transform: scale(-1, 1);
|
332 |
-
-ms-transform: scale(-1, 1);
|
333 |
-
-o-transform: scale(-1, 1);
|
334 |
-
transform: scale(-1, 1);
|
335 |
-
}
|
336 |
-
.dslc-icon-flip-vertical:before {
|
337 |
-
-webkit-transform: scale(1, -1);
|
338 |
-
-moz-transform: scale(1, -1);
|
339 |
-
-ms-transform: scale(1, -1);
|
340 |
-
-o-transform: scale(1, -1);
|
341 |
-
transform: scale(1, -1);
|
342 |
-
}
|
343 |
-
/* ensure rotation occurs inside anchor tags */
|
344 |
-
a .dslc-icon-rotate-90:before,
|
345 |
-
a .dslc-icon-rotate-180:before,
|
346 |
-
a .dslc-icon-rotate-270:before,
|
347 |
-
a .dslc-icon-flip-horizontal:before,
|
348 |
-
a .dslc-icon-flip-vertical:before {
|
349 |
-
display: inline-block;
|
350 |
-
}
|
351 |
-
/* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen
|
352 |
-
readers do not read off random characters that represent dslc-icons */
|
353 |
-
.dslc-icon-glass:before {
|
354 |
-
content: "\f000";
|
355 |
-
}
|
356 |
-
.dslc-icon-music:before {
|
357 |
-
content: "\f001";
|
358 |
-
}
|
359 |
-
.dslc-icon-search:before {
|
360 |
-
content: "\f002";
|
361 |
-
}
|
362 |
-
.dslc-icon-envelope-alt:before {
|
363 |
-
content: "\f003";
|
364 |
-
}
|
365 |
-
.dslc-icon-heart:before {
|
366 |
-
content: "\f004";
|
367 |
-
}
|
368 |
-
.dslc-icon-star:before {
|
369 |
-
content: "\f005";
|
370 |
-
}
|
371 |
-
.dslc-icon-star-empty:before {
|
372 |
-
content: "\f006";
|
373 |
-
}
|
374 |
-
.dslc-icon-user:before {
|
375 |
-
content: "\f007";
|
376 |
-
}
|
377 |
-
.dslc-icon-film:before {
|
378 |
-
content: "\f008";
|
379 |
-
}
|
380 |
-
.dslc-icon-th-large:before {
|
381 |
-
content: "\f009";
|
382 |
-
}
|
383 |
-
.dslc-icon-th:before {
|
384 |
-
content: "\f00a";
|
385 |
-
}
|
386 |
-
.dslc-icon-th-list:before {
|
387 |
-
content: "\f00b";
|
388 |
-
}
|
389 |
-
.dslc-icon-ok:before {
|
390 |
-
content: "\f00c";
|
391 |
-
}
|
392 |
-
.dslc-icon-remove:before {
|
393 |
-
content: "\f00d";
|
394 |
-
}
|
395 |
-
.dslc-icon-zoom-in:before {
|
396 |
-
content: "\f00e";
|
397 |
-
}
|
398 |
-
.dslc-icon-zoom-out:before {
|
399 |
-
content: "\f010";
|
400 |
-
}
|
401 |
-
.dslc-icon-power-off:before,
|
402 |
-
.dslc-icon-off:before {
|
403 |
-
content: "\f011";
|
404 |
-
}
|
405 |
-
.dslc-icon-signal:before {
|
406 |
-
content: "\f012";
|
407 |
-
}
|
408 |
-
.dslc-icon-gear:before,
|
409 |
-
.dslc-icon-cog:before {
|
410 |
-
content: "\f013";
|
411 |
-
}
|
412 |
-
.dslc-icon-trash:before {
|
413 |
-
content: "\f014";
|
414 |
-
}
|
415 |
-
.dslc-icon-home:before {
|
416 |
-
content: "\f015";
|
417 |
-
}
|
418 |
-
.dslc-icon-file-alt:before {
|
419 |
-
content: "\f016";
|
420 |
-
}
|
421 |
-
.dslc-icon-time:before {
|
422 |
-
content: "\f017";
|
423 |
-
}
|
424 |
-
.dslc-icon-road:before {
|
425 |
-
content: "\f018";
|
426 |
-
}
|
427 |
-
.dslc-icon-download-alt:before {
|
428 |
-
content: "\f019";
|
429 |
-
}
|
430 |
-
.dslc-icon-download:before {
|
431 |
-
content: "\f01a";
|
432 |
-
}
|
433 |
-
.dslc-icon-upload:before {
|
434 |
-
content: "\f01b";
|
435 |
-
}
|
436 |
-
.dslc-icon-inbox:before {
|
437 |
-
content: "\f01c";
|
438 |
-
}
|
439 |
-
.dslc-icon-play-circle:before {
|
440 |
-
content: "\f01d";
|
441 |
-
}
|
442 |
-
.dslc-icon-rotate-right:before,
|
443 |
-
.dslc-icon-repeat:before {
|
444 |
-
content: "\f01e";
|
445 |
-
}
|
446 |
-
.dslc-icon-refresh:before {
|
447 |
-
content: "\f021";
|
448 |
-
}
|
449 |
-
.dslc-icon-list-alt:before {
|
450 |
-
content: "\f022";
|
451 |
-
}
|
452 |
-
.dslc-icon-lock:before {
|
453 |
-
content: "\f023";
|
454 |
-
}
|
455 |
-
.dslc-icon-flag:before {
|
456 |
-
content: "\f024";
|
457 |
-
}
|
458 |
-
.dslc-icon-headphones:before {
|
459 |
-
content: "\f025";
|
460 |
-
}
|
461 |
-
.dslc-icon-volume-off:before {
|
462 |
-
content: "\f026";
|
463 |
-
}
|
464 |
-
.dslc-icon-volume-down:before {
|
465 |
-
content: "\f027";
|
466 |
-
}
|
467 |
-
.dslc-icon-volume-up:before {
|
468 |
-
content: "\f028";
|
469 |
-
}
|
470 |
-
.dslc-icon-qrcode:before {
|
471 |
-
content: "\f029";
|
472 |
-
}
|
473 |
-
.dslc-icon-barcode:before {
|
474 |
-
content: "\f02a";
|
475 |
-
}
|
476 |
-
.dslc-icon-tag:before {
|
477 |
-
content: "\f02b";
|
478 |
-
}
|
479 |
-
.dslc-icon-tags:before {
|
480 |
-
content: "\f02c";
|
481 |
-
}
|
482 |
-
.dslc-icon-book:before {
|
483 |
-
content: "\f02d";
|
484 |
-
}
|
485 |
-
.dslc-icon-bookmark:before {
|
486 |
-
content: "\f02e";
|
487 |
-
}
|
488 |
-
.dslc-icon-print:before {
|
489 |
-
content: "\f02f";
|
490 |
-
}
|
491 |
-
.dslc-icon-camera:before {
|
492 |
-
content: "\f030";
|
493 |
-
}
|
494 |
-
.dslc-icon-font:before {
|
495 |
-
content: "\f031";
|
496 |
-
}
|
497 |
-
.dslc-icon-bold:before {
|
498 |
-
content: "\f032";
|
499 |
-
}
|
500 |
-
.dslc-icon-italic:before {
|
501 |
-
content: "\f033";
|
502 |
-
}
|
503 |
-
.dslc-icon-text-height:before {
|
504 |
-
content: "\f034";
|
505 |
-
}
|
506 |
-
.dslc-icon-text-width:before {
|
507 |
-
content: "\f035";
|
508 |
-
}
|
509 |
-
.dslc-icon-align-left:before {
|
510 |
-
content: "\f036";
|
511 |
-
}
|
512 |
-
.dslc-icon-align-center:before {
|
513 |
-
content: "\f037";
|
514 |
-
}
|
515 |
-
.dslc-icon-align-right:before {
|
516 |
-
content: "\f038";
|
517 |
-
}
|
518 |
-
.dslc-icon-align-justify:before {
|
519 |
-
content: "\f039";
|
520 |
-
}
|
521 |
-
.dslc-icon-list:before {
|
522 |
-
content: "\f03a";
|
523 |
-
}
|
524 |
-
.dslc-icon-indent-left:before {
|
525 |
-
content: "\f03b";
|
526 |
-
}
|
527 |
-
.dslc-icon-indent-right:before {
|
528 |
-
content: "\f03c";
|
529 |
-
}
|
530 |
-
.dslc-icon-facetime-video:before {
|
531 |
-
content: "\f03d";
|
532 |
-
}
|
533 |
-
.dslc-icon-picture:before {
|
534 |
-
content: "\f03e";
|
535 |
-
}
|
536 |
-
.dslc-icon-pencil:before {
|
537 |
-
content: "\f040";
|
538 |
-
}
|
539 |
-
.dslc-icon-map-marker:before {
|
540 |
-
content: "\f041";
|
541 |
-
}
|
542 |
-
.dslc-icon-adjust:before {
|
543 |
-
content: "\f042";
|
544 |
-
}
|
545 |
-
.dslc-icon-tint:before {
|
546 |
-
content: "\f043";
|
547 |
-
}
|
548 |
-
.dslc-icon-edit:before {
|
549 |
-
content: "\f044";
|
550 |
-
}
|
551 |
-
.dslc-icon-share:before {
|
552 |
-
content: "\f045";
|
553 |
-
}
|
554 |
-
.dslc-icon-check:before {
|
555 |
-
content: "\f046";
|
556 |
-
}
|
557 |
-
.dslc-icon-move:before {
|
558 |
-
content: "\f047";
|
559 |
-
}
|
560 |
-
.dslc-icon-step-backward:before {
|
561 |
-
content: "\f048";
|
562 |
-
}
|
563 |
-
.dslc-icon-fast-backward:before {
|
564 |
-
content: "\f049";
|
565 |
-
}
|
566 |
-
.dslc-icon-backward:before {
|
567 |
-
content: "\f04a";
|
568 |
-
}
|
569 |
-
.dslc-icon-play:before {
|
570 |
-
content: "\f04b";
|
571 |
-
}
|
572 |
-
.dslc-icon-pause:before {
|
573 |
-
content: "\f04c";
|
574 |
-
}
|
575 |
-
.dslc-icon-stop:before {
|
576 |
-
content: "\f04d";
|
577 |
-
}
|
578 |
-
.dslc-icon-forward:before {
|
579 |
-
content: "\f04e";
|
580 |
-
}
|
581 |
-
.dslc-icon-fast-forward:before {
|
582 |
-
content: "\f050";
|
583 |
-
}
|
584 |
-
.dslc-icon-step-forward:before {
|
585 |
-
content: "\f051";
|
586 |
-
}
|
587 |
-
.dslc-icon-eject:before {
|
588 |
-
content: "\f052";
|
589 |
-
}
|
590 |
-
.dslc-icon-chevron-left:before {
|
591 |
-
content: "\f053";
|
592 |
-
}
|
593 |
-
.dslc-icon-chevron-right:before {
|
594 |
-
content: "\f054";
|
595 |
-
}
|
596 |
-
.dslc-icon-plus-sign:before {
|
597 |
-
content: "\f055";
|
598 |
-
}
|
599 |
-
.dslc-icon-minus-sign:before {
|
600 |
-
content: "\f056";
|
601 |
-
}
|
602 |
-
.dslc-icon-remove-sign:before {
|
603 |
-
content: "\f057";
|
604 |
-
}
|
605 |
-
.dslc-icon-ok-sign:before {
|
606 |
-
content: "\f058";
|
607 |
-
}
|
608 |
-
.dslc-icon-question-sign:before {
|
609 |
-
content: "\f059";
|
610 |
-
}
|
611 |
-
.dslc-icon-info-sign:before {
|
612 |
-
content: "\f05a";
|
613 |
-
}
|
614 |
-
.dslc-icon-screenshot:before {
|
615 |
-
content: "\f05b";
|
616 |
-
}
|
617 |
-
.dslc-icon-remove-circle:before {
|
618 |
-
content: "\f05c";
|
619 |
-
}
|
620 |
-
.dslc-icon-ok-circle:before {
|
621 |
-
content: "\f05d";
|
622 |
-
}
|
623 |
-
.dslc-icon-ban-circle:before {
|
624 |
-
content: "\f05e";
|
625 |
-
}
|
626 |
-
.dslc-icon-arrow-left:before {
|
627 |
-
content: "\f060";
|
628 |
-
}
|
629 |
-
.dslc-icon-arrow-right:before {
|
630 |
-
content: "\f061";
|
631 |
-
}
|
632 |
-
.dslc-icon-arrow-up:before {
|
633 |
-
content: "\f062";
|
634 |
-
}
|
635 |
-
.dslc-icon-arrow-down:before {
|
636 |
-
content: "\f063";
|
637 |
-
}
|
638 |
-
.dslc-icon-mail-forward:before,
|
639 |
-
.dslc-icon-share-alt:before {
|
640 |
-
content: "\f064";
|
641 |
-
}
|
642 |
-
.dslc-icon-resize-full:before {
|
643 |
-
content: "\f065";
|
644 |
-
}
|
645 |
-
.dslc-icon-resize-small:before {
|
646 |
-
content: "\f066";
|
647 |
-
}
|
648 |
-
.dslc-icon-plus:before {
|
649 |
-
content: "\f067";
|
650 |
-
}
|
651 |
-
.dslc-icon-minus:before {
|
652 |
-
content: "\f068";
|
653 |
-
}
|
654 |
-
.dslc-icon-asterisk:before {
|
655 |
-
content: "\f069";
|
656 |
-
}
|
657 |
-
.dslc-icon-exclamation-sign:before {
|
658 |
-
content: "\f06a";
|
659 |
-
}
|
660 |
-
.dslc-icon-gift:before {
|
661 |
-
content: "\f06b";
|
662 |
-
}
|
663 |
-
.dslc-icon-leaf:before {
|
664 |
-
content: "\f06c";
|
665 |
-
}
|
666 |
-
.dslc-icon-fire:before {
|
667 |
-
content: "\f06d";
|
668 |
-
}
|
669 |
-
.dslc-icon-eye-open:before {
|
670 |
-
content: "\f06e";
|
671 |
-
}
|
672 |
-
.dslc-icon-eye-close:before {
|
673 |
-
content: "\f070";
|
674 |
-
}
|
675 |
-
.dslc-icon-warning-sign:before {
|
676 |
-
content: "\f071";
|
677 |
-
}
|
678 |
-
.dslc-icon-plane:before {
|
679 |
-
content: "\f072";
|
680 |
-
}
|
681 |
-
.dslc-icon-calendar:before {
|
682 |
-
content: "\f073";
|
683 |
-
}
|
684 |
-
.dslc-icon-random:before {
|
685 |
-
content: "\f074";
|
686 |
-
}
|
687 |
-
.dslc-icon-comment:before {
|
688 |
-
content: "\f075";
|
689 |
-
}
|
690 |
-
.dslc-icon-magnet:before {
|
691 |
-
content: "\f076";
|
692 |
-
}
|
693 |
-
.dslc-icon-chevron-up:before {
|
694 |
-
content: "\f077";
|
695 |
-
}
|
696 |
-
.dslc-icon-chevron-down:before {
|
697 |
-
content: "\f078";
|
698 |
-
}
|
699 |
-
.dslc-icon-retweet:before {
|
700 |
-
content: "\f079";
|
701 |
-
}
|
702 |
-
.dslc-icon-shopping-cart:before {
|
703 |
-
content: "\f07a";
|
704 |
-
}
|
705 |
-
.dslc-icon-folder-close:before {
|
706 |
-
content: "\f07b";
|
707 |
-
}
|
708 |
-
.dslc-icon-folder-open:before {
|
709 |
-
content: "\f07c";
|
710 |
-
}
|
711 |
-
.dslc-icon-resize-vertical:before {
|
712 |
-
content: "\f07d";
|
713 |
-
}
|
714 |
-
.dslc-icon-resize-horizontal:before {
|
715 |
-
content: "\f07e";
|
716 |
-
}
|
717 |
-
.dslc-icon-bar-chart:before {
|
718 |
-
content: "\f080";
|
719 |
-
}
|
720 |
-
.dslc-icon-twitter-sign:before {
|
721 |
-
content: "\f081";
|
722 |
-
}
|
723 |
-
.dslc-icon-facebook-sign:before {
|
724 |
-
content: "\f082";
|
725 |
-
}
|
726 |
-
.dslc-icon-camera-retro:before {
|
727 |
-
content: "\f083";
|
728 |
-
}
|
729 |
-
.dslc-icon-key:before {
|
730 |
-
content: "\f084";
|
731 |
-
}
|
732 |
-
.dslc-icon-gears:before,
|
733 |
-
.dslc-icon-cogs:before {
|
734 |
-
content: "\f085";
|
735 |
-
}
|
736 |
-
.dslc-icon-comments:before {
|
737 |
-
content: "\f086";
|
738 |
-
}
|
739 |
-
.dslc-icon-thumbs-up-alt:before {
|
740 |
-
content: "\f087";
|
741 |
-
}
|
742 |
-
.dslc-icon-thumbs-down-alt:before {
|
743 |
-
content: "\f088";
|
744 |
-
}
|
745 |
-
.dslc-icon-star-half:before {
|
746 |
-
content: "\f089";
|
747 |
-
}
|
748 |
-
.dslc-icon-heart-empty:before {
|
749 |
-
content: "\f08a";
|
750 |
-
}
|
751 |
-
.dslc-icon-signout:before {
|
752 |
-
content: "\f08b";
|
753 |
-
}
|
754 |
-
.dslc-icon-linkedin-sign:before {
|
755 |
-
content: "\f08c";
|
756 |
-
}
|
757 |
-
.dslc-icon-pushpin:before {
|
758 |
-
content: "\f08d";
|
759 |
-
}
|
760 |
-
.dslc-icon-external-link:before {
|
761 |
-
content: "\f08e";
|
762 |
-
}
|
763 |
-
.dslc-icon-signin:before {
|
764 |
-
content: "\f090";
|
765 |
-
}
|
766 |
-
.dslc-icon-trophy:before {
|
767 |
-
content: "\f091";
|
768 |
-
}
|
769 |
-
.dslc-icon-github-sign:before {
|
770 |
-
content: "\f092";
|
771 |
-
}
|
772 |
-
.dslc-icon-upload-alt:before {
|
773 |
-
content: "\f093";
|
774 |
-
}
|
775 |
-
.dslc-icon-lemon:before {
|
776 |
-
content: "\f094";
|
777 |
-
}
|
778 |
-
.dslc-icon-phone:before {
|
779 |
-
content: "\f095";
|
780 |
-
}
|
781 |
-
.dslc-icon-unchecked:before,
|
782 |
-
.dslc-icon-check-empty:before {
|
783 |
-
content: "\f096";
|
784 |
-
}
|
785 |
-
.dslc-icon-bookmark-empty:before {
|
786 |
-
content: "\f097";
|
787 |
-
}
|
788 |
-
.dslc-icon-phone-sign:before {
|
789 |
-
content: "\f098";
|
790 |
-
}
|
791 |
-
.dslc-icon-twitter:before {
|
792 |
-
content: "\f099";
|
793 |
-
}
|
794 |
-
.dslc-icon-facebook:before {
|
795 |
-
content: "\f09a";
|
796 |
-
}
|
797 |
-
.dslc-icon-github:before {
|
798 |
-
content: "\f09b";
|
799 |
-
}
|
800 |
-
.dslc-icon-unlock:before {
|
801 |
-
content: "\f09c";
|
802 |
-
}
|
803 |
-
.dslc-icon-credit-card:before {
|
804 |
-
content: "\f09d";
|
805 |
-
}
|
806 |
-
.dslc-icon-rss:before {
|
807 |
-
content: "\f09e";
|
808 |
-
}
|
809 |
-
.dslc-icon-hdd:before {
|
810 |
-
content: "\f0a0";
|
811 |
-
}
|
812 |
-
.dslc-icon-bullhorn:before {
|
813 |
-
content: "\f0a1";
|
814 |
-
}
|
815 |
-
.dslc-icon-bell:before {
|
816 |
-
content: "\f0a2";
|
817 |
-
}
|
818 |
-
.dslc-icon-certificate:before {
|
819 |
-
content: "\f0a3";
|
820 |
-
}
|
821 |
-
.dslc-icon-hand-right:before {
|
822 |
-
content: "\f0a4";
|
823 |
-
}
|
824 |
-
.dslc-icon-hand-left:before {
|
825 |
-
content: "\f0a5";
|
826 |
-
}
|
827 |
-
.dslc-icon-hand-up:before {
|
828 |
-
content: "\f0a6";
|
829 |
-
}
|
830 |
-
.dslc-icon-hand-down:before {
|
831 |
-
content: "\f0a7";
|
832 |
-
}
|
833 |
-
.dslc-icon-circle-arrow-left:before {
|
834 |
-
content: "\f0a8";
|
835 |
-
}
|
836 |
-
.dslc-icon-circle-arrow-right:before {
|
837 |
-
content: "\f0a9";
|
838 |
-
}
|
839 |
-
.dslc-icon-circle-arrow-up:before {
|
840 |
-
content: "\f0aa";
|
841 |
-
}
|
842 |
-
.dslc-icon-circle-arrow-down:before {
|
843 |
-
content: "\f0ab";
|
844 |
-
}
|
845 |
-
.dslc-icon-globe:before {
|
846 |
-
content: "\f0ac";
|
847 |
-
}
|
848 |
-
.dslc-icon-wrench:before {
|
849 |
-
content: "\f0ad";
|
850 |
-
}
|
851 |
-
.dslc-icon-tasks:before {
|
852 |
-
content: "\f0ae";
|
853 |
-
}
|
854 |
-
.dslc-icon-filter:before {
|
855 |
-
content: "\f0b0";
|
856 |
-
}
|
857 |
-
.dslc-icon-briefcase:before {
|
858 |
-
content: "\f0b1";
|
859 |
-
}
|
860 |
-
.dslc-icon-fullscreen:before {
|
861 |
-
content: "\f0b2";
|
862 |
-
}
|
863 |
-
.dslc-icon-group:before {
|
864 |
-
content: "\f0c0";
|
865 |
-
}
|
866 |
-
.dslc-icon-link:before {
|
867 |
-
content: "\f0c1";
|
868 |
-
}
|
869 |
-
.dslc-icon-cloud:before {
|
870 |
-
content: "\f0c2";
|
871 |
-
}
|
872 |
-
.dslc-icon-beaker:before {
|
873 |
-
content: "\f0c3";
|
874 |
-
}
|
875 |
-
.dslc-icon-cut:before {
|
876 |
-
content: "\f0c4";
|
877 |
-
}
|
878 |
-
.dslc-icon-copy:before {
|
879 |
-
content: "\f0c5";
|
880 |
-
}
|
881 |
-
.dslc-icon-paperclip:before,
|
882 |
-
.dslc-icon-paper-clip:before {
|
883 |
-
content: "\f0c6";
|
884 |
-
}
|
885 |
-
.dslc-icon-save:before {
|
886 |
-
content: "\f0c7";
|
887 |
-
}
|
888 |
-
.dslc-icon-sign-blank:before {
|
889 |
-
content: "\f0c8";
|
890 |
-
}
|
891 |
-
.dslc-icon-reorder:before {
|
892 |
-
content: "\f0c9";
|
893 |
-
}
|
894 |
-
.dslc-icon-list-ul:before {
|
895 |
-
content: "\f0ca";
|
896 |
-
}
|
897 |
-
.dslc-icon-list-ol:before {
|
898 |
-
content: "\f0cb";
|
899 |
-
}
|
900 |
-
.dslc-icon-strikethrough:before {
|
901 |
-
content: "\f0cc";
|
902 |
-
}
|
903 |
-
.dslc-icon-underline:before {
|
904 |
-
content: "\f0cd";
|
905 |
-
}
|
906 |
-
.dslc-icon-table:before {
|
907 |
-
content: "\f0ce";
|
908 |
-
}
|
909 |
-
.dslc-icon-magic:before {
|
910 |
-
content: "\f0d0";
|
911 |
-
}
|
912 |
-
.dslc-icon-truck:before {
|
913 |
-
content: "\f0d1";
|
914 |
-
}
|
915 |
-
.dslc-icon-pinterest:before {
|
916 |
-
content: "\f0d2";
|
917 |
-
}
|
918 |
-
.dslc-icon-pinterest-sign:before {
|
919 |
-
content: "\f0d3";
|
920 |
-
}
|
921 |
-
.dslc-icon-google-plus-sign:before {
|
922 |
-
content: "\f0d4";
|
923 |
-
}
|
924 |
-
.dslc-icon-google-plus:before {
|
925 |
-
content: "\f0d5";
|
926 |
-
}
|
927 |
-
.dslc-icon-money:before {
|
928 |
-
content: "\f0d6";
|
929 |
-
}
|
930 |
-
.dslc-icon-caret-down:before {
|
931 |
-
content: "\f0d7";
|
932 |
-
}
|
933 |
-
.dslc-icon-caret-up:before {
|
934 |
-
content: "\f0d8";
|
935 |
-
}
|
936 |
-
.dslc-icon-caret-left:before {
|
937 |
-
content: "\f0d9";
|
938 |
-
}
|
939 |
-
.dslc-icon-caret-right:before {
|
940 |
-
content: "\f0da";
|
941 |
-
}
|
942 |
-
.dslc-icon-columns:before {
|
943 |
-
content: "\f0db";
|
944 |
-
}
|
945 |
-
.dslc-icon-sort:before {
|
946 |
-
content: "\f0dc";
|
947 |
-
}
|
948 |
-
.dslc-icon-sort-down:before {
|
949 |
-
content: "\f0dd";
|
950 |
-
}
|
951 |
-
.dslc-icon-sort-up:before {
|
952 |
-
content: "\f0de";
|
953 |
-
}
|
954 |
-
.dslc-icon-envelope:before {
|
955 |
-
content: "\f0e0";
|
956 |
-
}
|
957 |
-
.dslc-icon-linkedin:before {
|
958 |
-
content: "\f0e1";
|
959 |
-
}
|
960 |
-
.dslc-icon-rotate-left:before,
|
961 |
-
.dslc-icon-undo:before {
|
962 |
-
content: "\f0e2";
|
963 |
-
}
|
964 |
-
.dslc-icon-legal:before {
|
965 |
-
content: "\f0e3";
|
966 |
-
}
|
967 |
-
.dslc-icon-dashboard:before {
|
968 |
-
content: "\f0e4";
|
969 |
-
}
|
970 |
-
.dslc-icon-comment-alt:before {
|
971 |
-
content: "\f0e5";
|
972 |
-
}
|
973 |
-
.dslc-icon-comments-alt:before {
|
974 |
-
content: "\f0e6";
|
975 |
-
}
|
976 |
-
.dslc-icon-bolt:before {
|
977 |
-
content: "\f0e7";
|
978 |
-
}
|
979 |
-
.dslc-icon-sitemap:before {
|
980 |
-
content: "\f0e8";
|
981 |
-
}
|
982 |
-
.dslc-icon-umbrella:before {
|
983 |
-
content: "\f0e9";
|
984 |
-
}
|
985 |
-
.dslc-icon-paste:before {
|
986 |
-
content: "\f0ea";
|
987 |
-
}
|
988 |
-
.dslc-icon-lightbulb:before {
|
989 |
-
content: "\f0eb";
|
990 |
-
}
|
991 |
-
.dslc-icon-exchange:before {
|
992 |
-
content: "\f0ec";
|
993 |
-
}
|
994 |
-
.dslc-icon-cloud-download:before {
|
995 |
-
content: "\f0ed";
|
996 |
-
}
|
997 |
-
.dslc-icon-cloud-upload:before {
|
998 |
-
content: "\f0ee";
|
999 |
-
}
|
1000 |
-
.dslc-icon-user-md:before {
|
1001 |
-
content: "\f0f0";
|
1002 |
-
}
|
1003 |
-
.dslc-icon-stethoscope:before {
|
1004 |
-
content: "\f0f1";
|
1005 |
-
}
|
1006 |
-
.dslc-icon-suitcase:before {
|
1007 |
-
content: "\f0f2";
|
1008 |
-
}
|
1009 |
-
.dslc-icon-bell-alt:before {
|
1010 |
-
content: "\f0f3";
|
1011 |
-
}
|
1012 |
-
.dslc-icon-coffee:before {
|
1013 |
-
content: "\f0f4";
|
1014 |
-
}
|
1015 |
-
.dslc-icon-food:before {
|
1016 |
-
content: "\f0f5";
|
1017 |
-
}
|
1018 |
-
.dslc-icon-file-text-alt:before {
|
1019 |
-
content: "\f0f6";
|
1020 |
-
}
|
1021 |
-
.dslc-icon-building:before {
|
1022 |
-
content: "\f0f7";
|
1023 |
-
}
|
1024 |
-
.dslc-icon-hospital:before {
|
1025 |
-
content: "\f0f8";
|
1026 |
-
}
|
1027 |
-
.dslc-icon-ambulance:before {
|
1028 |
-
content: "\f0f9";
|
1029 |
-
}
|
1030 |
-
.dslc-icon-medkit:before {
|
1031 |
-
content: "\f0fa";
|
1032 |
-
}
|
1033 |
-
.dslc-icon-fighter-jet:before {
|
1034 |
-
content: "\f0fb";
|
1035 |
-
}
|
1036 |
-
.dslc-icon-beer:before {
|
1037 |
-
content: "\f0fc";
|
1038 |
-
}
|
1039 |
-
.dslc-icon-h-sign:before {
|
1040 |
-
content: "\f0fd";
|
1041 |
-
}
|
1042 |
-
.dslc-icon-plus-sign-alt:before {
|
1043 |
-
content: "\f0fe";
|
1044 |
-
}
|
1045 |
-
.dslc-icon-double-angle-left:before {
|
1046 |
-
content: "\f100";
|
1047 |
-
}
|
1048 |
-
.dslc-icon-double-angle-right:before {
|
1049 |
-
content: "\f101";
|
1050 |
-
}
|
1051 |
-
.dslc-icon-double-angle-up:before {
|
1052 |
-
content: "\f102";
|
1053 |
-
}
|
1054 |
-
.dslc-icon-double-angle-down:before {
|
1055 |
-
content: "\f103";
|
1056 |
-
}
|
1057 |
-
.dslc-icon-angle-left:before {
|
1058 |
-
content: "\f104";
|
1059 |
-
}
|
1060 |
-
.dslc-icon-angle-right:before {
|
1061 |
-
content: "\f105";
|
1062 |
-
}
|
1063 |
-
.dslc-icon-angle-up:before {
|
1064 |
-
content: "\f106";
|
1065 |
-
}
|
1066 |
-
.dslc-icon-angle-down:before {
|
1067 |
-
content: "\f107";
|
1068 |
-
}
|
1069 |
-
.dslc-icon-desktop:before {
|
1070 |
-
content: "\f108";
|
1071 |
-
}
|
1072 |
-
.dslc-icon-laptop:before {
|
1073 |
-
content: "\f109";
|
1074 |
-
}
|
1075 |
-
.dslc-icon-tablet:before {
|
1076 |
-
content: "\f10a";
|
1077 |
-
}
|
1078 |
-
.dslc-icon-mobile-phone:before {
|
1079 |
-
content: "\f10b";
|
1080 |
-
}
|
1081 |
-
.dslc-icon-circle-blank:before {
|
1082 |
-
content: "\f10c";
|
1083 |
-
}
|
1084 |
-
.dslc-icon-quote-left:before {
|
1085 |
-
content: "\f10d";
|
1086 |
-
}
|
1087 |
-
.dslc-icon-quote-right:before {
|
1088 |
-
content: "\f10e";
|
1089 |
-
}
|
1090 |
-
.dslc-icon-spinner:before {
|
1091 |
-
content: "\f110";
|
1092 |
-
}
|
1093 |
-
.dslc-icon-circle:before {
|
1094 |
-
content: "\f111";
|
1095 |
-
}
|
1096 |
-
.dslc-icon-mail-reply:before,
|
1097 |
-
.dslc-icon-reply:before {
|
1098 |
-
content: "\f112";
|
1099 |
-
}
|
1100 |
-
.dslc-icon-github-alt:before {
|
1101 |
-
content: "\f113";
|
1102 |
-
}
|
1103 |
-
.dslc-icon-folder-close-alt:before {
|
1104 |
-
content: "\f114";
|
1105 |
-
}
|
1106 |
-
.dslc-icon-folder-open-alt:before {
|
1107 |
-
content: "\f115";
|
1108 |
-
}
|
1109 |
-
.dslc-icon-expand-alt:before {
|
1110 |
-
content: "\f116";
|
1111 |
-
}
|
1112 |
-
.dslc-icon-collapse-alt:before {
|
1113 |
-
content: "\f117";
|
1114 |
-
}
|
1115 |
-
.dslc-icon-smile:before {
|
1116 |
-
content: "\f118";
|
1117 |
-
}
|
1118 |
-
.dslc-icon-frown:before {
|
1119 |
-
content: "\f119";
|
1120 |
-
}
|
1121 |
-
.dslc-icon-meh:before {
|
1122 |
-
content: "\f11a";
|
1123 |
-
}
|
1124 |
-
.dslc-icon-gamepad:before {
|
1125 |
-
content: "\f11b";
|
1126 |
-
}
|
1127 |
-
.dslc-icon-keyboard:before {
|
1128 |
-
content: "\f11c";
|
1129 |
-
}
|
1130 |
-
.dslc-icon-flag-alt:before {
|
1131 |
-
content: "\f11d";
|
1132 |
-
}
|
1133 |
-
.dslc-icon-flag-checkered:before {
|
1134 |
-
content: "\f11e";
|
1135 |
-
}
|
1136 |
-
.dslc-icon-terminal:before {
|
1137 |
-
content: "\f120";
|
1138 |
-
}
|
1139 |
-
.dslc-icon-code:before {
|
1140 |
-
content: "\f121";
|
1141 |
-
}
|
1142 |
-
.dslc-icon-reply-all:before {
|
1143 |
-
content: "\f122";
|
1144 |
-
}
|
1145 |
-
.dslc-icon-mail-reply-all:before {
|
1146 |
-
content: "\f122";
|
1147 |
-
}
|
1148 |
-
.dslc-icon-star-half-full:before,
|
1149 |
-
.dslc-icon-star-half-empty:before {
|
1150 |
-
content: "\f123";
|
1151 |
-
}
|
1152 |
-
.dslc-icon-location-arrow:before {
|
1153 |
-
content: "\f124";
|
1154 |
-
}
|
1155 |
-
.dslc-icon-crop:before {
|
1156 |
-
content: "\f125";
|
1157 |
-
}
|
1158 |
-
.dslc-icon-code-fork:before {
|
1159 |
-
content: "\f126";
|
1160 |
-
}
|
1161 |
-
.dslc-icon-unlink:before {
|
1162 |
-
content: "\f127";
|
1163 |
-
}
|
1164 |
-
.dslc-icon-question:before {
|
1165 |
-
content: "\f128";
|
1166 |
-
}
|
1167 |
-
.dslc-icon-info:before {
|
1168 |
-
content: "\f129";
|
1169 |
-
}
|
1170 |
-
.dslc-icon-exclamation:before {
|
1171 |
-
content: "\f12a";
|
1172 |
-
}
|
1173 |
-
.dslc-icon-superscript:before {
|
1174 |
-
content: "\f12b";
|
1175 |
-
}
|
1176 |
-
.dslc-icon-subscript:before {
|
1177 |
-
content: "\f12c";
|
1178 |
-
}
|
1179 |
-
.dslc-icon-eraser:before {
|
1180 |
-
content: "\f12d";
|
1181 |
-
}
|
1182 |
-
.dslc-icon-puzzle-piece:before {
|
1183 |
-
content: "\f12e";
|
1184 |
-
}
|
1185 |
-
.dslc-icon-microphone:before {
|
1186 |
-
content: "\f130";
|
1187 |
-
}
|
1188 |
-
.dslc-icon-microphone-off:before {
|
1189 |
-
content: "\f131";
|
1190 |
-
}
|
1191 |
-
.dslc-icon-shield:before {
|
1192 |
-
content: "\f132";
|
1193 |
-
}
|
1194 |
-
.dslc-icon-calendar-empty:before {
|
1195 |
-
content: "\f133";
|
1196 |
-
}
|
1197 |
-
.dslc-icon-fire-extinguisher:before {
|
1198 |
-
content: "\f134";
|
1199 |
-
}
|
1200 |
-
.dslc-icon-rocket:before {
|
1201 |
-
content: "\f135";
|
1202 |
-
}
|
1203 |
-
.dslc-icon-maxcdn:before {
|
1204 |
-
content: "\f136";
|
1205 |
-
}
|
1206 |
-
.dslc-icon-chevron-sign-left:before {
|
1207 |
-
content: "\f137";
|
1208 |
-
}
|
1209 |
-
.dslc-icon-chevron-sign-right:before {
|
1210 |
-
content: "\f138";
|
1211 |
-
}
|
1212 |
-
.dslc-icon-chevron-sign-up:before {
|
1213 |
-
content: "\f139";
|
1214 |
-
}
|
1215 |
-
.dslc-icon-chevron-sign-down:before {
|
1216 |
-
content: "\f13a";
|
1217 |
-
}
|
1218 |
-
.dslc-icon-html5:before {
|
1219 |
-
content: "\f13b";
|
1220 |
-
}
|
1221 |
-
.dslc-icon-css3:before {
|
1222 |
-
content: "\f13c";
|
1223 |
-
}
|
1224 |
-
.dslc-icon-anchor:before {
|
1225 |
-
content: "\f13d";
|
1226 |
-
}
|
1227 |
-
.dslc-icon-unlock-alt:before {
|
1228 |
-
content: "\f13e";
|
1229 |
-
}
|
1230 |
-
.dslc-icon-bullseye:before {
|
1231 |
-
content: "\f140";
|
1232 |
-
}
|
1233 |
-
.dslc-icon-ellipsis-horizontal:before {
|
1234 |
-
content: "\f141";
|
1235 |
-
}
|
1236 |
-
.dslc-icon-ellipsis-vertical:before {
|
1237 |
-
content: "\f142";
|
1238 |
-
}
|
1239 |
-
.dslc-icon-rss-sign:before {
|
1240 |
-
content: "\f143";
|
1241 |
-
}
|
1242 |
-
.dslc-icon-play-sign:before {
|
1243 |
-
content: "\f144";
|
1244 |
-
}
|
1245 |
-
.dslc-icon-ticket:before {
|
1246 |
-
content: "\f145";
|
1247 |
-
}
|
1248 |
-
.dslc-icon-minus-sign-alt:before {
|
1249 |
-
content: "\f146";
|
1250 |
-
}
|
1251 |
-
.dslc-icon-check-minus:before {
|
1252 |
-
content: "\f147";
|
1253 |
-
}
|
1254 |
-
.dslc-icon-level-up:before {
|
1255 |
-
content: "\f148";
|
1256 |
-
}
|
1257 |
-
.dslc-icon-level-down:before {
|
1258 |
-
content: "\f149";
|
1259 |
-
}
|
1260 |
-
.dslc-icon-check-sign:before {
|
1261 |
-
content: "\f14a";
|
1262 |
-
}
|
1263 |
-
.dslc-icon-edit-sign:before {
|
1264 |
-
content: "\f14b";
|
1265 |
-
}
|
1266 |
-
.dslc-icon-external-link-sign:before {
|
1267 |
-
content: "\f14c";
|
1268 |
-
}
|
1269 |
-
.dslc-icon-share-sign:before {
|
1270 |
-
content: "\f14d";
|
1271 |
-
}
|
1272 |
-
.dslc-icon-compass:before {
|
1273 |
-
content: "\f14e";
|
1274 |
-
}
|
1275 |
-
.dslc-icon-collapse:before {
|
1276 |
-
content: "\f150";
|
1277 |
-
}
|
1278 |
-
.dslc-icon-collapse-top:before {
|
1279 |
-
content: "\f151";
|
1280 |
-
}
|
1281 |
-
.dslc-icon-expand:before {
|
1282 |
-
content: "\f152";
|
1283 |
-
}
|
1284 |
-
.dslc-icon-euro:before,
|
1285 |
-
.dslc-icon-eur:before {
|
1286 |
-
content: "\f153";
|
1287 |
-
}
|
1288 |
-
.dslc-icon-gbp:before {
|
1289 |
-
content: "\f154";
|
1290 |
-
}
|
1291 |
-
.dslc-icon-dollar:before,
|
1292 |
-
.dslc-icon-usd:before {
|
1293 |
-
content: "\f155";
|
1294 |
-
}
|
1295 |
-
.dslc-icon-rupee:before,
|
1296 |
-
.dslc-icon-inr:before {
|
1297 |
-
content: "\f156";
|
1298 |
-
}
|
1299 |
-
.dslc-icon-yen:before,
|
1300 |
-
.dslc-icon-jpy:before {
|
1301 |
-
content: "\f157";
|
1302 |
-
}
|
1303 |
-
.dslc-icon-renminbi:before,
|
1304 |
-
.dslc-icon-cny:before {
|
1305 |
-
content: "\f158";
|
1306 |
-
}
|
1307 |
-
.dslc-icon-won:before,
|
1308 |
-
.dslc-icon-krw:before {
|
1309 |
-
content: "\f159";
|
1310 |
-
}
|
1311 |
-
.dslc-icon-bitcoin:before,
|
1312 |
-
.dslc-icon-btc:before {
|
1313 |
-
content: "\f15a";
|
1314 |
-
}
|
1315 |
-
.dslc-icon-file:before {
|
1316 |
-
content: "\f15b";
|
1317 |
-
}
|
1318 |
-
.dslc-icon-file-text:before {
|
1319 |
-
content: "\f15c";
|
1320 |
-
}
|
1321 |
-
.dslc-icon-sort-by-alphabet:before {
|
1322 |
-
content: "\f15d";
|
1323 |
-
}
|
1324 |
-
.dslc-icon-sort-by-alphabet-alt:before {
|
1325 |
-
content: "\f15e";
|
1326 |
-
}
|
1327 |
-
.dslc-icon-sort-by-attributes:before {
|
1328 |
-
content: "\f160";
|
1329 |
-
}
|
1330 |
-
.dslc-icon-sort-by-attributes-alt:before {
|
1331 |
-
content: "\f161";
|
1332 |
-
}
|
1333 |
-
.dslc-icon-sort-by-order:before {
|
1334 |
-
content: "\f162";
|
1335 |
-
}
|
1336 |
-
.dslc-icon-sort-by-order-alt:before {
|
1337 |
-
content: "\f163";
|
1338 |
-
}
|
1339 |
-
.dslc-icon-thumbs-up:before {
|
1340 |
-
content: "\f164";
|
1341 |
-
}
|
1342 |
-
.dslc-icon-thumbs-down:before {
|
1343 |
-
content: "\f165";
|
1344 |
-
}
|
1345 |
-
.dslc-icon-youtube-sign:before {
|
1346 |
-
content: "\f166";
|
1347 |
-
}
|
1348 |
-
.dslc-icon-youtube:before {
|
1349 |
-
content: "\f167";
|
1350 |
-
}
|
1351 |
-
.dslc-icon-xing:before {
|
1352 |
-
content: "\f168";
|
1353 |
-
}
|
1354 |
-
.dslc-icon-xing-sign:before {
|
1355 |
-
content: "\f169";
|
1356 |
-
}
|
1357 |
-
.dslc-icon-youtube-play:before {
|
1358 |
-
content: "\f16a";
|
1359 |
-
}
|
1360 |
-
.dslc-icon-dropbox:before {
|
1361 |
-
content: "\f16b";
|
1362 |
-
}
|
1363 |
-
.dslc-icon-stackexchange:before {
|
1364 |
-
content: "\f16c";
|
1365 |
-
}
|
1366 |
-
.dslc-icon-instagram:before {
|
1367 |
-
content: "\f16d";
|
1368 |
-
}
|
1369 |
-
.dslc-icon-flickr:before {
|
1370 |
-
content: "\f16e";
|
1371 |
-
}
|
1372 |
-
.dslc-icon-adn:before {
|
1373 |
-
content: "\f170";
|
1374 |
-
}
|
1375 |
-
.dslc-icon-bitbucket:before {
|
1376 |
-
content: "\f171";
|
1377 |
-
}
|
1378 |
-
.dslc-icon-bitbucket-sign:before {
|
1379 |
-
content: "\f172";
|
1380 |
-
}
|
1381 |
-
.dslc-icon-tumblr:before {
|
1382 |
-
content: "\f173";
|
1383 |
-
}
|
1384 |
-
.dslc-icon-tumblr-sign:before {
|
1385 |
-
content: "\f174";
|
1386 |
-
}
|
1387 |
-
.dslc-icon-long-arrow-down:before {
|
1388 |
-
content: "\f175";
|
1389 |
-
}
|
1390 |
-
.dslc-icon-long-arrow-up:before {
|
1391 |
-
content: "\f176";
|
1392 |
-
}
|
1393 |
-
.dslc-icon-long-arrow-left:before {
|
1394 |
-
content: "\f177";
|
1395 |
-
}
|
1396 |
-
.dslc-icon-long-arrow-right:before {
|
1397 |
-
content: "\f178";
|
1398 |
-
}
|
1399 |
-
.dslc-icon-apple:before {
|
1400 |
-
content: "\f179";
|
1401 |
-
}
|
1402 |
-
.dslc-icon-windows:before {
|
1403 |
-
content: "\f17a";
|
1404 |
-
}
|
1405 |
-
.dslc-icon-android:before {
|
1406 |
-
content: "\f17b";
|
1407 |
-
}
|
1408 |
-
.dslc-icon-linux:before {
|
1409 |
-
content: "\f17c";
|
1410 |
-
}
|
1411 |
-
.dslc-icon-dribbble:before {
|
1412 |
-
content: "\f17d";
|
1413 |
-
}
|
1414 |
-
.dslc-icon-skype:before {
|
1415 |
-
content: "\f17e";
|
1416 |
-
}
|
1417 |
-
.dslc-icon-foursquare:before {
|
1418 |
-
content: "\f180";
|
1419 |
-
}
|
1420 |
-
.dslc-icon-trello:before {
|
1421 |
-
content: "\f181";
|
1422 |
-
}
|
1423 |
-
.dslc-icon-female:before {
|
1424 |
-
content: "\f182";
|
1425 |
-
}
|
1426 |
-
.dslc-icon-male:before {
|
1427 |
-
content: "\f183";
|
1428 |
-
}
|
1429 |
-
.dslc-icon-gittip:before {
|
1430 |
-
content: "\f184";
|
1431 |
-
}
|
1432 |
-
.dslc-icon-sun:before {
|
1433 |
-
content: "\f185";
|
1434 |
-
}
|
1435 |
-
.dslc-icon-moon:before {
|
1436 |
-
content: "\f186";
|
1437 |
-
}
|
1438 |
-
.dslc-icon-archive:before {
|
1439 |
-
content: "\f187";
|
1440 |
-
}
|
1441 |
-
.dslc-icon-bug:before {
|
1442 |
-
content: "\f188";
|
1443 |
-
}
|
1444 |
-
.dslc-icon-vk:before {
|
1445 |
-
content: "\f189";
|
1446 |
-
}
|
1447 |
-
.dslc-icon-weibo:before {
|
1448 |
-
content: "\f18a";
|
1449 |
-
}
|
1450 |
-
.dslc-icon-renren:before {
|
1451 |
-
content: "\f18b";
|
1452 |
-
}
|
1453 |
-
|
1454 |
-
/**
|
1455 |
-
* From 4.0
|
1456 |
-
*/
|
1457 |
-
|
1458 |
-
.dslc-icon-rouble:before {
|
1459 |
-
content: "\f158";
|
1460 |
-
}
|
1461 |
-
|
1462 |
-
.dslc-icon-pagelines:before {
|
1463 |
-
content: "\f18c";
|
1464 |
-
}
|
1465 |
-
|
1466 |
-
.dslc-icon-stack-exchange:before {
|
1467 |
-
content: "\f18d";
|
1468 |
-
}
|
1469 |
-
|
1470 |
-
.dslc-icon-arrow-circle-right:before {
|
1471 |
-
content: "\f18e";
|
1472 |
-
}
|
1473 |
-
|
1474 |
-
.dslc-icon-arrow-circle-left:before {
|
1475 |
-
content: "\f190";
|
1476 |
-
}
|
1477 |
-
|
1478 |
-
.dslc-icon-caret-square-left:before {
|
1479 |
-
content: "\f191";
|
1480 |
-
}
|
1481 |
-
|
1482 |
-
.dslc-icon-dot-circle:before {
|
1483 |
-
content: "\f192";
|
1484 |
-
}
|
1485 |
-
|
1486 |
-
.dslc-icon-wheelchair:before {
|
1487 |
-
content: "\f193";
|
1488 |
-
}
|
1489 |
-
|
1490 |
-
.dslc-icon-vimeo-square:before {
|
1491 |
-
content: "\f194";
|
1492 |
-
}
|
1493 |
-
|
1494 |
-
.dslc-icon-turkish-lira:before {
|
1495 |
-
content: "\f195";
|
1496 |
-
}
|
1497 |
-
|
1498 |
-
/**
|
1499 |
-
* 4.1
|
1500 |
-
*/
|
1501 |
-
|
1502 |
-
.dslc-icon-space-shuttle:before {
|
1503 |
-
content: "\f197";
|
1504 |
-
}
|
1505 |
-
.dslc-icon-slack:before {
|
1506 |
-
content: "\f198";
|
1507 |
-
}
|
1508 |
-
.dslc-icon-envelope-square:before {
|
1509 |
-
content: "\f199";
|
1510 |
-
}
|
1511 |
-
.dslc-icon-wordpress:before {
|
1512 |
-
content: "\f19a";
|
1513 |
-
}
|
1514 |
-
.dslc-icon-openid:before {
|
1515 |
-
content: "\f19b";
|
1516 |
-
}
|
1517 |
-
.dslc-icon-institution:before,
|
1518 |
-
.dslc-icon-bank:before,
|
1519 |
-
.dslc-icon-university:before {
|
1520 |
-
content: "\f19c";
|
1521 |
-
}
|
1522 |
-
.dslc-icon-mortar-board:before,
|
1523 |
-
.dslc-icon-graduation-cap:before {
|
1524 |
-
content: "\f19d";
|
1525 |
-
}
|
1526 |
-
.dslc-icon-yahoo:before {
|
1527 |
-
content: "\f19e";
|
1528 |
-
}
|
1529 |
-
.dslc-icon-google:before {
|
1530 |
-
content: "\f1a0";
|
1531 |
-
}
|
1532 |
-
.dslc-icon-reddit:before {
|
1533 |
-
content: "\f1a1";
|
1534 |
-
}
|
1535 |
-
.dslc-icon-reddit-square:before {
|
1536 |
-
content: "\f1a2";
|
1537 |
-
}
|
1538 |
-
.dslc-icon-stumbleupon-circle:before {
|
1539 |
-
content: "\f1a3";
|
1540 |
-
}
|
1541 |
-
.dslc-icon-stumbleupon:before {
|
1542 |
-
content: "\f1a4";
|
1543 |
-
}
|
1544 |
-
.dslc-icon-delicious:before {
|
1545 |
-
content: "\f1a5";
|
1546 |
-
}
|
1547 |
-
.dslc-icon-digg:before {
|
1548 |
-
content: "\f1a6";
|
1549 |
-
}
|
1550 |
-
.dslc-icon-pied-piper-square:before,
|
1551 |
-
.dslc-icon-pied-piper:before {
|
1552 |
-
content: "\f1a7";
|
1553 |
-
}
|
1554 |
-
.dslc-icon-pied-piper-alt:before {
|
1555 |
-
content: "\f1a8";
|
1556 |
-
}
|
1557 |
-
.dslc-icon-drupal:before {
|
1558 |
-
content: "\f1a9";
|
1559 |
-
}
|
1560 |
-
.dslc-icon-joomla:before {
|
1561 |
-
content: "\f1aa";
|
1562 |
-
}
|
1563 |
-
.dslc-icon-language:before {
|
1564 |
-
content: "\f1ab";
|
1565 |
-
}
|
1566 |
-
.dslc-icon-fax:before {
|
1567 |
-
content: "\f1ac";
|
1568 |
-
}
|
1569 |
-
.dslc-icon-building:before {
|
1570 |
-
content: "\f1ad";
|
1571 |
-
}
|
1572 |
-
.dslc-icon-child:before {
|
1573 |
-
content: "\f1ae";
|
1574 |
-
}
|
1575 |
-
.dslc-icon-paw:before {
|
1576 |
-
content: "\f1b0";
|
1577 |
-
}
|
1578 |
-
.dslc-icon-spoon:before {
|
1579 |
-
content: "\f1b1";
|
1580 |
-
}
|
1581 |
-
.dslc-icon-cube:before {
|
1582 |
-
content: "\f1b2";
|
1583 |
-
}
|
1584 |
-
.dslc-icon-cubes:before {
|
1585 |
-
content: "\f1b3";
|
1586 |
-
}
|
1587 |
-
.dslc-icon-behance:before {
|
1588 |
-
content: "\f1b4";
|
1589 |
-
}
|
1590 |
-
.dslc-icon-behance-square:before {
|
1591 |
-
content: "\f1b5";
|
1592 |
-
}
|
1593 |
-
.dslc-icon-steam:before {
|
1594 |
-
content: "\f1b6";
|
1595 |
-
}
|
1596 |
-
.dslc-icon-steam-square:before {
|
1597 |
-
content: "\f1b7";
|
1598 |
-
}
|
1599 |
-
.dslc-icon-recycle:before {
|
1600 |
-
content: "\f1b8";
|
1601 |
-
}
|
1602 |
-
.dslc-icon-automobile:before,
|
1603 |
-
.dslc-icon-car:before {
|
1604 |
-
content: "\f1b9";
|
1605 |
-
}
|
1606 |
-
.dslc-icon-cab:before,
|
1607 |
-
.dslc-icon-taxi:before {
|
1608 |
-
content: "\f1ba";
|
1609 |
-
}
|
1610 |
-
.dslc-icon-tree:before {
|
1611 |
-
content: "\f1bb";
|
1612 |
-
}
|
1613 |
-
.dslc-icon-spotify:before {
|
1614 |
-
content: "\f1bc";
|
1615 |
-
}
|
1616 |
-
.dslc-icon-deviantart:before {
|
1617 |
-
content: "\f1bd";
|
1618 |
-
}
|
1619 |
-
.dslc-icon-soundcloud:before {
|
1620 |
-
content: "\f1be";
|
1621 |
-
}
|
1622 |
-
.dslc-icon-database:before {
|
1623 |
-
content: "\f1c0";
|
1624 |
-
}
|
1625 |
-
.dslc-icon-file-pdf-o:before {
|
1626 |
-
content: "\f1c1";
|
1627 |
-
}
|
1628 |
-
.dslc-icon-file-word-o:before {
|
1629 |
-
content: "\f1c2";
|
1630 |
-
}
|
1631 |
-
.dslc-icon-file-excel-o:before {
|
1632 |
-
content: "\f1c3";
|
1633 |
-
}
|
1634 |
-
.dslc-icon-file-powerpoint-o:before {
|
1635 |
-
content: "\f1c4";
|
1636 |
-
}
|
1637 |
-
.dslc-icon-file-photo-o:before,
|
1638 |
-
.dslc-icon-file-picture-o:before,
|
1639 |
-
.dslc-icon-file-image-o:before {
|
1640 |
-
content: "\f1c5";
|
1641 |
-
}
|
1642 |
-
.dslc-icon-file-zip-o:before,
|
1643 |
-
.dslc-icon-file-archive-o:before {
|
1644 |
-
content: "\f1c6";
|
1645 |
-
}
|
1646 |
-
.dslc-icon-file-sound-o:before,
|
1647 |
-
.dslc-icon-file-audio-o:before {
|
1648 |
-
content: "\f1c7";
|
1649 |
-
}
|
1650 |
-
.dslc-icon-file-movie-o:before,
|
1651 |
-
.dslc-icon-file-video-o:before {
|
1652 |
-
content: "\f1c8";
|
1653 |
-
}
|
1654 |
-
.dslc-icon-file-code-o:before {
|
1655 |
-
content: "\f1c9";
|
1656 |
-
}
|
1657 |
-
.dslc-icon-vine:before {
|
1658 |
-
content: "\f1ca";
|
1659 |
-
}
|
1660 |
-
.dslc-icon-codepen:before {
|
1661 |
-
content: "\f1cb";
|
1662 |
-
}
|
1663 |
-
.dslc-icon-jsfiddle:before {
|
1664 |
-
content: "\f1cc";
|
1665 |
-
}
|
1666 |
-
.dslc-icon-life-bouy:before,
|
1667 |
-
.dslc-icon-life-saver:before,
|
1668 |
-
.dslc-icon-support:before,
|
1669 |
-
.dslc-icon-life-ring:before {
|
1670 |
-
content: "\f1cd";
|
1671 |
-
}
|
1672 |
-
.dslc-icon-circle-o-notch:before {
|
1673 |
-
content: "\f1ce";
|
1674 |
-
}
|
1675 |
-
.dslc-icon-ra:before,
|
1676 |
-
.dslc-icon-rebel:before {
|
1677 |
-
content: "\f1d0";
|
1678 |
-
}
|
1679 |
-
.dslc-icon-ge:before,
|
1680 |
-
.dslc-icon-empire:before {
|
1681 |
-
content: "\f1d1";
|
1682 |
-
}
|
1683 |
-
.dslc-icon-git-square:before {
|
1684 |
-
content: "\f1d2";
|
1685 |
-
}
|
1686 |
-
.dslc-icon-git:before {
|
1687 |
-
content: "\f1d3";
|
1688 |
-
}
|
1689 |
-
.dslc-icon-hacker-news:before {
|
1690 |
-
content: "\f1d4";
|
1691 |
-
}
|
1692 |
-
.dslc-icon-tencent-weibo:before {
|
1693 |
-
content: "\f1d5";
|
1694 |
-
}
|
1695 |
-
.dslc-icon-qq:before {
|
1696 |
-
content: "\f1d6";
|
1697 |
-
}
|
1698 |
-
.dslc-icon-wechat:before,
|
1699 |
-
.dslc-icon-weixin:before {
|
1700 |
-
content: "\f1d7";
|
1701 |
-
}
|
1702 |
-
.dslc-icon-send:before,
|
1703 |
-
.dslc-icon-paper-plane:before {
|
1704 |
-
content: "\f1d8";
|
1705 |
-
}
|
1706 |
-
.dslc-icon-send-o:before,
|
1707 |
-
.dslc-icon-paper-plane-o:before {
|
1708 |
-
content: "\f1d9";
|
1709 |
-
}
|
1710 |
-
.dslc-icon-history:before {
|
1711 |
-
content: "\f1da";
|
1712 |
-
}
|
1713 |
-
.dslc-icon-circle-thin:before {
|
1714 |
-
content: "\f1db";
|
1715 |
-
}
|
1716 |
-
.dslc-icon-header:before {
|
1717 |
-
content: "\f1dc";
|
1718 |
-
}
|
1719 |
-
.dslc-icon-paragraph:before {
|
1720 |
-
content: "\f1dd";
|
1721 |
-
}
|
1722 |
-
.dslc-icon-sliders:before {
|
1723 |
-
content: "\f1de";
|
1724 |
-
}
|
1725 |
-
.dslc-icon-share-alt:before {
|
1726 |
-
content: "\f1e0";
|
1727 |
-
}
|
1728 |
-
.dslc-icon-share-alt-square:before {
|
1729 |
-
content: "\f1e1";
|
1730 |
-
}
|
1731 |
-
.dslc-icon-bomb:before {
|
1732 |
-
content: "\f1e2";
|
1733 |
-
}
|
1734 |
-
|
1735 |
-
/**
|
1736 |
-
* 4.2
|
1737 |
-
*/
|
1738 |
-
|
1739 |
-
.dslc-icon-angellist:before {
|
1740 |
-
content:"\f209";
|
1741 |
-
}
|
1742 |
-
.dslc-icon-area-chart:before {
|
1743 |
-
content:"\f1fe";
|
1744 |
-
}
|
1745 |
-
.dslc-icon-at:before {
|
1746 |
-
content:"\f1fa";
|
1747 |
-
}
|
1748 |
-
.dslc-icon-bell-slash:before {
|
1749 |
-
content:"\f1f6";
|
1750 |
-
}
|
1751 |
-
.dslc-icon-bell-slash-o:before {
|
1752 |
-
content:"\f1f7";
|
1753 |
-
}
|
1754 |
-
.dslc-icon-bicycle:before {
|
1755 |
-
content:"\f206";
|
1756 |
-
}
|
1757 |
-
.dslc-icon-binoculars:before {
|
1758 |
-
content:"\f1e5";
|
1759 |
-
}
|
1760 |
-
.dslc-icon-birthday-cake:before {
|
1761 |
-
content:"\f1fd";
|
1762 |
-
}
|
1763 |
-
.dslc-icon-bus:before {
|
1764 |
-
content:"\f207";
|
1765 |
-
}
|
1766 |
-
.dslc-icon-calculator:before {
|
1767 |
-
content:"\f1ec";
|
1768 |
-
}
|
1769 |
-
.dslc-icon-cc:before {
|
1770 |
-
content:"\f20a";
|
1771 |
-
}
|
1772 |
-
.dslc-icon-cc-amex:before {
|
1773 |
-
content:"\f1f3";
|
1774 |
-
}
|
1775 |
-
.dslc-icon-cc-discover:before {
|
1776 |
-
content:"\f1f2";
|
1777 |
-
}
|
1778 |
-
.dslc-icon-cc-mastercard:before {
|
1779 |
-
content:"\f1f1";
|
1780 |
-
}
|
1781 |
-
.dslc-icon-cc-paypal:before {
|
1782 |
-
content:"\f1f4";
|
1783 |
-
}
|
1784 |
-
.dslc-icon-cc-stripe:before {
|
1785 |
-
content:"\f1f5";
|
1786 |
-
}
|
1787 |
-
.dslc-icon-cc-visa:before {
|
1788 |
-
content:"\f1f0";
|
1789 |
-
}
|
1790 |
-
.dslc-icon-copyright:before {
|
1791 |
-
content:"\f1f9";
|
1792 |
-
}
|
1793 |
-
.dslc-icon-eyedropper:before {
|
1794 |
-
content:"\f1fb";
|
1795 |
-
}
|
1796 |
-
.dslc-icon-futbol-o:before {
|
1797 |
-
content:"\f1e3";
|
1798 |
-
}
|
1799 |
-
.dslc-icon-google-wallet:before {
|
1800 |
-
content:"\f1ee";
|
1801 |
-
}
|
1802 |
-
.dslc-icon-ils:before {
|
1803 |
-
content:"\f20b";
|
1804 |
-
}
|
1805 |
-
.dslc-icon-ioxhost:before {
|
1806 |
-
content:"\f208";
|
1807 |
-
}
|
1808 |
-
.dslc-icon-lastfm:before {
|
1809 |
-
content:"\f202";
|
1810 |
-
}
|
1811 |
-
.dslc-icon-lastfm-square:before {
|
1812 |
-
content:"\f203";
|
1813 |
-
}
|
1814 |
-
.dslc-icon-line-chart:before {
|
1815 |
-
content:"\f201";
|
1816 |
-
}
|
1817 |
-
.dslc-icon-meanpath:before {
|
1818 |
-
content:"\f20c";
|
1819 |
-
}
|
1820 |
-
.dslc-icon-newspaper-o:before {
|
1821 |
-
content:"\f1ea";
|
1822 |
-
}
|
1823 |
-
.dslc-icon-paint-brush:before {
|
1824 |
-
content:"\f1fc";
|
1825 |
-
}
|
1826 |
-
.dslc-icon-paypal:before {
|
1827 |
-
content:"\f1ed";
|
1828 |
-
}
|
1829 |
-
.dslc-icon-pie-chart:before {
|
1830 |
-
content:"\f200";
|
1831 |
-
}
|
1832 |
-
.dslc-icon-plug:before {
|
1833 |
-
content:"\f1e6";
|
1834 |
-
}
|
1835 |
-
.dslc-icon-slideshare:before {
|
1836 |
-
content:"\f1e7";
|
1837 |
-
}
|
1838 |
-
.dslc-icon-toggle-off:before {
|
1839 |
-
content:"\f204";
|
1840 |
-
}
|
1841 |
-
.dslc-icon-toggle-on:before {
|
1842 |
-
content:"\f205";
|
1843 |
-
}
|
1844 |
-
.dslc-icon-trash:before {
|
1845 |
-
content:"\f1f8";
|
1846 |
-
}
|
1847 |
-
.dslc-icon-tty:before {
|
1848 |
-
content:"\f1e4";
|
1849 |
-
}
|
1850 |
-
.dslc-icon-twitch:before {
|
1851 |
-
content:"\f1e8";
|
1852 |
-
}
|
1853 |
-
.dslc-icon-wifi:before {
|
1854 |
-
content:"\f1eb";
|
1855 |
-
}
|
1856 |
-
.dslc-icon-yelp:before {
|
1857 |
-
content:"\f1e9";
|
1858 |
-
}
|
1859 |
-
|
1860 |
-
/* 4.3 */
|
1861 |
-
|
1862 |
-
.dslc-icon-bed:before {
|
1863 |
-
content:"\f236";
|
1864 |
-
}
|
1865 |
-
.dslc-icon-buysellads:before {
|
1866 |
-
content:"\f20d";
|
1867 |
-
}
|
1868 |
-
.dslc-icon-cart-arrow-down:before {
|
1869 |
-
content:"\f218";
|
1870 |
-
}
|
1871 |
-
.dslc-icon-cart-plus:before {
|
1872 |
-
content:"\f217";
|
1873 |
-
}
|
1874 |
-
.dslc-icon-connectdevelop:before {
|
1875 |
-
content:"\f20e";
|
1876 |
-
}
|
1877 |
-
.dslc-icon-dashcube:before {
|
1878 |
-
content:"\f210";
|
1879 |
-
}
|
1880 |
-
.dslc-icon-diamond:before {
|
1881 |
-
content:"\f219";
|
1882 |
-
}
|
1883 |
-
.dslc-icon-facebook-official:before {
|
1884 |
-
content:"\f230";
|
1885 |
-
}
|
1886 |
-
.dslc-icon-forumbee:before {
|
1887 |
-
content:"\f211";
|
1888 |
-
}
|
1889 |
-
.dslc-icon-heartbeat:before {
|
1890 |
-
content:"\f21e";
|
1891 |
-
}
|
1892 |
-
.dslc-icon-leanpub:before {
|
1893 |
-
content:"\f212";
|
1894 |
-
}
|
1895 |
-
.dslc-icon-mars:before {
|
1896 |
-
content:"\f222";
|
1897 |
-
}
|
1898 |
-
.dslc-icon-mars-double:before {
|
1899 |
-
content:"\f227";
|
1900 |
-
}
|
1901 |
-
.dslc-icon-mars-stroke:before {
|
1902 |
-
content:"\f229";
|
1903 |
-
}
|
1904 |
-
.dslc-icon-mars-stroke-h:before {
|
1905 |
-
content:"\f22b";
|
1906 |
-
}
|
1907 |
-
.dslc-icon-mars-stroke-v:before {
|
1908 |
-
content:"\f22a";
|
1909 |
-
}
|
1910 |
-
.dslc-icon-medium:before {
|
1911 |
-
content:"\f23a";
|
1912 |
-
}
|
1913 |
-
.dslc-icon-mercury:before {
|
1914 |
-
content:"\f223";
|
1915 |
-
}
|
1916 |
-
.dslc-icon-motorcycle:before {
|
1917 |
-
content:"\f21c";
|
1918 |
-
}
|
1919 |
-
.dslc-icon-neuter:before {
|
1920 |
-
content:"\f22c";
|
1921 |
-
}
|
1922 |
-
.dslc-icon-pinterest-p:before {
|
1923 |
-
content:"\f231";
|
1924 |
-
}
|
1925 |
-
.dslc-icon-sellsy:before {
|
1926 |
-
content:"\f213";
|
1927 |
-
}
|
1928 |
-
.dslc-icon-server:before {
|
1929 |
-
content:"\f233";
|
1930 |
-
}
|
1931 |
-
.dslc-icon-ship:before {
|
1932 |
-
content:"\f21a";
|
1933 |
-
}
|
1934 |
-
.dslc-icon-shirtsinbulk:before {
|
1935 |
-
content:"\f214";
|
1936 |
-
}
|
1937 |
-
.dslc-icon-simplybuilt:before {
|
1938 |
-
content:"\f215";
|
1939 |
-
}
|
1940 |
-
.dslc-icon-skyatlas:before {
|
1941 |
-
content:"\f216";
|
1942 |
-
}
|
1943 |
-
.dslc-icon-street-view:before {
|
1944 |
-
content:"\f21d";
|
1945 |
-
}
|
1946 |
-
.dslc-icon-subway:before {
|
1947 |
-
content:"\f239";
|
1948 |
-
}
|
1949 |
-
.dslc-icon-train:before {
|
1950 |
-
content:"\f238";
|
1951 |
-
}
|
1952 |
-
.dslc-icon-transgender:before {
|
1953 |
-
content:"\f224";
|
1954 |
-
}
|
1955 |
-
.dslc-icon-transgender-alt:before {
|
1956 |
-
content:"\f225";
|
1957 |
-
}
|
1958 |
-
.dslc-icon-user-plus:before {
|
1959 |
-
content:"\f234";
|
1960 |
-
}
|
1961 |
-
.dslc-icon-user-secret:before {
|
1962 |
-
content:"\f21b";
|
1963 |
-
}
|
1964 |
-
.dslc-icon-user-times:before {
|
1965 |
-
content:"\f235";
|
1966 |
-
}
|
1967 |
-
.dslc-icon-venus:before {
|
1968 |
-
content:"\f221";
|
1969 |
-
}
|
1970 |
-
.dslc-icon-venus-double:before {
|
1971 |
-
content:"\f226";
|
1972 |
-
}
|
1973 |
-
.dslc-icon-venus-mars:before {
|
1974 |
-
content:"\f228";
|
1975 |
-
}
|
1976 |
-
.dslc-icon-viacoin:before {
|
1977 |
-
content:"\f237";
|
1978 |
-
}
|
1979 |
-
.dslc-icon-whatsapp:before {
|
1980 |
-
content:"\f232";
|
1981 |
-
}
|
1982 |
-
|
1983 |
-
/**
|
1984 |
-
* 4.4
|
1985 |
-
*/
|
1986 |
-
|
1987 |
-
.dslc-icon-yc:before,
|
1988 |
-
.dslc-icon-y-combinator:before {
|
1989 |
-
content: "\f23b";
|
1990 |
-
}
|
1991 |
-
.dslc-icon-optin-monster:before {
|
1992 |
-
content: "\f23c";
|
1993 |
-
}
|
1994 |
-
.dslc-icon-opencart:before {
|
1995 |
-
content: "\f23d";
|
1996 |
-
}
|
1997 |
-
.dslc-icon-expeditedssl:before {
|
1998 |
-
content: "\f23e";
|
1999 |
-
}
|
2000 |
-
.dslc-icon-battery-4:before,
|
2001 |
-
.dslc-icon-battery-full:before {
|
2002 |
-
content: "\f240";
|
2003 |
-
}
|
2004 |
-
.dslc-icon-battery-3:before,
|
2005 |
-
.dslc-icon-battery-three-quarters:before {
|
2006 |
-
content: "\f241";
|
2007 |
-
}
|
2008 |
-
.dslc-icon-battery-2:before,
|
2009 |
-
.dslc-icon-battery-half:before {
|
2010 |
-
content: "\f242";
|
2011 |
-
}
|
2012 |
-
.dslc-icon-battery-1:before,
|
2013 |
-
.dslc-icon-battery-quarter:before {
|
2014 |
-
content: "\f243";
|
2015 |
-
}
|
2016 |
-
.dslc-icon-battery-0:before,
|
2017 |
-
.dslc-icon-battery-empty:before {
|
2018 |
-
content: "\f244";
|
2019 |
-
}
|
2020 |
-
.dslc-icon-mouse-pointer:before {
|
2021 |
-
content: "\f245";
|
2022 |
-
}
|
2023 |
-
.dslc-icon-i-cursor:before {
|
2024 |
-
content: "\f246";
|
2025 |
-
}
|
2026 |
-
.dslc-icon-object-group:before {
|
2027 |
-
content: "\f247";
|
2028 |
-
}
|
2029 |
-
.dslc-icon-object-ungroup:before {
|
2030 |
-
content: "\f248";
|
2031 |
-
}
|
2032 |
-
.dslc-icon-sticky-note:before {
|
2033 |
-
content: "\f249";
|
2034 |
-
}
|
2035 |
-
.dslc-icon-sticky-note-o:before {
|
2036 |
-
content: "\f24a";
|
2037 |
-
}
|
2038 |
-
.dslc-icon-cc-jcb:before {
|
2039 |
-
content: "\f24b";
|
2040 |
-
}
|
2041 |
-
.dslc-icon-cc-diners-club:before {
|
2042 |
-
content: "\f24c";
|
2043 |
-
}
|
2044 |
-
.dslc-icon-clone:before {
|
2045 |
-
content: "\f24d";
|
2046 |
-
}
|
2047 |
-
.dslc-icon-balance-scale:before {
|
2048 |
-
content: "\f24e";
|
2049 |
-
}
|
2050 |
-
.dslc-icon-hourglass-o:before {
|
2051 |
-
content: "\f250";
|
2052 |
-
}
|
2053 |
-
.dslc-icon-hourglass-1:before,
|
2054 |
-
.dslc-icon-hourglass-start:before {
|
2055 |
-
content: "\f251";
|
2056 |
-
}
|
2057 |
-
.dslc-icon-hourglass-2:before,
|
2058 |
-
.dslc-icon-hourglass-half:before {
|
2059 |
-
content: "\f252";
|
2060 |
-
}
|
2061 |
-
.dslc-icon-hourglass-3:before,
|
2062 |
-
.dslc-icon-hourglass-end:before {
|
2063 |
-
content: "\f253";
|
2064 |
-
}
|
2065 |
-
.dslc-icon-hourglass:before {
|
2066 |
-
content: "\f254";
|
2067 |
-
}
|
2068 |
-
.dslc-icon-hand-grab-o:before,
|
2069 |
-
.dslc-icon-hand-rock-o:before {
|
2070 |
-
content: "\f255";
|
2071 |
-
}
|
2072 |
-
.dslc-icon-hand-stop-o:before,
|
2073 |
-
.dslc-icon-hand-paper-o:before {
|
2074 |
-
content: "\f256";
|
2075 |
-
}
|
2076 |
-
.dslc-icon-hand-scissors-o:before {
|
2077 |
-
content: "\f257";
|
2078 |
-
}
|
2079 |
-
.dslc-icon-hand-lizard-o:before {
|
2080 |
-
content: "\f258";
|
2081 |
-
}
|
2082 |
-
.dslc-icon-hand-spock-o:before {
|
2083 |
-
content: "\f259";
|
2084 |
-
}
|
2085 |
-
.dslc-icon-hand-pointer-o:before {
|
2086 |
-
content: "\f25a";
|
2087 |
-
}
|
2088 |
-
.dslc-icon-hand-peace-o:before {
|
2089 |
-
content: "\f25b";
|
2090 |
-
}
|
2091 |
-
.dslc-icon-trademark:before {
|
2092 |
-
content: "\f25c";
|
2093 |
-
}
|
2094 |
-
.dslc-icon-registered:before {
|
2095 |
-
content: "\f25d";
|
2096 |
-
}
|
2097 |
-
.dslc-icon-creative-commons:before {
|
2098 |
-
content: "\f25e";
|
2099 |
-
}
|
2100 |
-
.dslc-icon-gg:before {
|
2101 |
-
content: "\f260";
|
2102 |
-
}
|
2103 |
-
.dslc-icon-gg-circle:before {
|
2104 |
-
content: "\f261";
|
2105 |
-
}
|
2106 |
-
.dslc-icon-tripadvisor:before {
|
2107 |
-
content: "\f262";
|
2108 |
-
}
|
2109 |
-
.dslc-icon-odnoklassniki:before {
|
2110 |
-
content: "\f263";
|
2111 |
-
}
|
2112 |
-
.dslc-icon-odnoklassniki-square:before {
|
2113 |
-
content: "\f264";
|
2114 |
-
}
|
2115 |
-
.dslc-icon-get-pocket:before {
|
2116 |
-
content: "\f265";
|
2117 |
-
}
|
2118 |
-
.dslc-icon-wikipedia-w:before {
|
2119 |
-
content: "\f266";
|
2120 |
-
}
|
2121 |
-
.dslc-icon-safari:before {
|
2122 |
-
content: "\f267";
|
2123 |
-
}
|
2124 |
-
.dslc-icon-chrome:before {
|
2125 |
-
content: "\f268";
|
2126 |
-
}
|
2127 |
-
.dslc-icon-firefox:before {
|
2128 |
-
content: "\f269";
|
2129 |
-
}
|
2130 |
-
.dslc-icon-opera:before {
|
2131 |
-
content: "\f26a";
|
2132 |
-
}
|
2133 |
-
.dslc-icon-internet-explorer:before {
|
2134 |
-
content: "\f26b";
|
2135 |
-
}
|
2136 |
-
.dslc-icon-tv:before,
|
2137 |
-
.dslc-icon-television:before {
|
2138 |
-
content: "\f26c";
|
2139 |
-
}
|
2140 |
-
.dslc-icon-contao:before {
|
2141 |
-
content: "\f26d";
|
2142 |
-
}
|
2143 |
-
.dslc-icon-500px:before {
|
2144 |
-
content: "\f26e";
|
2145 |
-
}
|
2146 |
-
.dslc-icon-amazon:before {
|
2147 |
-
content: "\f270";
|
2148 |
-
}
|
2149 |
-
.dslc-icon-calendar-plus-o:before {
|
2150 |
-
content: "\f271";
|
2151 |
-
}
|
2152 |
-
.dslc-icon-calendar-minus-o:before {
|
2153 |
-
content: "\f272";
|
2154 |
-
}
|
2155 |
-
.dslc-icon-calendar-times-o:before {
|
2156 |
-
content: "\f273";
|
2157 |
-
}
|
2158 |
-
.dslc-icon-calendar-check-o:before {
|
2159 |
-
content: "\f274";
|
2160 |
-
}
|
2161 |
-
.dslc-icon-industry:before {
|
2162 |
-
content: "\f275";
|
2163 |
-
}
|
2164 |
-
.dslc-icon-map-pin:before {
|
2165 |
-
content: "\f276";
|
2166 |
-
}
|
2167 |
-
.dslc-icon-map-signs:before {
|
2168 |
-
content: "\f277";
|
2169 |
-
}
|
2170 |
-
.dslc-icon-map-o:before {
|
2171 |
-
content: "\f278";
|
2172 |
-
}
|
2173 |
-
.dslc-icon-map:before {
|
2174 |
-
content: "\f279";
|
2175 |
-
}
|
2176 |
-
.dslc-icon-commenting:before {
|
2177 |
-
content: "\f27a";
|
2178 |
-
}
|
2179 |
-
.dslc-icon-commenting-o:before {
|
2180 |
-
content: "\f27b";
|
2181 |
-
}
|
2182 |
-
.dslc-icon-houzz:before {
|
2183 |
-
content: "\f27c";
|
2184 |
-
}
|
2185 |
-
.dslc-icon-vimeo:before {
|
2186 |
-
content: "\f27d";
|
2187 |
-
}
|
2188 |
-
.dslc-icon-black-tie:before {
|
2189 |
-
content: "\f27e";
|
2190 |
-
}
|
2191 |
-
.dslc-icon-fonticons:before {
|
2192 |
-
content: "\f280";
|
2193 |
}
|
1 |
+
@font-face {
|
2 |
+
font-family: 'DSLCFontAwesome';
|
3 |
+
src: url('font/fontawesome-webfont.eot?v=4.4');
|
4 |
+
src: url('font/fontawesome-webfont.eot?#iefix&v=4.4') format('embedded-opentype'), url('font/fontawesome-webfont.woff?v=4.4') format('woff'), url('font/fontawesome-webfont.ttf?v=4.4') format('truetype'), url('font/fontawesome-webfont.svg#fontawesomeregular?v=4.4') format('svg');
|
5 |
+
font-weight: normal;
|
6 |
+
font-style: normal;
|
7 |
+
}
|
8 |
+
|
9 |
+
|
10 |
+
[class^="dslc-icon-"],
|
11 |
+
[class*=" dslc-icon-"] {
|
12 |
+
font-family: DSLCFontAwesome;
|
13 |
+
font-weight: normal;
|
14 |
+
font-style: normal;
|
15 |
+
text-decoration: inherit;
|
16 |
+
-webkit-font-smoothing: antialiased;
|
17 |
+
*margin-right: .3em;
|
18 |
+
}
|
19 |
+
[class^="dslc-icon-"]:before,
|
20 |
+
[class*=" dslc-icon-"]:before {
|
21 |
+
text-decoration: inherit;
|
22 |
+
display: inline-block;
|
23 |
+
speak: none;
|
24 |
+
}
|
25 |
+
/* makes the font 33% larger relative to the dslc-icon container */
|
26 |
+
.dslc-icon-large:before {
|
27 |
+
vertical-align: -10%;
|
28 |
+
font-size: 1.3333333333333333em;
|
29 |
+
}
|
30 |
+
/* makes sure dslc-icons active on rollover in links */
|
31 |
+
a [class^="dslc-icon-"],
|
32 |
+
a [class*=" dslc-icon-"] {
|
33 |
+
display: inline;
|
34 |
+
}
|
35 |
+
/* increased font size for dslc-icon-large */
|
36 |
+
[class^="dslc-icon-"].dslc-icon-fixed-width,
|
37 |
+
[class*=" dslc-icon-"].dslc-icon-fixed-width {
|
38 |
+
display: inline-block;
|
39 |
+
width: 1.1428571428571428em;
|
40 |
+
text-align: right;
|
41 |
+
padding-right: 0.2857142857142857em;
|
42 |
+
}
|
43 |
+
[class^="dslc-icon-"].dslc-icon-fixed-width.dslc-icon-large,
|
44 |
+
[class*=" dslc-icon-"].dslc-icon-fixed-width.dslc-icon-large {
|
45 |
+
width: 1.4285714285714286em;
|
46 |
+
}
|
47 |
+
.dslc-icons-ul {
|
48 |
+
margin-left: 2.142857142857143em;
|
49 |
+
list-style-type: none;
|
50 |
+
}
|
51 |
+
.dslc-icons-ul > li {
|
52 |
+
position: relative;
|
53 |
+
}
|
54 |
+
.dslc-icons-ul .dslc-icon-li {
|
55 |
+
position: absolute;
|
56 |
+
left: -2.142857142857143em;
|
57 |
+
width: 2.142857142857143em;
|
58 |
+
text-align: center;
|
59 |
+
line-height: inherit;
|
60 |
+
}
|
61 |
+
[class^="dslc-icon-"].hide,
|
62 |
+
[class*=" dslc-icon-"].hide {
|
63 |
+
display: none;
|
64 |
+
}
|
65 |
+
.dslc-icon-muted {
|
66 |
+
color: #eeeeee;
|
67 |
+
}
|
68 |
+
.dslc-icon-light {
|
69 |
+
color: #ffffff;
|
70 |
+
}
|
71 |
+
.dslc-icon-dark {
|
72 |
+
color: #333333;
|
73 |
+
}
|
74 |
+
.dslc-icon-border {
|
75 |
+
border: solid 1px #eeeeee;
|
76 |
+
padding: .2em .25em .15em;
|
77 |
+
-webkit-border-radius: 3px;
|
78 |
+
-moz-border-radius: 3px;
|
79 |
+
border-radius: 3px;
|
80 |
+
}
|
81 |
+
.dslc-icon-2x {
|
82 |
+
font-size: 2em;
|
83 |
+
}
|
84 |
+
.dslc-icon-2x.dslc-icon-border {
|
85 |
+
border-width: 2px;
|
86 |
+
-webkit-border-radius: 4px;
|
87 |
+
-moz-border-radius: 4px;
|
88 |
+
border-radius: 4px;
|
89 |
+
}
|
90 |
+
.dslc-icon-3x {
|
91 |
+
font-size: 3em;
|
92 |
+
}
|
93 |
+
.dslc-icon-3x.dslc-icon-border {
|
94 |
+
border-width: 3px;
|
95 |
+
-webkit-border-radius: 5px;
|
96 |
+
-moz-border-radius: 5px;
|
97 |
+
border-radius: 5px;
|
98 |
+
}
|
99 |
+
.dslc-icon-4x {
|
100 |
+
font-size: 4em;
|
101 |
+
}
|
102 |
+
.dslc-icon-4x.dslc-icon-border {
|
103 |
+
border-width: 4px;
|
104 |
+
-webkit-border-radius: 6px;
|
105 |
+
-moz-border-radius: 6px;
|
106 |
+
border-radius: 6px;
|
107 |
+
}
|
108 |
+
.dslc-icon-5x {
|
109 |
+
font-size: 5em;
|
110 |
+
}
|
111 |
+
.dslc-icon-5x.dslc-icon-border {
|
112 |
+
border-width: 5px;
|
113 |
+
-webkit-border-radius: 7px;
|
114 |
+
-moz-border-radius: 7px;
|
115 |
+
border-radius: 7px;
|
116 |
+
}
|
117 |
+
.pull-right {
|
118 |
+
float: right;
|
119 |
+
}
|
120 |
+
.pull-left {
|
121 |
+
float: left;
|
122 |
+
}
|
123 |
+
[class^="dslc-icon-"].pull-left,
|
124 |
+
[class*=" dslc-icon-"].pull-left {
|
125 |
+
margin-right: .3em;
|
126 |
+
}
|
127 |
+
[class^="dslc-icon-"].pull-right,
|
128 |
+
[class*=" dslc-icon-"].pull-right {
|
129 |
+
margin-left: .3em;
|
130 |
+
}
|
131 |
+
/* BOOTSTRAP SPECIFIC CLASSES
|
132 |
+
* -------------------------- */
|
133 |
+
/* Bootstrap 2.0 sprites.less reset */
|
134 |
+
[class^="dslc-icon-"],
|
135 |
+
[class*=" dslc-icon-"] {
|
136 |
+
display: inline;
|
137 |
+
width: auto;
|
138 |
+
height: auto;
|
139 |
+
line-height: normal;
|
140 |
+
vertical-align: baseline;
|
141 |
+
background-image: none;
|
142 |
+
background-position: 0% 0%;
|
143 |
+
background-repeat: repeat;
|
144 |
+
margin-top: 0;
|
145 |
+
}
|
146 |
+
/* more sprites.less reset */
|
147 |
+
.dslc-icon-white,
|
148 |
+
.nav-pills > .active > a > [class^="dslc-icon-"],
|
149 |
+
.nav-pills > .active > a > [class*=" dslc-icon-"],
|
150 |
+
.nav-list > .active > a > [class^="dslc-icon-"],
|
151 |
+
.nav-list > .active > a > [class*=" dslc-icon-"],
|
152 |
+
.navbar-inverse .nav > .active > a > [class^="dslc-icon-"],
|
153 |
+
.navbar-inverse .nav > .active > a > [class*=" dslc-icon-"],
|
154 |
+
.dropdown-menu > li > a:hover > [class^="dslc-icon-"],
|
155 |
+
.dropdown-menu > li > a:hover > [class*=" dslc-icon-"],
|
156 |
+
.dropdown-menu > .active > a > [class^="dslc-icon-"],
|
157 |
+
.dropdown-menu > .active > a > [class*=" dslc-icon-"],
|
158 |
+
.dropdown-submenu:hover > a > [class^="dslc-icon-"],
|
159 |
+
.dropdown-submenu:hover > a > [class*=" dslc-icon-"] {
|
160 |
+
background-image: none;
|
161 |
+
}
|
162 |
+
/* keeps Bootstrap styles with and without dslc-icons the same */
|
163 |
+
.btn [class^="dslc-icon-"].dslc-icon-large,
|
164 |
+
.nav [class^="dslc-icon-"].dslc-icon-large,
|
165 |
+
.btn [class*=" dslc-icon-"].dslc-icon-large,
|
166 |
+
.nav [class*=" dslc-icon-"].dslc-icon-large {
|
167 |
+
line-height: .9em;
|
168 |
+
}
|
169 |
+
.btn [class^="dslc-icon-"].dslc-icon-spin,
|
170 |
+
.nav [class^="dslc-icon-"].dslc-icon-spin,
|
171 |
+
.btn [class*=" dslc-icon-"].dslc-icon-spin,
|
172 |
+
.nav [class*=" dslc-icon-"].dslc-icon-spin {
|
173 |
+
display: inline-block;
|
174 |
+
}
|
175 |
+
.nav-tabs [class^="dslc-icon-"],
|
176 |
+
.nav-pills [class^="dslc-icon-"],
|
177 |
+
.nav-tabs [class*=" dslc-icon-"],
|
178 |
+
.nav-pills [class*=" dslc-icon-"],
|
179 |
+
.nav-tabs [class^="dslc-icon-"].dslc-icon-large,
|
180 |
+
.nav-pills [class^="dslc-icon-"].dslc-icon-large,
|
181 |
+
.nav-tabs [class*=" dslc-icon-"].dslc-icon-large,
|
182 |
+
.nav-pills [class*=" dslc-icon-"].dslc-icon-large {
|
183 |
+
line-height: .9em;
|
184 |
+
}
|
185 |
+
.btn [class^="dslc-icon-"].pull-left.dslc-icon-2x,
|
186 |
+
.btn [class*=" dslc-icon-"].pull-left.dslc-icon-2x,
|
187 |
+
.btn [class^="dslc-icon-"].pull-right.dslc-icon-2x,
|
188 |
+
.btn [class*=" dslc-icon-"].pull-right.dslc-icon-2x {
|
189 |
+
margin-top: .18em;
|
190 |
+
}
|
191 |
+
.btn [class^="dslc-icon-"].dslc-icon-spin.dslc-icon-large,
|
192 |
+
.btn [class*=" dslc-icon-"].dslc-icon-spin.dslc-icon-large {
|
193 |
+
line-height: .8em;
|
194 |
+
}
|
195 |
+
.btn.btn-small [class^="dslc-icon-"].pull-left.dslc-icon-2x,
|
196 |
+
.btn.btn-small [class*=" dslc-icon-"].pull-left.dslc-icon-2x,
|
197 |
+
.btn.btn-small [class^="dslc-icon-"].pull-right.dslc-icon-2x,
|
198 |
+
.btn.btn-small [class*=" dslc-icon-"].pull-right.dslc-icon-2x {
|
199 |
+
margin-top: .25em;
|
200 |
+
}
|
201 |
+
.btn.btn-large [class^="dslc-icon-"],
|
202 |
+
.btn.btn-large [class*=" dslc-icon-"] {
|
203 |
+
margin-top: 0;
|
204 |
+
}
|
205 |
+
.btn.btn-large [class^="dslc-icon-"].pull-left.dslc-icon-2x,
|
206 |
+
.btn.btn-large [class*=" dslc-icon-"].pull-left.dslc-icon-2x,
|
207 |
+
.btn.btn-large [class^="dslc-icon-"].pull-right.dslc-icon-2x,
|
208 |
+
.btn.btn-large [class*=" dslc-icon-"].pull-right.dslc-icon-2x {
|
209 |
+
margin-top: .05em;
|
210 |
+
}
|
211 |
+
.btn.btn-large [class^="dslc-icon-"].pull-left.dslc-icon-2x,
|
212 |
+
.btn.btn-large [class*=" dslc-icon-"].pull-left.dslc-icon-2x {
|
213 |
+
margin-right: .2em;
|
214 |
+
}
|
215 |
+
.btn.btn-large [class^="dslc-icon-"].pull-right.dslc-icon-2x,
|
216 |
+
.btn.btn-large [class*=" dslc-icon-"].pull-right.dslc-icon-2x {
|
217 |
+
margin-left: .2em;
|
218 |
+
}
|
219 |
+
/* Fixes alignment in nav lists */
|
220 |
+
.nav-list [class^="dslc-icon-"],
|
221 |
+
.nav-list [class*=" dslc-icon-"] {
|
222 |
+
line-height: inherit;
|
223 |
+
}
|
224 |
+
/* EXTRAS
|
225 |
+
* -------------------------- */
|
226 |
+
/* Stacked and layered dslc-icon */
|
227 |
+
.dslc-icon-stack {
|
228 |
+
position: relative;
|
229 |
+
display: inline-block;
|
230 |
+
width: 2em;
|
231 |
+
height: 2em;
|
232 |
+
line-height: 2em;
|
233 |
+
vertical-align: -35%;
|
234 |
+
}
|
235 |
+
.dslc-icon-stack [class^="dslc-icon-"],
|
236 |
+
.dslc-icon-stack [class*=" dslc-icon-"] {
|
237 |
+
display: block;
|
238 |
+
text-align: center;
|
239 |
+
position: absolute;
|
240 |
+
width: 100%;
|
241 |
+
height: 100%;
|
242 |
+
font-size: 1em;
|
243 |
+
line-height: inherit;
|
244 |
+
*line-height: 2em;
|
245 |
+
}
|
246 |
+
.dslc-icon-stack .dslc-icon-stack-base {
|
247 |
+
font-size: 2em;
|
248 |
+
*line-height: 1em;
|
249 |
+
}
|
250 |
+
/* Animated rotating dslc-icon */
|
251 |
+
.dslc-icon-spin {
|
252 |
+
display: inline-block;
|
253 |
+
-moz-animation: spin 2s infinite linear;
|
254 |
+
-o-animation: spin 2s infinite linear;
|
255 |
+
-webkit-animation: spin 2s infinite linear;
|
256 |
+
animation: spin 2s infinite linear;
|
257 |
+
}
|
258 |
+
/* Prevent stack and spinners from being taken inline when inside a link */
|
259 |
+
a .dslc-icon-stack,
|
260 |
+
a .dslc-icon-spin {
|
261 |
+
display: inline-block;
|
262 |
+
text-decoration: none;
|
263 |
+
}
|
264 |
+
@-moz-keyframes spin {
|
265 |
+
0% {
|
266 |
+
-moz-transform: rotate(0deg);
|
267 |
+
}
|
268 |
+
100% {
|
269 |
+
-moz-transform: rotate(359deg);
|
270 |
+
}
|
271 |
+
}
|
272 |
+
@-webkit-keyframes spin {
|
273 |
+
0% {
|
274 |
+
-webkit-transform: rotate(0deg);
|
275 |
+
}
|
276 |
+
100% {
|
277 |
+
-webkit-transform: rotate(359deg);
|
278 |
+
}
|
279 |
+
}
|
280 |
+
@-o-keyframes spin {
|
281 |
+
0% {
|
282 |
+
-o-transform: rotate(0deg);
|
283 |
+
}
|
284 |
+
100% {
|
285 |
+
-o-transform: rotate(359deg);
|
286 |
+
}
|
287 |
+
}
|
288 |
+
@-ms-keyframes spin {
|
289 |
+
0% {
|
290 |
+
-ms-transform: rotate(0deg);
|
291 |
+
}
|
292 |
+
100% {
|
293 |
+
-ms-transform: rotate(359deg);
|
294 |
+
}
|
295 |
+
}
|
296 |
+
@keyframes spin {
|
297 |
+
0% {
|
298 |
+
transform: rotate(0deg);
|
299 |
+
}
|
300 |
+
100% {
|
301 |
+
transform: rotate(359deg);
|
302 |
+
}
|
303 |
+
}
|
304 |
+
/* dslc-icon rotations and mirroring */
|
305 |
+
.dslc-icon-rotate-90:before {
|
306 |
+
-webkit-transform: rotate(90deg);
|
307 |
+
-moz-transform: rotate(90deg);
|
308 |
+
-ms-transform: rotate(90deg);
|
309 |
+
-o-transform: rotate(90deg);
|
310 |
+
transform: rotate(90deg);
|
311 |
+
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1);
|
312 |
+
}
|
313 |
+
.dslc-icon-rotate-180:before {
|
314 |
+
-webkit-transform: rotate(180deg);
|
315 |
+
-moz-transform: rotate(180deg);
|
316 |
+
-ms-transform: rotate(180deg);
|
317 |
+
-o-transform: rotate(180deg);
|
318 |
+
transform: rotate(180deg);
|
319 |
+
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2);
|
320 |
+
}
|
321 |
+
.dslc-icon-rotate-270:before {
|
322 |
+
-webkit-transform: rotate(270deg);
|
323 |
+
-moz-transform: rotate(270deg);
|
324 |
+
-ms-transform: rotate(270deg);
|
325 |
+
-o-transform: rotate(270deg);
|
326 |
+
transform: rotate(270deg);
|
327 |
+
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
|
328 |
+
}
|
329 |
+
.dslc-icon-flip-horizontal:before {
|
330 |
+
-webkit-transform: scale(-1, 1);
|
331 |
+
-moz-transform: scale(-1, 1);
|
332 |
+
-ms-transform: scale(-1, 1);
|
333 |
+
-o-transform: scale(-1, 1);
|
334 |
+
transform: scale(-1, 1);
|
335 |
+
}
|
336 |
+
.dslc-icon-flip-vertical:before {
|
337 |
+
-webkit-transform: scale(1, -1);
|
338 |
+
-moz-transform: scale(1, -1);
|
339 |
+
-ms-transform: scale(1, -1);
|
340 |
+
-o-transform: scale(1, -1);
|
341 |
+
transform: scale(1, -1);
|
342 |
+
}
|
343 |
+
/* ensure rotation occurs inside anchor tags */
|
344 |
+
a .dslc-icon-rotate-90:before,
|
345 |
+
a .dslc-icon-rotate-180:before,
|
346 |
+
a .dslc-icon-rotate-270:before,
|
347 |
+
a .dslc-icon-flip-horizontal:before,
|
348 |
+
a .dslc-icon-flip-vertical:before {
|
349 |
+
display: inline-block;
|
350 |
+
}
|
351 |
+
/* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen
|
352 |
+
readers do not read off random characters that represent dslc-icons */
|
353 |
+
.dslc-icon-glass:before {
|
354 |
+
content: "\f000";
|
355 |
+
}
|
356 |
+
.dslc-icon-music:before {
|
357 |
+
content: "\f001";
|
358 |
+
}
|
359 |
+
.dslc-icon-search:before {
|
360 |
+
content: "\f002";
|
361 |
+
}
|
362 |
+
.dslc-icon-envelope-alt:before {
|
363 |
+
content: "\f003";
|
364 |
+
}
|
365 |
+
.dslc-icon-heart:before {
|
366 |
+
content: "\f004";
|
367 |
+
}
|
368 |
+
.dslc-icon-star:before {
|
369 |
+
content: "\f005";
|
370 |
+
}
|
371 |
+
.dslc-icon-star-empty:before {
|
372 |
+
content: "\f006";
|
373 |
+
}
|
374 |
+
.dslc-icon-user:before {
|
375 |
+
content: "\f007";
|
376 |
+
}
|
377 |
+
.dslc-icon-film:before {
|
378 |
+
content: "\f008";
|
379 |
+
}
|
380 |
+
.dslc-icon-th-large:before {
|
381 |
+
content: "\f009";
|
382 |
+
}
|
383 |
+
.dslc-icon-th:before {
|
384 |
+
content: "\f00a";
|
385 |
+
}
|
386 |
+
.dslc-icon-th-list:before {
|
387 |
+
content: "\f00b";
|
388 |
+
}
|
389 |
+
.dslc-icon-ok:before {
|
390 |
+
content: "\f00c";
|
391 |
+
}
|
392 |
+
.dslc-icon-remove:before {
|
393 |
+
content: "\f00d";
|
394 |
+
}
|
395 |
+
.dslc-icon-zoom-in:before {
|
396 |
+
content: "\f00e";
|
397 |
+
}
|
398 |
+
.dslc-icon-zoom-out:before {
|
399 |
+
content: "\f010";
|
400 |
+
}
|
401 |
+
.dslc-icon-power-off:before,
|
402 |
+
.dslc-icon-off:before {
|
403 |
+
content: "\f011";
|
404 |
+
}
|
405 |
+
.dslc-icon-signal:before {
|
406 |
+
content: "\f012";
|
407 |
+
}
|
408 |
+
.dslc-icon-gear:before,
|
409 |
+
.dslc-icon-cog:before {
|
410 |
+
content: "\f013";
|
411 |
+
}
|
412 |
+
.dslc-icon-trash:before {
|
413 |
+
content: "\f014";
|
414 |
+
}
|
415 |
+
.dslc-icon-home:before {
|
416 |
+
content: "\f015";
|
417 |
+
}
|
418 |
+
.dslc-icon-file-alt:before {
|
419 |
+
content: "\f016";
|
420 |
+
}
|
421 |
+
.dslc-icon-time:before {
|
422 |
+
content: "\f017";
|
423 |
+
}
|
424 |
+
.dslc-icon-road:before {
|
425 |
+
content: "\f018";
|
426 |
+
}
|
427 |
+
.dslc-icon-download-alt:before {
|
428 |
+
content: "\f019";
|
429 |
+
}
|
430 |
+
.dslc-icon-download:before {
|
431 |
+
content: "\f01a";
|
432 |
+
}
|
433 |
+
.dslc-icon-upload:before {
|
434 |
+
content: "\f01b";
|
435 |
+
}
|
436 |
+
.dslc-icon-inbox:before {
|
437 |
+
content: "\f01c";
|
438 |
+
}
|
439 |
+
.dslc-icon-play-circle:before {
|
440 |
+
content: "\f01d";
|
441 |
+
}
|
442 |
+
.dslc-icon-rotate-right:before,
|
443 |
+
.dslc-icon-repeat:before {
|
444 |
+
content: "\f01e";
|
445 |
+
}
|
446 |
+
.dslc-icon-refresh:before {
|
447 |
+
content: "\f021";
|
448 |
+
}
|
449 |
+
.dslc-icon-list-alt:before {
|
450 |
+
content: "\f022";
|
451 |
+
}
|
452 |
+
.dslc-icon-lock:before {
|
453 |
+
content: "\f023";
|
454 |
+
}
|
455 |
+
.dslc-icon-flag:before {
|
456 |
+
content: "\f024";
|
457 |
+
}
|
458 |
+
.dslc-icon-headphones:before {
|
459 |
+
content: "\f025";
|
460 |
+
}
|
461 |
+
.dslc-icon-volume-off:before {
|
462 |
+
content: "\f026";
|
463 |
+
}
|
464 |
+
.dslc-icon-volume-down:before {
|
465 |
+
content: "\f027";
|
466 |
+
}
|
467 |
+
.dslc-icon-volume-up:before {
|
468 |
+
content: "\f028";
|
469 |
+
}
|
470 |
+
.dslc-icon-qrcode:before {
|
471 |
+
content: "\f029";
|
472 |
+
}
|
473 |
+
.dslc-icon-barcode:before {
|
474 |
+
content: "\f02a";
|
475 |
+
}
|
476 |
+
.dslc-icon-tag:before {
|
477 |
+
content: "\f02b";
|
478 |
+
}
|
479 |
+
.dslc-icon-tags:before {
|
480 |
+
content: "\f02c";
|
481 |
+
}
|
482 |
+
.dslc-icon-book:before {
|
483 |
+
content: "\f02d";
|
484 |
+
}
|
485 |
+
.dslc-icon-bookmark:before {
|
486 |
+
content: "\f02e";
|
487 |
+
}
|
488 |
+
.dslc-icon-print:before {
|
489 |
+
content: "\f02f";
|
490 |
+
}
|
491 |
+
.dslc-icon-camera:before {
|
492 |
+
content: "\f030";
|
493 |
+
}
|
494 |
+
.dslc-icon-font:before {
|
495 |
+
content: "\f031";
|
496 |
+
}
|
497 |
+
.dslc-icon-bold:before {
|
498 |
+
content: "\f032";
|
499 |
+
}
|
500 |
+
.dslc-icon-italic:before {
|
501 |
+
content: "\f033";
|
502 |
+
}
|
503 |
+
.dslc-icon-text-height:before {
|
504 |
+
content: "\f034";
|
505 |
+
}
|
506 |
+
.dslc-icon-text-width:before {
|
507 |
+
content: "\f035";
|
508 |
+
}
|
509 |
+
.dslc-icon-align-left:before {
|
510 |
+
content: "\f036";
|
511 |
+
}
|
512 |
+
.dslc-icon-align-center:before {
|
513 |
+
content: "\f037";
|
514 |
+
}
|
515 |
+
.dslc-icon-align-right:before {
|
516 |
+
content: "\f038";
|
517 |
+
}
|
518 |
+
.dslc-icon-align-justify:before {
|
519 |
+
content: "\f039";
|
520 |
+
}
|
521 |
+
.dslc-icon-list:before {
|
522 |
+
content: "\f03a";
|
523 |
+
}
|
524 |
+
.dslc-icon-indent-left:before {
|
525 |
+
content: "\f03b";
|
526 |
+
}
|
527 |
+
.dslc-icon-indent-right:before {
|
528 |
+
content: "\f03c";
|
529 |
+
}
|
530 |
+
.dslc-icon-facetime-video:before {
|
531 |
+
content: "\f03d";
|
532 |
+
}
|
533 |
+
.dslc-icon-picture:before {
|
534 |
+
content: "\f03e";
|
535 |
+
}
|
536 |
+
.dslc-icon-pencil:before {
|
537 |
+
content: "\f040";
|
538 |
+
}
|
539 |
+
.dslc-icon-map-marker:before {
|
540 |
+
content: "\f041";
|
541 |
+
}
|
542 |
+
.dslc-icon-adjust:before {
|
543 |
+
content: "\f042";
|
544 |
+
}
|
545 |
+
.dslc-icon-tint:before {
|
546 |
+
content: "\f043";
|
547 |
+
}
|
548 |
+
.dslc-icon-edit:before {
|
549 |
+
content: "\f044";
|
550 |
+
}
|
551 |
+
.dslc-icon-share:before {
|
552 |
+
content: "\f045";
|
553 |
+
}
|
554 |
+
.dslc-icon-check:before {
|
555 |
+
content: "\f046";
|
556 |
+
}
|
557 |
+
.dslc-icon-move:before {
|
558 |
+
content: "\f047";
|
559 |
+
}
|
560 |
+
.dslc-icon-step-backward:before {
|
561 |
+
content: "\f048";
|
562 |
+
}
|
563 |
+
.dslc-icon-fast-backward:before {
|
564 |
+
content: "\f049";
|
565 |
+
}
|
566 |
+
.dslc-icon-backward:before {
|
567 |
+
content: "\f04a";
|
568 |
+
}
|
569 |
+
.dslc-icon-play:before {
|
570 |
+
content: "\f04b";
|
571 |
+
}
|
572 |
+
.dslc-icon-pause:before {
|
573 |
+
content: "\f04c";
|
574 |
+
}
|
575 |
+
.dslc-icon-stop:before {
|
576 |
+
content: "\f04d";
|
577 |
+
}
|
578 |
+
.dslc-icon-forward:before {
|
579 |
+
content: "\f04e";
|
580 |
+
}
|
581 |
+
.dslc-icon-fast-forward:before {
|
582 |
+
content: "\f050";
|
583 |
+
}
|
584 |
+
.dslc-icon-step-forward:before {
|
585 |
+
content: "\f051";
|
586 |
+
}
|
587 |
+
.dslc-icon-eject:before {
|
588 |
+
content: "\f052";
|
589 |
+
}
|
590 |
+
.dslc-icon-chevron-left:before {
|
591 |
+
content: "\f053";
|
592 |
+
}
|
593 |
+
.dslc-icon-chevron-right:before {
|
594 |
+
content: "\f054";
|
595 |
+
}
|
596 |
+
.dslc-icon-plus-sign:before {
|
597 |
+
content: "\f055";
|
598 |
+
}
|
599 |
+
.dslc-icon-minus-sign:before {
|
600 |
+
content: "\f056";
|
601 |
+
}
|
602 |
+
.dslc-icon-remove-sign:before {
|
603 |
+
content: "\f057";
|
604 |
+
}
|
605 |
+
.dslc-icon-ok-sign:before {
|
606 |
+
content: "\f058";
|
607 |
+
}
|
608 |
+
.dslc-icon-question-sign:before {
|
609 |
+
content: "\f059";
|
610 |
+
}
|
611 |
+
.dslc-icon-info-sign:before {
|
612 |
+
content: "\f05a";
|
613 |
+
}
|
614 |
+
.dslc-icon-screenshot:before {
|
615 |
+
content: "\f05b";
|
616 |
+
}
|
617 |
+
.dslc-icon-remove-circle:before {
|
618 |
+
content: "\f05c";
|
619 |
+
}
|
620 |
+
.dslc-icon-ok-circle:before {
|
621 |
+
content: "\f05d";
|
622 |
+
}
|
623 |
+
.dslc-icon-ban-circle:before {
|
624 |
+
content: "\f05e";
|
625 |
+
}
|
626 |
+
.dslc-icon-arrow-left:before {
|
627 |
+
content: "\f060";
|
628 |
+
}
|
629 |
+
.dslc-icon-arrow-right:before {
|
630 |
+
content: "\f061";
|
631 |
+
}
|
632 |
+
.dslc-icon-arrow-up:before {
|
633 |
+
content: "\f062";
|
634 |
+
}
|
635 |
+
.dslc-icon-arrow-down:before {
|
636 |
+
content: "\f063";
|
637 |
+
}
|
638 |
+
.dslc-icon-mail-forward:before,
|
639 |
+
.dslc-icon-share-alt:before {
|
640 |
+
content: "\f064";
|
641 |
+
}
|
642 |
+
.dslc-icon-resize-full:before {
|
643 |
+
content: "\f065";
|
644 |
+
}
|
645 |
+
.dslc-icon-resize-small:before {
|
646 |
+
content: "\f066";
|
647 |
+
}
|
648 |
+
.dslc-icon-plus:before {
|
649 |
+
content: "\f067";
|
650 |
+
}
|
651 |
+
.dslc-icon-minus:before {
|
652 |
+
content: "\f068";
|
653 |
+
}
|
654 |
+
.dslc-icon-asterisk:before {
|
655 |
+
content: "\f069";
|
656 |
+
}
|
657 |
+
.dslc-icon-exclamation-sign:before {
|
658 |
+
content: "\f06a";
|
659 |
+
}
|
660 |
+
.dslc-icon-gift:before {
|
661 |
+
content: "\f06b";
|
662 |
+
}
|
663 |
+
.dslc-icon-leaf:before {
|
664 |
+
content: "\f06c";
|
665 |
+
}
|
666 |
+
.dslc-icon-fire:before {
|
667 |
+
content: "\f06d";
|
668 |
+
}
|
669 |
+
.dslc-icon-eye-open:before {
|
670 |
+
content: "\f06e";
|
671 |
+
}
|
672 |
+
.dslc-icon-eye-close:before {
|
673 |
+
content: "\f070";
|
674 |
+
}
|
675 |
+
.dslc-icon-warning-sign:before {
|
676 |
+
content: "\f071";
|
677 |
+
}
|
678 |
+
.dslc-icon-plane:before {
|
679 |
+
content: "\f072";
|
680 |
+
}
|
681 |
+
.dslc-icon-calendar:before {
|
682 |
+
content: "\f073";
|
683 |
+
}
|
684 |
+
.dslc-icon-random:before {
|
685 |
+
content: "\f074";
|
686 |
+
}
|
687 |
+
.dslc-icon-comment:before {
|
688 |
+
content: "\f075";
|
689 |
+
}
|
690 |
+
.dslc-icon-magnet:before {
|
691 |
+
content: "\f076";
|
692 |
+
}
|
693 |
+
.dslc-icon-chevron-up:before {
|
694 |
+
content: "\f077";
|
695 |
+
}
|
696 |
+
.dslc-icon-chevron-down:before {
|
697 |
+
content: "\f078";
|
698 |
+
}
|
699 |
+
.dslc-icon-retweet:before {
|
700 |
+
content: "\f079";
|
701 |
+
}
|
702 |
+
.dslc-icon-shopping-cart:before {
|
703 |
+
content: "\f07a";
|
704 |
+
}
|
705 |
+
.dslc-icon-folder-close:before {
|
706 |
+
content: "\f07b";
|
707 |
+
}
|
708 |
+
.dslc-icon-folder-open:before {
|
709 |
+
content: "\f07c";
|
710 |
+
}
|
711 |
+
.dslc-icon-resize-vertical:before {
|
712 |
+
content: "\f07d";
|
713 |
+
}
|
714 |
+
.dslc-icon-resize-horizontal:before {
|
715 |
+
content: "\f07e";
|
716 |
+
}
|
717 |
+
.dslc-icon-bar-chart:before {
|
718 |
+
content: "\f080";
|
719 |
+
}
|
720 |
+
.dslc-icon-twitter-sign:before {
|
721 |
+
content: "\f081";
|
722 |
+
}
|
723 |
+
.dslc-icon-facebook-sign:before {
|
724 |
+
content: "\f082";
|
725 |
+
}
|
726 |
+
.dslc-icon-camera-retro:before {
|
727 |
+
content: "\f083";
|
728 |
+
}
|
729 |
+
.dslc-icon-key:before {
|
730 |
+
content: "\f084";
|
731 |
+
}
|
732 |
+
.dslc-icon-gears:before,
|
733 |
+
.dslc-icon-cogs:before {
|
734 |
+
content: "\f085";
|
735 |
+
}
|
736 |
+
.dslc-icon-comments:before {
|
737 |
+
content: "\f086";
|
738 |
+
}
|
739 |
+
.dslc-icon-thumbs-up-alt:before {
|
740 |
+
content: "\f087";
|
741 |
+
}
|
742 |
+
.dslc-icon-thumbs-down-alt:before {
|
743 |
+
content: "\f088";
|
744 |
+
}
|
745 |
+
.dslc-icon-star-half:before {
|
746 |
+
content: "\f089";
|
747 |
+
}
|
748 |
+
.dslc-icon-heart-empty:before {
|
749 |
+
content: "\f08a";
|
750 |
+
}
|
751 |
+
.dslc-icon-signout:before {
|
752 |
+
content: "\f08b";
|
753 |
+
}
|
754 |
+
.dslc-icon-linkedin-sign:before {
|
755 |
+
content: "\f08c";
|
756 |
+
}
|
757 |
+
.dslc-icon-pushpin:before {
|
758 |
+
content: "\f08d";
|
759 |
+
}
|
760 |
+
.dslc-icon-external-link:before {
|
761 |
+
content: "\f08e";
|
762 |
+
}
|
763 |
+
.dslc-icon-signin:before {
|
764 |
+
content: "\f090";
|
765 |
+
}
|
766 |
+
.dslc-icon-trophy:before {
|
767 |
+
content: "\f091";
|
768 |
+
}
|
769 |
+
.dslc-icon-github-sign:before {
|
770 |
+
content: "\f092";
|
771 |
+
}
|
772 |
+
.dslc-icon-upload-alt:before {
|
773 |
+
content: "\f093";
|
774 |
+
}
|
775 |
+
.dslc-icon-lemon:before {
|
776 |
+
content: "\f094";
|
777 |
+
}
|
778 |
+
.dslc-icon-phone:before {
|
779 |
+
content: "\f095";
|
780 |
+
}
|
781 |
+
.dslc-icon-unchecked:before,
|
782 |
+
.dslc-icon-check-empty:before {
|
783 |
+
content: "\f096";
|
784 |
+
}
|
785 |
+
.dslc-icon-bookmark-empty:before {
|
786 |
+
content: "\f097";
|
787 |
+
}
|
788 |
+
.dslc-icon-phone-sign:before {
|
789 |
+
content: "\f098";
|
790 |
+
}
|
791 |
+
.dslc-icon-twitter:before {
|
792 |
+
content: "\f099";
|
793 |
+
}
|
794 |
+
.dslc-icon-facebook:before {
|
795 |
+
content: "\f09a";
|
796 |
+
}
|
797 |
+
.dslc-icon-github:before {
|
798 |
+
content: "\f09b";
|
799 |
+
}
|
800 |
+
.dslc-icon-unlock:before {
|
801 |
+
content: "\f09c";
|
802 |
+
}
|
803 |
+
.dslc-icon-credit-card:before {
|
804 |
+
content: "\f09d";
|
805 |
+
}
|
806 |
+
.dslc-icon-rss:before {
|
807 |
+
content: "\f09e";
|
808 |
+
}
|
809 |
+
.dslc-icon-hdd:before {
|
810 |
+
content: "\f0a0";
|
811 |
+
}
|
812 |
+
.dslc-icon-bullhorn:before {
|
813 |
+
content: "\f0a1";
|
814 |
+
}
|
815 |
+
.dslc-icon-bell:before {
|
816 |
+
content: "\f0a2";
|
817 |
+
}
|
818 |
+
.dslc-icon-certificate:before {
|
819 |
+
content: "\f0a3";
|
820 |
+
}
|
821 |
+
.dslc-icon-hand-right:before {
|
822 |
+
content: "\f0a4";
|
823 |
+
}
|
824 |
+
.dslc-icon-hand-left:before {
|
825 |
+
content: "\f0a5";
|
826 |
+
}
|
827 |
+
.dslc-icon-hand-up:before {
|
828 |
+
content: "\f0a6";
|
829 |
+
}
|
830 |
+
.dslc-icon-hand-down:before {
|
831 |
+
content: "\f0a7";
|
832 |
+
}
|
833 |
+
.dslc-icon-circle-arrow-left:before {
|
834 |
+
content: "\f0a8";
|
835 |
+
}
|
836 |
+
.dslc-icon-circle-arrow-right:before {
|
837 |
+
content: "\f0a9";
|
838 |
+
}
|
839 |
+
.dslc-icon-circle-arrow-up:before {
|
840 |
+
content: "\f0aa";
|
841 |
+
}
|
842 |
+
.dslc-icon-circle-arrow-down:before {
|
843 |
+
content: "\f0ab";
|
844 |
+
}
|
845 |
+
.dslc-icon-globe:before {
|
846 |
+
content: "\f0ac";
|
847 |
+
}
|
848 |
+
.dslc-icon-wrench:before {
|
849 |
+
content: "\f0ad";
|
850 |
+
}
|
851 |
+
.dslc-icon-tasks:before {
|
852 |
+
content: "\f0ae";
|
853 |
+
}
|
854 |
+
.dslc-icon-filter:before {
|
855 |
+
content: "\f0b0";
|
856 |
+
}
|
857 |
+
.dslc-icon-briefcase:before {
|
858 |
+
content: "\f0b1";
|
859 |
+
}
|
860 |
+
.dslc-icon-fullscreen:before {
|
861 |
+
content: "\f0b2";
|
862 |
+
}
|
863 |
+
.dslc-icon-group:before {
|
864 |
+
content: "\f0c0";
|
865 |
+
}
|
866 |
+
.dslc-icon-link:before {
|
867 |
+
content: "\f0c1";
|
868 |
+
}
|
869 |
+
.dslc-icon-cloud:before {
|
870 |
+
content: "\f0c2";
|
871 |
+
}
|
872 |
+
.dslc-icon-beaker:before {
|
873 |
+
content: "\f0c3";
|
874 |
+
}
|
875 |
+
.dslc-icon-cut:before {
|
876 |
+
content: "\f0c4";
|
877 |
+
}
|
878 |
+
.dslc-icon-copy:before {
|
879 |
+
content: "\f0c5";
|
880 |
+
}
|
881 |
+
.dslc-icon-paperclip:before,
|
882 |
+
.dslc-icon-paper-clip:before {
|
883 |
+
content: "\f0c6";
|
884 |
+
}
|
885 |
+
.dslc-icon-save:before {
|
886 |
+
content: "\f0c7";
|
887 |
+
}
|
888 |
+
.dslc-icon-sign-blank:before {
|
889 |
+
content: "\f0c8";
|
890 |
+
}
|
891 |
+
.dslc-icon-reorder:before {
|
892 |
+
content: "\f0c9";
|
893 |
+
}
|
894 |
+
.dslc-icon-list-ul:before {
|
895 |
+
content: "\f0ca";
|
896 |
+
}
|
897 |
+
.dslc-icon-list-ol:before {
|
898 |
+
content: "\f0cb";
|
899 |
+
}
|
900 |
+
.dslc-icon-strikethrough:before {
|
901 |
+
content: "\f0cc";
|
902 |
+
}
|
903 |
+
.dslc-icon-underline:before {
|
904 |
+
content: "\f0cd";
|
905 |
+
}
|
906 |
+
.dslc-icon-table:before {
|
907 |
+
content: "\f0ce";
|
908 |
+
}
|
909 |
+
.dslc-icon-magic:before {
|
910 |
+
content: "\f0d0";
|
911 |
+
}
|
912 |
+
.dslc-icon-truck:before {
|
913 |
+
content: "\f0d1";
|
914 |
+
}
|
915 |
+
.dslc-icon-pinterest:before {
|
916 |
+
content: "\f0d2";
|
917 |
+
}
|
918 |
+
.dslc-icon-pinterest-sign:before {
|
919 |
+
content: "\f0d3";
|
920 |
+
}
|
921 |
+
.dslc-icon-google-plus-sign:before {
|
922 |
+
content: "\f0d4";
|
923 |
+
}
|
924 |
+
.dslc-icon-google-plus:before {
|
925 |
+
content: "\f0d5";
|
926 |
+
}
|
927 |
+
.dslc-icon-money:before {
|
928 |
+
content: "\f0d6";
|
929 |
+
}
|
930 |
+
.dslc-icon-caret-down:before {
|
931 |
+
content: "\f0d7";
|
932 |
+
}
|
933 |
+
.dslc-icon-caret-up:before {
|
934 |
+
content: "\f0d8";
|
935 |
+
}
|
936 |
+
.dslc-icon-caret-left:before {
|
937 |
+
content: "\f0d9";
|
938 |
+
}
|
939 |
+
.dslc-icon-caret-right:before {
|
940 |
+
content: "\f0da";
|
941 |
+
}
|
942 |
+
.dslc-icon-columns:before {
|
943 |
+
content: "\f0db";
|
944 |
+
}
|
945 |
+
.dslc-icon-sort:before {
|
946 |
+
content: "\f0dc";
|
947 |
+
}
|
948 |
+
.dslc-icon-sort-down:before {
|
949 |
+
content: "\f0dd";
|
950 |
+
}
|
951 |
+
.dslc-icon-sort-up:before {
|
952 |
+
content: "\f0de";
|
953 |
+
}
|
954 |
+
.dslc-icon-envelope:before {
|
955 |
+
content: "\f0e0";
|
956 |
+
}
|
957 |
+
.dslc-icon-linkedin:before {
|
958 |
+
content: "\f0e1";
|
959 |
+
}
|
960 |
+
.dslc-icon-rotate-left:before,
|
961 |
+
.dslc-icon-undo:before {
|
962 |
+
content: "\f0e2";
|
963 |
+
}
|
964 |
+
.dslc-icon-legal:before {
|
965 |
+
content: "\f0e3";
|
966 |
+
}
|
967 |
+
.dslc-icon-dashboard:before {
|
968 |
+
content: "\f0e4";
|
969 |
+
}
|
970 |
+
.dslc-icon-comment-alt:before {
|
971 |
+
content: "\f0e5";
|
972 |
+
}
|
973 |
+
.dslc-icon-comments-alt:before {
|
974 |
+
content: "\f0e6";
|
975 |
+
}
|
976 |
+
.dslc-icon-bolt:before {
|
977 |
+
content: "\f0e7";
|
978 |
+
}
|
979 |
+
.dslc-icon-sitemap:before {
|
980 |
+
content: "\f0e8";
|
981 |
+
}
|
982 |
+
.dslc-icon-umbrella:before {
|
983 |
+
content: "\f0e9";
|
984 |
+
}
|
985 |
+
.dslc-icon-paste:before {
|
986 |
+
content: "\f0ea";
|
987 |
+
}
|
988 |
+
.dslc-icon-lightbulb:before {
|
989 |
+
content: "\f0eb";
|
990 |
+
}
|
991 |
+
.dslc-icon-exchange:before {
|
992 |
+
content: "\f0ec";
|
993 |
+
}
|
994 |
+
.dslc-icon-cloud-download:before {
|
995 |
+
content: "\f0ed";
|
996 |
+
}
|
997 |
+
.dslc-icon-cloud-upload:before {
|
998 |
+
content: "\f0ee";
|
999 |
+
}
|
1000 |
+
.dslc-icon-user-md:before {
|
1001 |
+
content: "\f0f0";
|
1002 |
+
}
|
1003 |
+
.dslc-icon-stethoscope:before {
|
1004 |
+
content: "\f0f1";
|
1005 |
+
}
|
1006 |
+
.dslc-icon-suitcase:before {
|
1007 |
+
content: "\f0f2";
|
1008 |
+
}
|
1009 |
+
.dslc-icon-bell-alt:before {
|
1010 |
+
content: "\f0f3";
|
1011 |
+
}
|
1012 |
+
.dslc-icon-coffee:before {
|
1013 |
+
content: "\f0f4";
|
1014 |
+
}
|
1015 |
+
.dslc-icon-food:before {
|
1016 |
+
content: "\f0f5";
|
1017 |
+
}
|
1018 |
+
.dslc-icon-file-text-alt:before {
|
1019 |
+
content: "\f0f6";
|
1020 |
+
}
|
1021 |
+
.dslc-icon-building:before {
|
1022 |
+
content: "\f0f7";
|
1023 |
+
}
|
1024 |
+
.dslc-icon-hospital:before {
|
1025 |
+
content: "\f0f8";
|
1026 |
+
}
|
1027 |
+
.dslc-icon-ambulance:before {
|
1028 |
+
content: "\f0f9";
|
1029 |
+
}
|
1030 |
+
.dslc-icon-medkit:before {
|
1031 |
+
content: "\f0fa";
|
1032 |
+
}
|
1033 |
+
.dslc-icon-fighter-jet:before {
|
1034 |
+
content: "\f0fb";
|
1035 |
+
}
|
1036 |
+
.dslc-icon-beer:before {
|
1037 |
+
content: "\f0fc";
|
1038 |
+
}
|
1039 |
+
.dslc-icon-h-sign:before {
|
1040 |
+
content: "\f0fd";
|
1041 |
+
}
|
1042 |
+
.dslc-icon-plus-sign-alt:before {
|
1043 |
+
content: "\f0fe";
|
1044 |
+
}
|
1045 |
+
.dslc-icon-double-angle-left:before {
|
1046 |
+
content: "\f100";
|
1047 |
+
}
|
1048 |
+
.dslc-icon-double-angle-right:before {
|
1049 |
+
content: "\f101";
|
1050 |
+
}
|
1051 |
+
.dslc-icon-double-angle-up:before {
|
1052 |
+
content: "\f102";
|
1053 |
+
}
|
1054 |
+
.dslc-icon-double-angle-down:before {
|
1055 |
+
content: "\f103";
|
1056 |
+
}
|
1057 |
+
.dslc-icon-angle-left:before {
|
1058 |
+
content: "\f104";
|
1059 |
+
}
|
1060 |
+
.dslc-icon-angle-right:before {
|
1061 |
+
content: "\f105";
|
1062 |
+
}
|
1063 |
+
.dslc-icon-angle-up:before {
|
1064 |
+
content: "\f106";
|
1065 |
+
}
|
1066 |
+
.dslc-icon-angle-down:before {
|
1067 |
+
content: "\f107";
|
1068 |
+
}
|
1069 |
+
.dslc-icon-desktop:before {
|
1070 |
+
content: "\f108";
|
1071 |
+
}
|
1072 |
+
.dslc-icon-laptop:before {
|
1073 |
+
content: "\f109";
|
1074 |
+
}
|
1075 |
+
.dslc-icon-tablet:before {
|
1076 |
+
content: "\f10a";
|
1077 |
+
}
|
1078 |
+
.dslc-icon-mobile-phone:before {
|
1079 |
+
content: "\f10b";
|
1080 |
+
}
|
1081 |
+
.dslc-icon-circle-blank:before {
|
1082 |
+
content: "\f10c";
|
1083 |
+
}
|
1084 |
+
.dslc-icon-quote-left:before {
|
1085 |
+
content: "\f10d";
|
1086 |
+
}
|
1087 |
+
.dslc-icon-quote-right:before {
|
1088 |
+
content: "\f10e";
|
1089 |
+
}
|
1090 |
+
.dslc-icon-spinner:before {
|
1091 |
+
content: "\f110";
|
1092 |
+
}
|
1093 |
+
.dslc-icon-circle:before {
|
1094 |
+
content: "\f111";
|
1095 |
+
}
|
1096 |
+
.dslc-icon-mail-reply:before,
|
1097 |
+
.dslc-icon-reply:before {
|
1098 |
+
content: "\f112";
|
1099 |
+
}
|
1100 |
+
.dslc-icon-github-alt:before {
|
1101 |
+
content: "\f113";
|
1102 |
+
}
|
1103 |
+
.dslc-icon-folder-close-alt:before {
|
1104 |
+
content: "\f114";
|
1105 |
+
}
|
1106 |
+
.dslc-icon-folder-open-alt:before {
|
1107 |
+
content: "\f115";
|
1108 |
+
}
|
1109 |
+
.dslc-icon-expand-alt:before {
|
1110 |
+
content: "\f116";
|
1111 |
+
}
|
1112 |
+
.dslc-icon-collapse-alt:before {
|
1113 |
+
content: "\f117";
|
1114 |
+
}
|
1115 |
+
.dslc-icon-smile:before {
|
1116 |
+
content: "\f118";
|
1117 |
+
}
|
1118 |
+
.dslc-icon-frown:before {
|
1119 |
+
content: "\f119";
|
1120 |
+
}
|
1121 |
+
.dslc-icon-meh:before {
|
1122 |
+
content: "\f11a";
|
1123 |
+
}
|
1124 |
+
.dslc-icon-gamepad:before {
|
1125 |
+
content: "\f11b";
|
1126 |
+
}
|
1127 |
+
.dslc-icon-keyboard:before {
|
1128 |
+
content: "\f11c";
|
1129 |
+
}
|
1130 |
+
.dslc-icon-flag-alt:before {
|
1131 |
+
content: "\f11d";
|
1132 |
+
}
|
1133 |
+
.dslc-icon-flag-checkered:before {
|
1134 |
+
content: "\f11e";
|
1135 |
+
}
|
1136 |
+
.dslc-icon-terminal:before {
|
1137 |
+
content: "\f120";
|
1138 |
+
}
|
1139 |
+
.dslc-icon-code:before {
|
1140 |
+
content: "\f121";
|
1141 |
+
}
|
1142 |
+
.dslc-icon-reply-all:before {
|
1143 |
+
content: "\f122";
|
1144 |
+
}
|
1145 |
+
.dslc-icon-mail-reply-all:before {
|
1146 |
+
content: "\f122";
|
1147 |
+
}
|
1148 |
+
.dslc-icon-star-half-full:before,
|
1149 |
+
.dslc-icon-star-half-empty:before {
|
1150 |
+
content: "\f123";
|
1151 |
+
}
|
1152 |
+
.dslc-icon-location-arrow:before {
|
1153 |
+
content: "\f124";
|
1154 |
+
}
|
1155 |
+
.dslc-icon-crop:before {
|
1156 |
+
content: "\f125";
|
1157 |
+
}
|
1158 |
+
.dslc-icon-code-fork:before {
|
1159 |
+
content: "\f126";
|
1160 |
+
}
|
1161 |
+
.dslc-icon-unlink:before {
|
1162 |
+
content: "\f127";
|
1163 |
+
}
|
1164 |
+
.dslc-icon-question:before {
|
1165 |
+
content: "\f128";
|
1166 |
+
}
|
1167 |
+
.dslc-icon-info:before {
|
1168 |
+
content: "\f129";
|
1169 |
+
}
|
1170 |
+
.dslc-icon-exclamation:before {
|
1171 |
+
content: "\f12a";
|
1172 |
+
}
|
1173 |
+
.dslc-icon-superscript:before {
|
1174 |
+
content: "\f12b";
|
1175 |
+
}
|
1176 |
+
.dslc-icon-subscript:before {
|
1177 |
+
content: "\f12c";
|
1178 |
+
}
|
1179 |
+
.dslc-icon-eraser:before {
|
1180 |
+
content: "\f12d";
|
1181 |
+
}
|
1182 |
+
.dslc-icon-puzzle-piece:before {
|
1183 |
+
content: "\f12e";
|
1184 |
+
}
|
1185 |
+
.dslc-icon-microphone:before {
|
1186 |
+
content: "\f130";
|
1187 |
+
}
|
1188 |
+
.dslc-icon-microphone-off:before {
|
1189 |
+
content: "\f131";
|
1190 |
+
}
|
1191 |
+
.dslc-icon-shield:before {
|
1192 |
+
content: "\f132";
|
1193 |
+
}
|
1194 |
+
.dslc-icon-calendar-empty:before {
|
1195 |
+
content: "\f133";
|
1196 |
+
}
|
1197 |
+
.dslc-icon-fire-extinguisher:before {
|
1198 |
+
content: "\f134";
|
1199 |
+
}
|
1200 |
+
.dslc-icon-rocket:before {
|
1201 |
+
content: "\f135";
|
1202 |
+
}
|
1203 |
+
.dslc-icon-maxcdn:before {
|
1204 |
+
content: "\f136";
|
1205 |
+
}
|
1206 |
+
.dslc-icon-chevron-sign-left:before {
|
1207 |
+
content: "\f137";
|
1208 |
+
}
|
1209 |
+
.dslc-icon-chevron-sign-right:before {
|
1210 |
+
content: "\f138";
|
1211 |
+
}
|
1212 |
+
.dslc-icon-chevron-sign-up:before {
|
1213 |
+
content: "\f139";
|
1214 |
+
}
|
1215 |
+
.dslc-icon-chevron-sign-down:before {
|
1216 |
+
content: "\f13a";
|
1217 |
+
}
|
1218 |
+
.dslc-icon-html5:before {
|
1219 |
+
content: "\f13b";
|
1220 |
+
}
|
1221 |
+
.dslc-icon-css3:before {
|
1222 |
+
content: "\f13c";
|
1223 |
+
}
|
1224 |
+
.dslc-icon-anchor:before {
|
1225 |
+
content: "\f13d";
|
1226 |
+
}
|
1227 |
+
.dslc-icon-unlock-alt:before {
|
1228 |
+
content: "\f13e";
|
1229 |
+
}
|
1230 |
+
.dslc-icon-bullseye:before {
|
1231 |
+
content: "\f140";
|
1232 |
+
}
|
1233 |
+
.dslc-icon-ellipsis-horizontal:before {
|
1234 |
+
content: "\f141";
|
1235 |
+
}
|
1236 |
+
.dslc-icon-ellipsis-vertical:before {
|
1237 |
+
content: "\f142";
|
1238 |
+
}
|
1239 |
+
.dslc-icon-rss-sign:before {
|
1240 |
+
content: "\f143";
|
1241 |
+
}
|
1242 |
+
.dslc-icon-play-sign:before {
|
1243 |
+
content: "\f144";
|
1244 |
+
}
|
1245 |
+
.dslc-icon-ticket:before {
|
1246 |
+
content: "\f145";
|
1247 |
+
}
|
1248 |
+
.dslc-icon-minus-sign-alt:before {
|
1249 |
+
content: "\f146";
|
1250 |
+
}
|
1251 |
+
.dslc-icon-check-minus:before {
|
1252 |
+
content: "\f147";
|
1253 |
+
}
|
1254 |
+
.dslc-icon-level-up:before {
|
1255 |
+
content: "\f148";
|
1256 |
+
}
|
1257 |
+
.dslc-icon-level-down:before {
|
1258 |
+
content: "\f149";
|
1259 |
+
}
|
1260 |
+
.dslc-icon-check-sign:before {
|
1261 |
+
content: "\f14a";
|
1262 |
+
}
|
1263 |
+
.dslc-icon-edit-sign:before {
|
1264 |
+
content: "\f14b";
|
1265 |
+
}
|
1266 |
+
.dslc-icon-external-link-sign:before {
|
1267 |
+
content: "\f14c";
|
1268 |
+
}
|
1269 |
+
.dslc-icon-share-sign:before {
|
1270 |
+
content: "\f14d";
|
1271 |
+
}
|
1272 |
+
.dslc-icon-compass:before {
|
1273 |
+
content: "\f14e";
|
1274 |
+
}
|
1275 |
+
.dslc-icon-collapse:before {
|
1276 |
+
content: "\f150";
|
1277 |
+
}
|
1278 |
+
.dslc-icon-collapse-top:before {
|
1279 |
+
content: "\f151";
|
1280 |
+
}
|
1281 |
+
.dslc-icon-expand:before {
|
1282 |
+
content: "\f152";
|
1283 |
+
}
|
1284 |
+
.dslc-icon-euro:before,
|
1285 |
+
.dslc-icon-eur:before {
|
1286 |
+
content: "\f153";
|
1287 |
+
}
|
1288 |
+
.dslc-icon-gbp:before {
|
1289 |
+
content: "\f154";
|
1290 |
+
}
|
1291 |
+
.dslc-icon-dollar:before,
|
1292 |
+
.dslc-icon-usd:before {
|
1293 |
+
content: "\f155";
|
1294 |
+
}
|
1295 |
+
.dslc-icon-rupee:before,
|
1296 |
+
.dslc-icon-inr:before {
|
1297 |
+
content: "\f156";
|
1298 |
+
}
|
1299 |
+
.dslc-icon-yen:before,
|
1300 |
+
.dslc-icon-jpy:before {
|
1301 |
+
content: "\f157";
|
1302 |
+
}
|
1303 |
+
.dslc-icon-renminbi:before,
|
1304 |
+
.dslc-icon-cny:before {
|
1305 |
+
content: "\f158";
|
1306 |
+
}
|
1307 |
+
.dslc-icon-won:before,
|
1308 |
+
.dslc-icon-krw:before {
|
1309 |
+
content: "\f159";
|
1310 |
+
}
|
1311 |
+
.dslc-icon-bitcoin:before,
|
1312 |
+
.dslc-icon-btc:before {
|
1313 |
+
content: "\f15a";
|
1314 |
+
}
|
1315 |
+
.dslc-icon-file:before {
|
1316 |
+
content: "\f15b";
|
1317 |
+
}
|
1318 |
+
.dslc-icon-file-text:before {
|
1319 |
+
content: "\f15c";
|
1320 |
+
}
|
1321 |
+
.dslc-icon-sort-by-alphabet:before {
|
1322 |
+
content: "\f15d";
|
1323 |
+
}
|
1324 |
+
.dslc-icon-sort-by-alphabet-alt:before {
|
1325 |
+
content: "\f15e";
|
1326 |
+
}
|
1327 |
+
.dslc-icon-sort-by-attributes:before {
|
1328 |
+
content: "\f160";
|
1329 |
+
}
|
1330 |
+
.dslc-icon-sort-by-attributes-alt:before {
|
1331 |
+
content: "\f161";
|
1332 |
+
}
|
1333 |
+
.dslc-icon-sort-by-order:before {
|
1334 |
+
content: "\f162";
|
1335 |
+
}
|
1336 |
+
.dslc-icon-sort-by-order-alt:before {
|
1337 |
+
content: "\f163";
|
1338 |
+
}
|
1339 |
+
.dslc-icon-thumbs-up:before {
|
1340 |
+
content: "\f164";
|
1341 |
+
}
|
1342 |
+
.dslc-icon-thumbs-down:before {
|
1343 |
+
content: "\f165";
|
1344 |
+
}
|
1345 |
+
.dslc-icon-youtube-sign:before {
|
1346 |
+
content: "\f166";
|
1347 |
+
}
|
1348 |
+
.dslc-icon-youtube:before {
|
1349 |
+
content: "\f167";
|
1350 |
+
}
|
1351 |
+
.dslc-icon-xing:before {
|
1352 |
+
content: "\f168";
|
1353 |
+
}
|
1354 |
+
.dslc-icon-xing-sign:before {
|
1355 |
+
content: "\f169";
|
1356 |
+
}
|
1357 |
+
.dslc-icon-youtube-play:before {
|
1358 |
+
content: "\f16a";
|
1359 |
+
}
|
1360 |
+
.dslc-icon-dropbox:before {
|
1361 |
+
content: "\f16b";
|
1362 |
+
}
|
1363 |
+
.dslc-icon-stackexchange:before {
|
1364 |
+
content: "\f16c";
|
1365 |
+
}
|
1366 |
+
.dslc-icon-instagram:before {
|
1367 |
+
content: "\f16d";
|
1368 |
+
}
|
1369 |
+
.dslc-icon-flickr:before {
|
1370 |
+
content: "\f16e";
|
1371 |
+
}
|
1372 |
+
.dslc-icon-adn:before {
|
1373 |
+
content: "\f170";
|
1374 |
+
}
|
1375 |
+
.dslc-icon-bitbucket:before {
|
1376 |
+
content: "\f171";
|
1377 |
+
}
|
1378 |
+
.dslc-icon-bitbucket-sign:before {
|
1379 |
+
content: "\f172";
|
1380 |
+
}
|
1381 |
+
.dslc-icon-tumblr:before {
|
1382 |
+
content: "\f173";
|
1383 |
+
}
|
1384 |
+
.dslc-icon-tumblr-sign:before {
|
1385 |
+
content: "\f174";
|
1386 |
+
}
|
1387 |
+
.dslc-icon-long-arrow-down:before {
|
1388 |
+
content: "\f175";
|
1389 |
+
}
|
1390 |
+
.dslc-icon-long-arrow-up:before {
|
1391 |
+
content: "\f176";
|
1392 |
+
}
|
1393 |
+
.dslc-icon-long-arrow-left:before {
|
1394 |
+
content: "\f177";
|
1395 |
+
}
|
1396 |
+
.dslc-icon-long-arrow-right:before {
|
1397 |
+
content: "\f178";
|
1398 |
+
}
|
1399 |
+
.dslc-icon-apple:before {
|
1400 |
+
content: "\f179";
|
1401 |
+
}
|
1402 |
+
.dslc-icon-windows:before {
|
1403 |
+
content: "\f17a";
|
1404 |
+
}
|
1405 |
+
.dslc-icon-android:before {
|
1406 |
+
content: "\f17b";
|
1407 |
+
}
|
1408 |
+
.dslc-icon-linux:before {
|
1409 |
+
content: "\f17c";
|
1410 |
+
}
|
1411 |
+
.dslc-icon-dribbble:before {
|
1412 |
+
content: "\f17d";
|
1413 |
+
}
|
1414 |
+
.dslc-icon-skype:before {
|
1415 |
+
content: "\f17e";
|
1416 |
+
}
|
1417 |
+
.dslc-icon-foursquare:before {
|
1418 |
+
content: "\f180";
|
1419 |
+
}
|
1420 |
+
.dslc-icon-trello:before {
|
1421 |
+
content: "\f181";
|
1422 |
+
}
|
1423 |
+
.dslc-icon-female:before {
|
1424 |
+
content: "\f182";
|
1425 |
+
}
|
1426 |
+
.dslc-icon-male:before {
|
1427 |
+
content: "\f183";
|
1428 |
+
}
|
1429 |
+
.dslc-icon-gittip:before {
|
1430 |
+
content: "\f184";
|
1431 |
+
}
|
1432 |
+
.dslc-icon-sun:before {
|
1433 |
+
content: "\f185";
|
1434 |
+
}
|
1435 |
+
.dslc-icon-moon:before {
|
1436 |
+
content: "\f186";
|
1437 |
+
}
|
1438 |
+
.dslc-icon-archive:before {
|
1439 |
+
content: "\f187";
|
1440 |
+
}
|
1441 |
+
.dslc-icon-bug:before {
|
1442 |
+
content: "\f188";
|
1443 |
+
}
|
1444 |
+
.dslc-icon-vk:before {
|
1445 |
+
content: "\f189";
|
1446 |
+
}
|
1447 |
+
.dslc-icon-weibo:before {
|
1448 |
+
content: "\f18a";
|
1449 |
+
}
|
1450 |
+
.dslc-icon-renren:before {
|
1451 |
+
content: "\f18b";
|
1452 |
+
}
|
1453 |
+
|
1454 |
+
/**
|
1455 |
+
* From 4.0
|
1456 |
+
*/
|
1457 |
+
|
1458 |
+
.dslc-icon-rouble:before {
|
1459 |
+
content: "\f158";
|
1460 |
+
}
|
1461 |
+
|
1462 |
+
.dslc-icon-pagelines:before {
|
1463 |
+
content: "\f18c";
|
1464 |
+
}
|
1465 |
+
|
1466 |
+
.dslc-icon-stack-exchange:before {
|
1467 |
+
content: "\f18d";
|
1468 |
+
}
|
1469 |
+
|
1470 |
+
.dslc-icon-arrow-circle-right:before {
|
1471 |
+
content: "\f18e";
|
1472 |
+
}
|
1473 |
+
|
1474 |
+
.dslc-icon-arrow-circle-left:before {
|
1475 |
+
content: "\f190";
|
1476 |
+
}
|
1477 |
+
|
1478 |
+
.dslc-icon-caret-square-left:before {
|
1479 |
+
content: "\f191";
|
1480 |
+
}
|
1481 |
+
|
1482 |
+
.dslc-icon-dot-circle:before {
|
1483 |
+
content: "\f192";
|
1484 |
+
}
|
1485 |
+
|
1486 |
+
.dslc-icon-wheelchair:before {
|
1487 |
+
content: "\f193";
|
1488 |
+
}
|
1489 |
+
|
1490 |
+
.dslc-icon-vimeo-square:before {
|
1491 |
+
content: "\f194";
|
1492 |
+
}
|
1493 |
+
|
1494 |
+
.dslc-icon-turkish-lira:before {
|
1495 |
+
content: "\f195";
|
1496 |
+
}
|
1497 |
+
|
1498 |
+
/**
|
1499 |
+
* 4.1
|
1500 |
+
*/
|
1501 |
+
|
1502 |
+
.dslc-icon-space-shuttle:before {
|
1503 |
+
content: "\f197";
|
1504 |
+
}
|
1505 |
+
.dslc-icon-slack:before {
|
1506 |
+
content: "\f198";
|
1507 |
+
}
|
1508 |
+
.dslc-icon-envelope-square:before {
|
1509 |
+
content: "\f199";
|
1510 |
+
}
|
1511 |
+
.dslc-icon-wordpress:before {
|
1512 |
+
content: "\f19a";
|
1513 |
+
}
|
1514 |
+
.dslc-icon-openid:before {
|
1515 |
+
content: "\f19b";
|
1516 |
+
}
|
1517 |
+
.dslc-icon-institution:before,
|
1518 |
+
.dslc-icon-bank:before,
|
1519 |
+
.dslc-icon-university:before {
|
1520 |
+
content: "\f19c";
|
1521 |
+
}
|
1522 |
+
.dslc-icon-mortar-board:before,
|
1523 |
+
.dslc-icon-graduation-cap:before {
|
1524 |
+
content: "\f19d";
|
1525 |
+
}
|
1526 |
+
.dslc-icon-yahoo:before {
|
1527 |
+
content: "\f19e";
|
1528 |
+
}
|
1529 |
+
.dslc-icon-google:before {
|
1530 |
+
content: "\f1a0";
|
1531 |
+
}
|
1532 |
+
.dslc-icon-reddit:before {
|
1533 |
+
content: "\f1a1";
|
1534 |
+
}
|
1535 |
+
.dslc-icon-reddit-square:before {
|
1536 |
+
content: "\f1a2";
|
1537 |
+
}
|
1538 |
+
.dslc-icon-stumbleupon-circle:before {
|
1539 |
+
content: "\f1a3";
|
1540 |
+
}
|
1541 |
+
.dslc-icon-stumbleupon:before {
|
1542 |
+
content: "\f1a4";
|
1543 |
+
}
|
1544 |
+
.dslc-icon-delicious:before {
|
1545 |
+
content: "\f1a5";
|
1546 |
+
}
|
1547 |
+
.dslc-icon-digg:before {
|
1548 |
+
content: "\f1a6";
|
1549 |
+
}
|
1550 |
+
.dslc-icon-pied-piper-square:before,
|
1551 |
+
.dslc-icon-pied-piper:before {
|
1552 |
+
content: "\f1a7";
|
1553 |
+
}
|
1554 |
+
.dslc-icon-pied-piper-alt:before {
|
1555 |
+
content: "\f1a8";
|
1556 |
+
}
|
1557 |
+
.dslc-icon-drupal:before {
|
1558 |
+
content: "\f1a9";
|
1559 |
+
}
|
1560 |
+
.dslc-icon-joomla:before {
|
1561 |
+
content: "\f1aa";
|
1562 |
+
}
|
1563 |
+
.dslc-icon-language:before {
|
1564 |
+
content: "\f1ab";
|
1565 |
+
}
|
1566 |
+
.dslc-icon-fax:before {
|
1567 |
+
content: "\f1ac";
|
1568 |
+
}
|
1569 |
+
.dslc-icon-building:before {
|
1570 |
+
content: "\f1ad";
|
1571 |
+
}
|
1572 |
+
.dslc-icon-child:before {
|
1573 |
+
content: "\f1ae";
|
1574 |
+
}
|
1575 |
+
.dslc-icon-paw:before {
|
1576 |
+
content: "\f1b0";
|
1577 |
+
}
|
1578 |
+
.dslc-icon-spoon:before {
|
1579 |
+
content: "\f1b1";
|
1580 |
+
}
|
1581 |
+
.dslc-icon-cube:before {
|
1582 |
+
content: "\f1b2";
|
1583 |
+
}
|
1584 |
+
.dslc-icon-cubes:before {
|
1585 |
+
content: "\f1b3";
|
1586 |
+
}
|
1587 |
+
.dslc-icon-behance:before {
|
1588 |
+
content: "\f1b4";
|
1589 |
+
}
|
1590 |
+
.dslc-icon-behance-square:before {
|
1591 |
+
content: "\f1b5";
|
1592 |
+
}
|
1593 |
+
.dslc-icon-steam:before {
|
1594 |
+
content: "\f1b6";
|
1595 |
+
}
|
1596 |
+
.dslc-icon-steam-square:before {
|
1597 |
+
content: "\f1b7";
|
1598 |
+
}
|
1599 |
+
.dslc-icon-recycle:before {
|
1600 |
+
content: "\f1b8";
|
1601 |
+
}
|
1602 |
+
.dslc-icon-automobile:before,
|
1603 |
+
.dslc-icon-car:before {
|
1604 |
+
content: "\f1b9";
|
1605 |
+
}
|
1606 |
+
.dslc-icon-cab:before,
|
1607 |
+
.dslc-icon-taxi:before {
|
1608 |
+
content: "\f1ba";
|
1609 |
+
}
|
1610 |
+
.dslc-icon-tree:before {
|
1611 |
+
content: "\f1bb";
|
1612 |
+
}
|
1613 |
+
.dslc-icon-spotify:before {
|
1614 |
+
content: "\f1bc";
|
1615 |
+
}
|
1616 |
+
.dslc-icon-deviantart:before {
|
1617 |
+
content: "\f1bd";
|
1618 |
+
}
|
1619 |
+
.dslc-icon-soundcloud:before {
|
1620 |
+
content: "\f1be";
|
1621 |
+
}
|
1622 |
+
.dslc-icon-database:before {
|
1623 |
+
content: "\f1c0";
|
1624 |
+
}
|
1625 |
+
.dslc-icon-file-pdf-o:before {
|
1626 |
+
content: "\f1c1";
|
1627 |
+
}
|
1628 |
+
.dslc-icon-file-word-o:before {
|
1629 |
+
content: "\f1c2";
|
1630 |
+
}
|
1631 |
+
.dslc-icon-file-excel-o:before {
|
1632 |
+
content: "\f1c3";
|
1633 |
+
}
|
1634 |
+
.dslc-icon-file-powerpoint-o:before {
|
1635 |
+
content: "\f1c4";
|
1636 |
+
}
|
1637 |
+
.dslc-icon-file-photo-o:before,
|
1638 |
+
.dslc-icon-file-picture-o:before,
|
1639 |
+
.dslc-icon-file-image-o:before {
|
1640 |
+
content: "\f1c5";
|
1641 |
+
}
|
1642 |
+
.dslc-icon-file-zip-o:before,
|
1643 |
+
.dslc-icon-file-archive-o:before {
|
1644 |
+
content: "\f1c6";
|
1645 |
+
}
|
1646 |
+
.dslc-icon-file-sound-o:before,
|
1647 |
+
.dslc-icon-file-audio-o:before {
|
1648 |
+
content: "\f1c7";
|
1649 |
+
}
|
1650 |
+
.dslc-icon-file-movie-o:before,
|
1651 |
+
.dslc-icon-file-video-o:before {
|
1652 |
+
content: "\f1c8";
|
1653 |
+
}
|
1654 |
+
.dslc-icon-file-code-o:before {
|
1655 |
+
content: "\f1c9";
|
1656 |
+
}
|
1657 |
+
.dslc-icon-vine:before {
|
1658 |
+
content: "\f1ca";
|
1659 |
+
}
|
1660 |
+
.dslc-icon-codepen:before {
|
1661 |
+
content: "\f1cb";
|
1662 |
+
}
|
1663 |
+
.dslc-icon-jsfiddle:before {
|
1664 |
+
content: "\f1cc";
|
1665 |
+
}
|
1666 |
+
.dslc-icon-life-bouy:before,
|
1667 |
+
.dslc-icon-life-saver:before,
|
1668 |
+
.dslc-icon-support:before,
|
1669 |
+
.dslc-icon-life-ring:before {
|
1670 |
+
content: "\f1cd";
|
1671 |
+
}
|
1672 |
+
.dslc-icon-circle-o-notch:before {
|
1673 |
+
content: "\f1ce";
|
1674 |
+
}
|
1675 |
+
.dslc-icon-ra:before,
|
1676 |
+
.dslc-icon-rebel:before {
|
1677 |
+
content: "\f1d0";
|
1678 |
+
}
|
1679 |
+
.dslc-icon-ge:before,
|
1680 |
+
.dslc-icon-empire:before {
|
1681 |
+
content: "\f1d1";
|
1682 |
+
}
|
1683 |
+
.dslc-icon-git-square:before {
|
1684 |
+
content: "\f1d2";
|
1685 |
+
}
|
1686 |
+
.dslc-icon-git:before {
|
1687 |
+
content: "\f1d3";
|
1688 |
+
}
|
1689 |
+
.dslc-icon-hacker-news:before {
|
1690 |
+
content: "\f1d4";
|
1691 |
+
}
|
1692 |
+
.dslc-icon-tencent-weibo:before {
|
1693 |
+
content: "\f1d5";
|
1694 |
+
}
|
1695 |
+
.dslc-icon-qq:before {
|
1696 |
+
content: "\f1d6";
|
1697 |
+
}
|
1698 |
+
.dslc-icon-wechat:before,
|
1699 |
+
.dslc-icon-weixin:before {
|
1700 |
+
content: "\f1d7";
|
1701 |
+
}
|
1702 |
+
.dslc-icon-send:before,
|
1703 |
+
.dslc-icon-paper-plane:before {
|
1704 |
+
content: "\f1d8";
|
1705 |
+
}
|
1706 |
+
.dslc-icon-send-o:before,
|
1707 |
+
.dslc-icon-paper-plane-o:before {
|
1708 |
+
content: "\f1d9";
|
1709 |
+
}
|
1710 |
+
.dslc-icon-history:before {
|
1711 |
+
content: "\f1da";
|
1712 |
+
}
|
1713 |
+
.dslc-icon-circle-thin:before {
|
1714 |
+
content: "\f1db";
|
1715 |
+
}
|
1716 |
+
.dslc-icon-header:before {
|
1717 |
+
content: "\f1dc";
|
1718 |
+
}
|
1719 |
+
.dslc-icon-paragraph:before {
|
1720 |
+
content: "\f1dd";
|
1721 |
+
}
|
1722 |
+
.dslc-icon-sliders:before {
|
1723 |
+
content: "\f1de";
|
1724 |
+
}
|
1725 |
+
.dslc-icon-share-alt:before {
|
1726 |
+
content: "\f1e0";
|
1727 |
+
}
|
1728 |
+
.dslc-icon-share-alt-square:before {
|
1729 |
+
content: "\f1e1";
|
1730 |
+
}
|
1731 |
+
.dslc-icon-bomb:before {
|
1732 |
+
content: "\f1e2";
|
1733 |
+
}
|
1734 |
+
|
1735 |
+
/**
|
1736 |
+
* 4.2
|
1737 |
+
*/
|
1738 |
+
|
1739 |
+
.dslc-icon-angellist:before {
|
1740 |
+
content:"\f209";
|
1741 |
+
}
|
1742 |
+
.dslc-icon-area-chart:before {
|
1743 |
+
content:"\f1fe";
|
1744 |
+
}
|
1745 |
+
.dslc-icon-at:before {
|
1746 |
+
content:"\f1fa";
|
1747 |
+
}
|
1748 |
+
.dslc-icon-bell-slash:before {
|
1749 |
+
content:"\f1f6";
|
1750 |
+
}
|
1751 |
+
.dslc-icon-bell-slash-o:before {
|
1752 |
+
content:"\f1f7";
|
1753 |
+
}
|
1754 |
+
.dslc-icon-bicycle:before {
|
1755 |
+
content:"\f206";
|
1756 |
+
}
|
1757 |
+
.dslc-icon-binoculars:before {
|
1758 |
+
content:"\f1e5";
|
1759 |
+
}
|
1760 |
+
.dslc-icon-birthday-cake:before {
|
1761 |
+
content:"\f1fd";
|
1762 |
+
}
|
1763 |
+
.dslc-icon-bus:before {
|
1764 |
+
content:"\f207";
|
1765 |
+
}
|
1766 |
+
.dslc-icon-calculator:before {
|
1767 |
+
content:"\f1ec";
|
1768 |
+
}
|
1769 |
+
.dslc-icon-cc:before {
|
1770 |
+
content:"\f20a";
|
1771 |
+
}
|
1772 |
+
.dslc-icon-cc-amex:before {
|
1773 |
+
content:"\f1f3";
|
1774 |
+
}
|
1775 |
+
.dslc-icon-cc-discover:before {
|
1776 |
+
content:"\f1f2";
|
1777 |
+
}
|
1778 |
+
.dslc-icon-cc-mastercard:before {
|
1779 |
+
content:"\f1f1";
|
1780 |
+
}
|
1781 |
+
.dslc-icon-cc-paypal:before {
|
1782 |
+
content:"\f1f4";
|
1783 |
+
}
|
1784 |
+
.dslc-icon-cc-stripe:before {
|
1785 |
+
content:"\f1f5";
|
1786 |
+
}
|
1787 |
+
.dslc-icon-cc-visa:before {
|
1788 |
+
content:"\f1f0";
|
1789 |
+
}
|
1790 |
+
.dslc-icon-copyright:before {
|
1791 |
+
content:"\f1f9";
|
1792 |
+
}
|
1793 |
+
.dslc-icon-eyedropper:before {
|
1794 |
+
content:"\f1fb";
|
1795 |
+
}
|
1796 |
+
.dslc-icon-futbol-o:before {
|
1797 |
+
content:"\f1e3";
|
1798 |
+
}
|
1799 |
+
.dslc-icon-google-wallet:before {
|
1800 |
+
content:"\f1ee";
|
1801 |
+
}
|
1802 |
+
.dslc-icon-ils:before {
|
1803 |
+
content:"\f20b";
|
1804 |
+
}
|
1805 |
+
.dslc-icon-ioxhost:before {
|
1806 |
+
content:"\f208";
|
1807 |
+
}
|
1808 |
+
.dslc-icon-lastfm:before {
|
1809 |
+
content:"\f202";
|
1810 |
+
}
|
1811 |
+
.dslc-icon-lastfm-square:before {
|
1812 |
+
content:"\f203";
|
1813 |
+
}
|
1814 |
+
.dslc-icon-line-chart:before {
|
1815 |
+
content:"\f201";
|
1816 |
+
}
|
1817 |
+
.dslc-icon-meanpath:before {
|
1818 |
+
content:"\f20c";
|
1819 |
+
}
|
1820 |
+
.dslc-icon-newspaper-o:before {
|
1821 |
+
content:"\f1ea";
|
1822 |
+
}
|
1823 |
+
.dslc-icon-paint-brush:before {
|
1824 |
+
content:"\f1fc";
|
1825 |
+
}
|
1826 |
+
.dslc-icon-paypal:before {
|
1827 |
+
content:"\f1ed";
|
1828 |
+
}
|
1829 |
+
.dslc-icon-pie-chart:before {
|
1830 |
+
content:"\f200";
|
1831 |
+
}
|
1832 |
+
.dslc-icon-plug:before {
|
1833 |
+
content:"\f1e6";
|
1834 |
+
}
|
1835 |
+
.dslc-icon-slideshare:before {
|
1836 |
+
content:"\f1e7";
|
1837 |
+
}
|
1838 |
+
.dslc-icon-toggle-off:before {
|
1839 |
+
content:"\f204";
|
1840 |
+
}
|
1841 |
+
.dslc-icon-toggle-on:before {
|
1842 |
+
content:"\f205";
|
1843 |
+
}
|
1844 |
+
.dslc-icon-trash:before {
|
1845 |
+
content:"\f1f8";
|
1846 |
+
}
|
1847 |
+
.dslc-icon-tty:before {
|
1848 |
+
content:"\f1e4";
|
1849 |
+
}
|
1850 |
+
.dslc-icon-twitch:before {
|
1851 |
+
content:"\f1e8";
|
1852 |
+
}
|
1853 |
+
.dslc-icon-wifi:before {
|
1854 |
+
content:"\f1eb";
|
1855 |
+
}
|
1856 |
+
.dslc-icon-yelp:before {
|
1857 |
+
content:"\f1e9";
|
1858 |
+
}
|
1859 |
+
|
1860 |
+
/* 4.3 */
|
1861 |
+
|
1862 |
+
.dslc-icon-bed:before {
|
1863 |
+
content:"\f236";
|
1864 |
+
}
|
1865 |
+
.dslc-icon-buysellads:before {
|
1866 |
+
content:"\f20d";
|
1867 |
+
}
|
1868 |
+
.dslc-icon-cart-arrow-down:before {
|
1869 |
+
content:"\f218";
|
1870 |
+
}
|
1871 |
+
.dslc-icon-cart-plus:before {
|
1872 |
+
content:"\f217";
|
1873 |
+
}
|
1874 |
+
.dslc-icon-connectdevelop:before {
|
1875 |
+
content:"\f20e";
|
1876 |
+
}
|
1877 |
+
.dslc-icon-dashcube:before {
|
1878 |
+
content:"\f210";
|
1879 |
+
}
|
1880 |
+
.dslc-icon-diamond:before {
|
1881 |
+
content:"\f219";
|
1882 |
+
}
|
1883 |
+
.dslc-icon-facebook-official:before {
|
1884 |
+
content:"\f230";
|
1885 |
+
}
|
1886 |
+
.dslc-icon-forumbee:before {
|
1887 |
+
content:"\f211";
|
1888 |
+
}
|
1889 |
+
.dslc-icon-heartbeat:before {
|
1890 |
+
content:"\f21e";
|
1891 |
+
}
|
1892 |
+
.dslc-icon-leanpub:before {
|
1893 |
+
content:"\f212";
|
1894 |
+
}
|
1895 |
+
.dslc-icon-mars:before {
|
1896 |
+
content:"\f222";
|
1897 |
+
}
|
1898 |
+
.dslc-icon-mars-double:before {
|
1899 |
+
content:"\f227";
|
1900 |
+
}
|
1901 |
+
.dslc-icon-mars-stroke:before {
|
1902 |
+
content:"\f229";
|
1903 |
+
}
|
1904 |
+
.dslc-icon-mars-stroke-h:before {
|
1905 |
+
content:"\f22b";
|
1906 |
+
}
|
1907 |
+
.dslc-icon-mars-stroke-v:before {
|
1908 |
+
content:"\f22a";
|
1909 |
+
}
|
1910 |
+
.dslc-icon-medium:before {
|
1911 |
+
content:"\f23a";
|
1912 |
+
}
|
1913 |
+
.dslc-icon-mercury:before {
|
1914 |
+
content:"\f223";
|
1915 |
+
}
|
1916 |
+
.dslc-icon-motorcycle:before {
|
1917 |
+
content:"\f21c";
|
1918 |
+
}
|
1919 |
+
.dslc-icon-neuter:before {
|
1920 |
+
content:"\f22c";
|
1921 |
+
}
|
1922 |
+
.dslc-icon-pinterest-p:before {
|
1923 |
+
content:"\f231";
|
1924 |
+
}
|
1925 |
+
.dslc-icon-sellsy:before {
|
1926 |
+
content:"\f213";
|
1927 |
+
}
|
1928 |
+
.dslc-icon-server:before {
|
1929 |
+
content:"\f233";
|
1930 |
+
}
|
1931 |
+
.dslc-icon-ship:before {
|
1932 |
+
content:"\f21a";
|
1933 |
+
}
|
1934 |
+
.dslc-icon-shirtsinbulk:before {
|
1935 |
+
content:"\f214";
|
1936 |
+
}
|
1937 |
+
.dslc-icon-simplybuilt:before {
|
1938 |
+
content:"\f215";
|
1939 |
+
}
|
1940 |
+
.dslc-icon-skyatlas:before {
|
1941 |
+
content:"\f216";
|
1942 |
+
}
|
1943 |
+
.dslc-icon-street-view:before {
|
1944 |
+
content:"\f21d";
|
1945 |
+
}
|
1946 |
+
.dslc-icon-subway:before {
|
1947 |
+
content:"\f239";
|
1948 |
+
}
|
1949 |
+
.dslc-icon-train:before {
|
1950 |
+
content:"\f238";
|
1951 |
+
}
|
1952 |
+
.dslc-icon-transgender:before {
|
1953 |
+
content:"\f224";
|
1954 |
+
}
|
1955 |
+
.dslc-icon-transgender-alt:before {
|
1956 |
+
content:"\f225";
|
1957 |
+
}
|
1958 |
+
.dslc-icon-user-plus:before {
|
1959 |
+
content:"\f234";
|
1960 |
+
}
|
1961 |
+
.dslc-icon-user-secret:before {
|
1962 |
+
content:"\f21b";
|
1963 |
+
}
|
1964 |
+
.dslc-icon-user-times:before {
|
1965 |
+
content:"\f235";
|
1966 |
+
}
|
1967 |
+
.dslc-icon-venus:before {
|
1968 |
+
content:"\f221";
|
1969 |
+
}
|
1970 |
+
.dslc-icon-venus-double:before {
|
1971 |
+
content:"\f226";
|
1972 |
+
}
|
1973 |
+
.dslc-icon-venus-mars:before {
|
1974 |
+
content:"\f228";
|
1975 |
+
}
|
1976 |
+
.dslc-icon-viacoin:before {
|
1977 |
+
content:"\f237";
|
1978 |
+
}
|
1979 |
+
.dslc-icon-whatsapp:before {
|
1980 |
+
content:"\f232";
|
1981 |
+
}
|
1982 |
+
|
1983 |
+
/**
|
1984 |
+
* 4.4
|
1985 |
+
*/
|
1986 |
+
|
1987 |
+
.dslc-icon-yc:before,
|
1988 |
+
.dslc-icon-y-combinator:before {
|
1989 |
+
content: "\f23b";
|
1990 |
+
}
|
1991 |
+
.dslc-icon-optin-monster:before {
|
1992 |
+
content: "\f23c";
|
1993 |
+
}
|
1994 |
+
.dslc-icon-opencart:before {
|
1995 |
+
content: "\f23d";
|
1996 |
+
}
|
1997 |
+
.dslc-icon-expeditedssl:before {
|
1998 |
+
content: "\f23e";
|
1999 |
+
}
|
2000 |
+
.dslc-icon-battery-4:before,
|
2001 |
+
.dslc-icon-battery-full:before {
|
2002 |
+
content: "\f240";
|
2003 |
+
}
|
2004 |
+
.dslc-icon-battery-3:before,
|
2005 |
+
.dslc-icon-battery-three-quarters:before {
|
2006 |
+
content: "\f241";
|
2007 |
+
}
|
2008 |
+
.dslc-icon-battery-2:before,
|
2009 |
+
.dslc-icon-battery-half:before {
|
2010 |
+
content: "\f242";
|
2011 |
+
}
|
2012 |
+
.dslc-icon-battery-1:before,
|
2013 |
+
.dslc-icon-battery-quarter:before {
|
2014 |
+
content: "\f243";
|
2015 |
+
}
|
2016 |
+
.dslc-icon-battery-0:before,
|
2017 |
+
.dslc-icon-battery-empty:before {
|
2018 |
+
content: "\f244";
|
2019 |
+
}
|
2020 |
+
.dslc-icon-mouse-pointer:before {
|
2021 |
+
content: "\f245";
|
2022 |
+
}
|
2023 |
+
.dslc-icon-i-cursor:before {
|
2024 |
+
content: "\f246";
|
2025 |
+
}
|
2026 |
+
.dslc-icon-object-group:before {
|
2027 |
+
content: "\f247";
|
2028 |
+
}
|
2029 |
+
.dslc-icon-object-ungroup:before {
|
2030 |
+
content: "\f248";
|
2031 |
+
}
|
2032 |
+
.dslc-icon-sticky-note:before {
|
2033 |
+
content: "\f249";
|
2034 |
+
}
|
2035 |
+
.dslc-icon-sticky-note-o:before {
|
2036 |
+
content: "\f24a";
|
2037 |
+
}
|
2038 |
+
.dslc-icon-cc-jcb:before {
|
2039 |
+
content: "\f24b";
|
2040 |
+
}
|
2041 |
+
.dslc-icon-cc-diners-club:before {
|
2042 |
+
content: "\f24c";
|
2043 |
+
}
|
2044 |
+
.dslc-icon-clone:before {
|
2045 |
+
content: "\f24d";
|
2046 |
+
}
|
2047 |
+
.dslc-icon-balance-scale:before {
|
2048 |
+
content: "\f24e";
|
2049 |
+
}
|
2050 |
+
.dslc-icon-hourglass-o:before {
|
2051 |
+
content: "\f250";
|
2052 |
+
}
|
2053 |
+
.dslc-icon-hourglass-1:before,
|
2054 |
+
.dslc-icon-hourglass-start:before {
|
2055 |
+
content: "\f251";
|
2056 |
+
}
|
2057 |
+
.dslc-icon-hourglass-2:before,
|
2058 |
+
.dslc-icon-hourglass-half:before {
|
2059 |
+
content: "\f252";
|
2060 |
+
}
|
2061 |
+
.dslc-icon-hourglass-3:before,
|
2062 |
+
.dslc-icon-hourglass-end:before {
|
2063 |
+
content: "\f253";
|
2064 |
+
}
|
2065 |
+
.dslc-icon-hourglass:before {
|
2066 |
+
content: "\f254";
|
2067 |
+
}
|
2068 |
+
.dslc-icon-hand-grab-o:before,
|
2069 |
+
.dslc-icon-hand-rock-o:before {
|
2070 |
+
content: "\f255";
|
2071 |
+
}
|
2072 |
+
.dslc-icon-hand-stop-o:before,
|
2073 |
+
.dslc-icon-hand-paper-o:before {
|
2074 |
+
content: "\f256";
|
2075 |
+
}
|
2076 |
+
.dslc-icon-hand-scissors-o:before {
|
2077 |
+
content: "\f257";
|
2078 |
+
}
|
2079 |
+
.dslc-icon-hand-lizard-o:before {
|
2080 |
+
content: "\f258";
|
2081 |
+
}
|
2082 |
+
.dslc-icon-hand-spock-o:before {
|
2083 |
+
content: "\f259";
|
2084 |
+
}
|
2085 |
+
.dslc-icon-hand-pointer-o:before {
|
2086 |
+
content: "\f25a";
|
2087 |
+
}
|
2088 |
+
.dslc-icon-hand-peace-o:before {
|
2089 |
+
content: "\f25b";
|
2090 |
+
}
|
2091 |
+
.dslc-icon-trademark:before {
|
2092 |
+
content: "\f25c";
|
2093 |
+
}
|
2094 |
+
.dslc-icon-registered:before {
|
2095 |
+
content: "\f25d";
|
2096 |
+
}
|
2097 |
+
.dslc-icon-creative-commons:before {
|
2098 |
+
content: "\f25e";
|
2099 |
+
}
|
2100 |
+
.dslc-icon-gg:before {
|
2101 |
+
content: "\f260";
|
2102 |
+
}
|
2103 |
+
.dslc-icon-gg-circle:before {
|
2104 |
+
content: "\f261";
|
2105 |
+
}
|
2106 |
+
.dslc-icon-tripadvisor:before {
|
2107 |
+
content: "\f262";
|
2108 |
+
}
|
2109 |
+
.dslc-icon-odnoklassniki:before {
|
2110 |
+
content: "\f263";
|
2111 |
+
}
|
2112 |
+
.dslc-icon-odnoklassniki-square:before {
|
2113 |
+
content: "\f264";
|
2114 |
+
}
|
2115 |
+
.dslc-icon-get-pocket:before {
|
2116 |
+
content: "\f265";
|
2117 |
+
}
|
2118 |
+
.dslc-icon-wikipedia-w:before {
|
2119 |
+
content: "\f266";
|
2120 |
+
}
|
2121 |
+
.dslc-icon-safari:before {
|
2122 |
+
content: "\f267";
|
2123 |
+
}
|
2124 |
+
.dslc-icon-chrome:before {
|
2125 |
+
content: "\f268";
|
2126 |
+
}
|
2127 |
+
.dslc-icon-firefox:before {
|
2128 |
+
content: "\f269";
|
2129 |
+
}
|
2130 |
+
.dslc-icon-opera:before {
|
2131 |
+
content: "\f26a";
|
2132 |
+
}
|
2133 |
+
.dslc-icon-internet-explorer:before {
|
2134 |
+
content: "\f26b";
|
2135 |
+
}
|
2136 |
+
.dslc-icon-tv:before,
|
2137 |
+
.dslc-icon-television:before {
|
2138 |
+
content: "\f26c";
|
2139 |
+
}
|
2140 |
+
.dslc-icon-contao:before {
|
2141 |
+
content: "\f26d";
|
2142 |
+
}
|
2143 |
+
.dslc-icon-500px:before {
|
2144 |
+
content: "\f26e";
|
2145 |
+
}
|
2146 |
+
.dslc-icon-amazon:before {
|
2147 |
+
content: "\f270";
|
2148 |
+
}
|
2149 |
+
.dslc-icon-calendar-plus-o:before {
|
2150 |
+
content: "\f271";
|
2151 |
+
}
|
2152 |
+
.dslc-icon-calendar-minus-o:before {
|
2153 |
+
content: "\f272";
|
2154 |
+
}
|
2155 |
+
.dslc-icon-calendar-times-o:before {
|
2156 |
+
content: "\f273";
|
2157 |
+
}
|
2158 |
+
.dslc-icon-calendar-check-o:before {
|
2159 |
+
content: "\f274";
|
2160 |
+
}
|
2161 |
+
.dslc-icon-industry:before {
|
2162 |
+
content: "\f275";
|
2163 |
+
}
|
2164 |
+
.dslc-icon-map-pin:before {
|
2165 |
+
content: "\f276";
|
2166 |
+
}
|
2167 |
+
.dslc-icon-map-signs:before {
|
2168 |
+
content: "\f277";
|
2169 |
+
}
|
2170 |
+
.dslc-icon-map-o:before {
|
2171 |
+
content: "\f278";
|
2172 |
+
}
|
2173 |
+
.dslc-icon-map:before {
|
2174 |
+
content: "\f279";
|
2175 |
+
}
|
2176 |
+
.dslc-icon-commenting:before {
|
2177 |
+
content: "\f27a";
|
2178 |
+
}
|
2179 |
+
.dslc-icon-commenting-o:before {
|
2180 |
+
content: "\f27b";
|
2181 |
+
}
|
2182 |
+
.dslc-icon-houzz:before {
|
2183 |
+
content: "\f27c";
|
2184 |
+
}
|
2185 |
+
.dslc-icon-vimeo:before {
|
2186 |
+
content: "\f27d";
|
2187 |
+
}
|
2188 |
+
.dslc-icon-black-tie:before {
|
2189 |
+
content: "\f27e";
|
2190 |
+
}
|
2191 |
+
.dslc-icon-fonticons:before {
|
2192 |
+
content: "\f280";
|
2193 |
}
|
css/main.css
CHANGED
@@ -1,1127 +1,1127 @@
|
|
1 |
-
#dslc-content blockquote p:last-child { margin-bottom: 0 !important; }
|
2 |
-
|
3 |
-
#dslc-header {
|
4 |
-
position: relative;
|
5 |
-
}
|
6 |
-
|
7 |
-
#dslc-header.dslc-header-pos-absolute {
|
8 |
-
position: absolute;
|
9 |
-
top: 0;
|
10 |
-
left: 0;
|
11 |
-
right: 0;
|
12 |
-
z-index: 999999;
|
13 |
-
}
|
14 |
-
|
15 |
-
#dslc-header.dslc-header-pos-fixed {
|
16 |
-
position: fixed;
|
17 |
-
top: 0;
|
18 |
-
left: 0;
|
19 |
-
right: 0;
|
20 |
-
z-index: 999999;
|
21 |
-
}
|
22 |
-
|
23 |
-
body.admin-bar #dslc-header.dslc-header-pos-fixed,
|
24 |
-
body.admin-bar #dslc-header.dslc-header-pos-absolute {
|
25 |
-
top: 32px;
|
26 |
-
}
|
27 |
-
|
28 |
-
#dslc-footer {
|
29 |
-
position: relative;
|
30 |
-
}
|
31 |
-
|
32 |
-
#dslc-footer.dslc-footer-pos-absolute {
|
33 |
-
position: absolute;
|
34 |
-
bottom: 0;
|
35 |
-
left: 0;
|
36 |
-
right: 0;
|
37 |
-
z-index: 999999;
|
38 |
-
}
|
39 |
-
|
40 |
-
#dslc-footer.dslc-footer-pos-fixed {
|
41 |
-
position: fixed;
|
42 |
-
bottom: 0;
|
43 |
-
left: 0;
|
44 |
-
right: 0;
|
45 |
-
z-index: 999999;
|
46 |
-
}
|
47 |
-
|
48 |
-
#dslc-header.dslca-header-low-z-index,
|
49 |
-
.dslca-drag-in-progress #dslc-header {
|
50 |
-
z-index: 0;
|
51 |
-
}
|
52 |
-
|
53 |
-
#dslc-content {
|
54 |
-
position: relative;
|
55 |
-
}
|
56 |
-
|
57 |
-
.dslca-container .dslca-close-composer-hook,
|
58 |
-
.dslca-activate-composer-hook,
|
59 |
-
.dslca-container .dslca-hide-composer-hook,
|
60 |
-
.dslca-container .dslca-show-composer-hook {
|
61 |
-
background: #e55f5f;
|
62 |
-
border-radius: 3px;
|
63 |
-
bottom: 4px;
|
64 |
-
color: #fff;
|
65 |
-
cursor: pointer;
|
66 |
-
display: block;
|
67 |
-
font-size: 11px;
|
68 |
-
font-family: "Open Sans";
|
69 |
-
font-weight: 900;
|
70 |
-
line-height: 1;
|
71 |
-
padding: 11px 12px;
|
72 |
-
text-transform: uppercase;
|
73 |
-
text-decoration: none;
|
74 |
-
white-space: nowrap;
|
75 |
-
float: left;
|
76 |
-
margin-left: 5px;
|
77 |
-
}
|
78 |
-
|
79 |
-
.dslca-container .dslca-hide-composer-hook {
|
80 |
-
background: #06b2ac;
|
81 |
-
}
|
82 |
-
|
83 |
-
.dslca-container .dslca-show-composer-hook {
|
84 |
-
background: #9268a9;
|
85 |
-
}
|
86 |
-
|
87 |
-
.dslca-close-composer-hook:hover,
|
88 |
-
.dslca-activate-composer-hook:hover,
|
89 |
-
.dslca-activate-composer-hook:visited,
|
90 |
-
.dslca-close-composer-hook:visited {
|
91 |
-
color: #fff;
|
92 |
-
}
|
93 |
-
|
94 |
-
.dslca-activate-composer-hook {
|
95 |
-
background: #54c13f;
|
96 |
-
color: #fff;
|
97 |
-
position: fixed;
|
98 |
-
z-index: 99999;
|
99 |
-
right: 5px;
|
100 |
-
bottom: 5px;
|
101 |
-
}
|
102 |
-
|
103 |
-
.dslca-activate-composer-hook.dslca-position-left {
|
104 |
-
right: auto;
|
105 |
-
left: 5px;
|
106 |
-
}
|
107 |
-
|
108 |
-
.dslca-container .dslca-show-composer-hook {
|
109 |
-
display: none;
|
110 |
-
}
|
111 |
-
|
112 |
-
.dslca-container .dslca-close-composer-hook .dslca-icon,
|
113 |
-
.dslca-activate-composer-hook .dslca-icon,
|
114 |
-
.dslca-container .dslca-hide-composer-hook .dslca-icon,
|
115 |
-
.dslca-container .dslca-show-composer-hook .dslca-icon {
|
116 |
-
color: rgba( 255, 255, 255, 0.66 );
|
117 |
-
margin-right: 5px;
|
118 |
-
}
|
119 |
-
|
120 |
-
.dslc-modules-section {
|
121 |
-
border: 0px solid transparent;
|
122 |
-
position: relative;
|
123 |
-
}
|
124 |
-
|
125 |
-
.dslc-modules-section.dslc-init-parallax {
|
126 |
-
background-attachment: fixed;
|
127 |
-
}
|
128 |
-
|
129 |
-
.dslc-modules-section-wrapper {
|
130 |
-
max-width: 100%;
|
131 |
-
margin: 0 auto;
|
132 |
-
}
|
133 |
-
|
134 |
-
.dslc-modules-section.dslc-full .dslc-modules-section-wrapper {
|
135 |
-
width: 100%;
|
136 |
-
}
|
137 |
-
|
138 |
-
.dslc-module-front {
|
139 |
-
position: relative;
|
140 |
-
}
|
141 |
-
|
142 |
-
/**
|
143 |
-
* Grid System
|
144 |
-
*/
|
145 |
-
|
146 |
-
.dslc-col {
|
147 |
-
display: block;
|
148 |
-
float: left;
|
149 |
-
margin-right: 2.12766%;
|
150 |
-
}
|
151 |
-
|
152 |
-
body.rtl .dslc-col {
|
153 |
-
float: right;
|
154 |
-
margin-left: 2.12766%;
|
155 |
-
margin-right: 0;
|
156 |
-
}
|
157 |
-
|
158 |
-
.dslc-1-col { width: 6.38297%; }
|
159 |
-
.dslc-2-col { width: 14.89361%; }
|
160 |
-
.dslc-3-col { width: 23.40425%; }
|
161 |
-
.dslc-4-col { width: 31.91489%; }
|
162 |
-
.dslc-5-col { width: 40.42553%; }
|
163 |
-
.dslc-6-col { width: 48.93617%; }
|
164 |
-
.dslc-7-col { width: 57.4468%; }
|
165 |
-
.dslc-8-col { width: 65.95744%; }
|
166 |
-
.dslc-9-col { width: 74.46808%; }
|
167 |
-
.dslc-10-col { width: 82.97872%; }
|
168 |
-
.dslc-11-col { width: 91.48936%; }
|
169 |
-
.dslc-12-col { width: 100%; }
|
170 |
-
|
171 |
-
.dslc-last-col {
|
172 |
-
margin-right: 0;
|
173 |
-
}
|
174 |
-
|
175 |
-
body.rtl .dslc-last-col {
|
176 |
-
margin-left: 0;
|
177 |
-
}
|
178 |
-
|
179 |
-
.dslc-first-col {
|
180 |
-
clear: both;
|
181 |
-
}
|
182 |
-
|
183 |
-
.dslc-no-columns-spacing .dslc-col { margin: 0; }
|
184 |
-
.dslc-no-columns-spacing .dslc-1-col { width: 8.33333%; }
|
185 |
-
.dslc-no-columns-spacing .dslc-2-col { width: 16.66666%; }
|
186 |
-
.dslc-no-columns-spacing .dslc-3-col { width: 25%; }
|
187 |
-
.dslc-no-columns-spacing .dslc-4-col { width: 33.33333%; }
|
188 |
-
.dslc-no-columns-spacing .dslc-5-col { width: 41.66666%; }
|
189 |
-
.dslc-no-columns-spacing .dslc-6-col { width: 50%; }
|
190 |
-
.dslc-no-columns-spacing .dslc-7-col { width: 58.33333%; }
|
191 |
-
.dslc-no-columns-spacing .dslc-8-col { width: 66.66666%; }
|
192 |
-
.dslc-no-columns-spacing .dslc-9-col { width: 75%; }
|
193 |
-
.dslc-no-columns-spacing .dslc-10-col { width: 83.33333%; }
|
194 |
-
.dslc-no-columns-spacing .dslc-11-col { width: 91.66666%; }
|
195 |
-
.dslc-no-columns-spacing .dslc-12-col { width: 100%; }
|
196 |
-
|
197 |
-
.dslc-module-heading:before,
|
198 |
-
.dslc-module-heading:after,
|
199 |
-
.dslc-clearfix:before,
|
200 |
-
.dslc-clearfix:after {
|
201 |
-
content: " ";
|
202 |
-
display: table;
|
203 |
-
}
|
204 |
-
|
205 |
-
.dslc-module-heading:after,
|
206 |
-
.dslc-clearfix:after {
|
207 |
-
clear: both;
|
208 |
-
}
|
209 |
-
|
210 |
-
.dslc-module-heading,
|
211 |
-
.dslc-clearfix {
|
212 |
-
*zoom: 1;
|
213 |
-
}
|
214 |
-
|
215 |
-
.dslc-fl {
|
216 |
-
float: left;
|
217 |
-
}
|
218 |
-
|
219 |
-
.dslc-fr {
|
220 |
-
float: right;
|
221 |
-
}
|
222 |
-
|
223 |
-
.dslc-clear {
|
224 |
-
clear: both;
|
225 |
-
}
|
226 |
-
|
227 |
-
.dslc-no-float {
|
228 |
-
float: none !important;
|
229 |
-
}
|
230 |
-
|
231 |
-
.dslc-posts {
|
232 |
-
overflow: hidden; /* Eliminate scroller ( due to negat. margin and width increase ) */
|
233 |
-
}
|
234 |
-
|
235 |
-
.dslc-carousel .dslc-col,
|
236 |
-
.dslc-carousel .dslc-first-col,
|
237 |
-
.dslc-carousel .dslc-last-col {
|
238 |
-
float: none;
|
239 |
-
clear: none;
|
240 |
-
margin: 0;
|
241 |
-
}
|
242 |
-
|
243 |
-
.dslc-no-columns-spacing .dslc-carousel .dslc-col,
|
244 |
-
.dslc-no-columns-spacing .dslc-carousel .dslc-first-col,
|
245 |
-
.dslc-no-columns-spacing .dslc-carousel .dslc-last-col {
|
246 |
-
width: 100%;
|
247 |
-
}
|
248 |
-
|
249 |
-
.dslc-carousel-item {
|
250 |
-
width: auto;
|
251 |
-
|
252 |
-
}
|
253 |
-
|
254 |
-
.dslc-carousel-nav {
|
255 |
-
float: right;
|
256 |
-
}
|
257 |
-
|
258 |
-
.dslc-carousel-nav-inner {
|
259 |
-
display: block;
|
260 |
-
}
|
261 |
-
|
262 |
-
.dslc-carousel-nav-prev,
|
263 |
-
.dslc-carousel-nav-next {
|
264 |
-
background: #c9c9c9;
|
265 |
-
border: 0px solid transparent;
|
266 |
-
border-radius: 3px;
|
267 |
-
display: inline-block;
|
268 |
-
height: 23px;
|
269 |
-
position: relative;
|
270 |
-
width: 23px;
|
271 |
-
text-decoration: none;
|
272 |
-
vertical-align: bottom;
|
273 |
-
}
|
274 |
-
|
275 |
-
.dslc-carousel-nav-prev {
|
276 |
-
margin-right: 7px;
|
277 |
-
}
|
278 |
-
|
279 |
-
.dslc-carousel-nav-next {
|
280 |
-
|
281 |
-
}
|
282 |
-
|
283 |
-
.dslc-carousel-nav-prev span,
|
284 |
-
.dslc-carousel-nav-next span {
|
285 |
-
color: #fff;
|
286 |
-
font-size: 10px;
|
287 |
-
position: absolute;
|
288 |
-
left: 0;
|
289 |
-
right: 0;
|
290 |
-
text-align: center;
|
291 |
-
font-weight: normal;
|
292 |
-
}
|
293 |
-
|
294 |
-
#dslc-content .dslc-carousel .owl-pagination .owl-page span {
|
295 |
-
margin: 0;
|
296 |
-
filter: Alpha(Opacity=100);/*IE7 fix*/
|
297 |
-
opacity: 1;
|
298 |
-
}
|
299 |
-
|
300 |
-
/**
|
301 |
-
* Slider
|
302 |
-
*/
|
303 |
-
|
304 |
-
#dslc-content .dslc-slider {
|
305 |
-
padding-bottom: 1px;
|
306 |
-
opacity: 0;
|
307 |
-
max-height: 10px;
|
308 |
-
}
|
309 |
-
|
310 |
-
#dslc-content .dslc-slider img {
|
311 |
-
max-width: 100%;
|
312 |
-
}
|
313 |
-
|
314 |
-
#dslc-content .dslc-slider .owl-pagination .owl-page span {
|
315 |
-
margin: 0;
|
316 |
-
filter: Alpha(Opacity=100);/*IE7 fix*/
|
317 |
-
opacity: 1;
|
318 |
-
}
|
319 |
-
|
320 |
-
/**
|
321 |
-
* Elements
|
322 |
-
*/
|
323 |
-
|
324 |
-
.dslc-button {
|
325 |
-
/*
|
326 |
-
border: 2px solid #d8d8d8;
|
327 |
-
color: #686868;
|
328 |
-
display: inline-block;
|
329 |
-
font-size: 11px;
|
330 |
-
font-weight: bold;
|
331 |
-
line-height: 1;
|
332 |
-
padding: 10px;
|
333 |
-
text-decoration: none;
|
334 |
-
*/
|
335 |
-
}
|
336 |
-
|
337 |
-
.dslc-carousel {
|
338 |
-
opacity: 0;
|
339 |
-
max-height: 100px;
|
340 |
-
}
|
341 |
-
|
342 |
-
/**
|
343 |
-
* Loader
|
344 |
-
*/
|
345 |
-
|
346 |
-
@keyframes "dslcSpin" {
|
347 |
-
0% {
|
348 |
-
-webkit-transform: rotate(0deg);
|
349 |
-
-moz-transform: rotate(0deg);
|
350 |
-
-o-transform: rotate(0deg);
|
351 |
-
-ms-transform: rotate(0deg);
|
352 |
-
transform: rotate(0deg);
|
353 |
-
}
|
354 |
-
100% {
|
355 |
-
-webkit-transform: rotate(360deg);
|
356 |
-
-moz-transform: rotate(360deg);
|
357 |
-
-o-transform: rotate(360deg);
|
358 |
-
-ms-transform: rotate(360deg);
|
359 |
-
transform: rotate(360deg);
|
360 |
-
}
|
361 |
-
}
|
362 |
-
|
363 |
-
@-moz-keyframes dslcSpin {
|
364 |
-
0% {
|
365 |
-
-moz-transform: rotate(0deg);
|
366 |
-
transform: rotate(0deg);
|
367 |
-
}
|
368 |
-
100% {
|
369 |
-
-moz-transform: rotate(360deg);
|
370 |
-
transform: rotate(360deg);
|
371 |
-
}
|
372 |
-
}
|
373 |
-
|
374 |
-
@-webkit-keyframes "dslcSpin" {
|
375 |
-
0% {
|
376 |
-
-webkit-transform: rotate(0deg);
|
377 |
-
transform: rotate(0deg);
|
378 |
-
}
|
379 |
-
100% {
|
380 |
-
-webkit-transform: rotate(360deg);
|
381 |
-
transform: rotate(360deg);
|
382 |
-
}
|
383 |
-
}
|
384 |
-
|
385 |
-
@-ms-keyframes "dslcSpin" {
|
386 |
-
0% {
|
387 |
-
-ms-transform: rotate(0deg);
|
388 |
-
transform: rotate(0deg);
|
389 |
-
}
|
390 |
-
100% {
|
391 |
-
-ms-transform: rotate(360deg);
|
392 |
-
transform: rotate(360deg);
|
393 |
-
}
|
394 |
-
}
|
395 |
-
|
396 |
-
@-o-keyframes "dslcSpin" {
|
397 |
-
0% {
|
398 |
-
-o-transform: rotate(0deg);
|
399 |
-
transform: rotate(0deg);
|
400 |
-
}
|
401 |
-
100% {
|
402 |
-
-o-transform: rotate(360deg);
|
403 |
-
transform: rotate(360deg);
|
404 |
-
}
|
405 |
-
}
|
406 |
-
|
407 |
-
.dslc-loader {
|
408 |
-
position: relative;
|
409 |
-
display: inline-block;
|
410 |
-
width: 20px;
|
411 |
-
height: 20px;
|
412 |
-
border: 2px solid #0cf;
|
413 |
-
border-radius: 50%;
|
414 |
-
-webkit-animation: dslcSpin 0.75s infinite linear;
|
415 |
-
-moz-animation: dslcSpin 0.75s infinite linear;
|
416 |
-
-ms-animation: dslcSpin 0.75s infinite linear;
|
417 |
-
-o-animation: dslcSpin 0.75s infinite linear;
|
418 |
-
animation: dslcSpin 0.75s infinite linear;
|
419 |
-
margin-left: 48%;
|
420 |
-
}
|
421 |
-
|
422 |
-
.dslc-loader::before,
|
423 |
-
.dslc-loader::after {
|
424 |
-
left: -2px;
|
425 |
-
top: -2px;
|
426 |
-
display: none;
|
427 |
-
position: absolute;
|
428 |
-
content: '';
|
429 |
-
width: inherit;
|
430 |
-
height: inherit;
|
431 |
-
border: inherit;
|
432 |
-
border-radius: inherit;
|
433 |
-
}
|
434 |
-
|
435 |
-
.dslc-loader,
|
436 |
-
.dslc-loader::before {
|
437 |
-
display: inline-block;
|
438 |
-
border-color: transparent;
|
439 |
-
border-top-color: #0cf;
|
440 |
-
}
|
441 |
-
|
442 |
-
.dslc-loader::before {
|
443 |
-
-webkit-animation: dslcSpin 1.5s infinite ease;
|
444 |
-
-moz-animation: dslcSpin 1.5s infinite ease;
|
445 |
-
-ms-animation: dslcSpin 1.5s infinite ease;
|
446 |
-
-o-animation: dslcSpin 1.5s infinite ease;
|
447 |
-
animation: dslcSpin 1.5s infinite ease;
|
448 |
-
}
|
449 |
-
|
450 |
-
/**
|
451 |
-
* Elements
|
452 |
-
*/
|
453 |
-
|
454 |
-
.dslc-notification {
|
455 |
-
background: #ffffff;
|
456 |
-
border: 1px solid #e8e8e8;
|
457 |
-
border-radius: 3px;
|
458 |
-
color: #979797;
|
459 |
-
margin-bottom: 20px;
|
460 |
-
padding: 15px;
|
461 |
-
position: relative;
|
462 |
-
font-size: 14px;
|
463 |
-
line-height: 25px;
|
464 |
-
font-family: "Open Sans";
|
465 |
-
}
|
466 |
-
|
467 |
-
.dslc-notification .dslc-icon {
|
468 |
-
cursor: pointer;
|
469 |
-
position: absolute;
|
470 |
-
right: 14px;
|
471 |
-
top: 21px;
|
472 |
-
}
|
473 |
-
|
474 |
-
.dslc-notification.dslc-red {
|
475 |
-
background: #f65757;
|
476 |
-
border-color: #e43737;
|
477 |
-
color: #fff;
|
478 |
-
text-shadow: 0 1px 1px rgba(0,0,0,.14);
|
479 |
-
}
|
480 |
-
|
481 |
-
.dslc-notification.dslc-yellow {
|
482 |
-
background: #fac841;
|
483 |
-
border-color: #eab72e;
|
484 |
-
color: #fff;
|
485 |
-
text-shadow: 0 1px 1px rgba(0,0,0,.14);
|
486 |
-
}
|
487 |
-
|
488 |
-
.dslc-notification.dslc-green {
|
489 |
-
background: #8ccb25;
|
490 |
-
border-color: #77b01a;
|
491 |
-
color: #fff;
|
492 |
-
text-shadow: 0 1px 1px rgba(0,0,0,.14);
|
493 |
-
}
|
494 |
-
|
495 |
-
#dslc-content .dslc-module-heading {
|
496 |
-
overflow: hidden;
|
497 |
-
position: relative;
|
498 |
-
}
|
499 |
-
|
500 |
-
#dslc-content .dslc-module-heading h2 {
|
501 |
-
display: block;
|
502 |
-
float: left;
|
503 |
-
font-size: 17px;
|
504 |
-
font-weight: 400;
|
505 |
-
font-family: "Oswald";
|
506 |
-
line-height: 1;
|
507 |
-
margin: 0;
|
508 |
-
padding: 0;
|
509 |
-
margin-right: 15px;
|
510 |
-
}
|
511 |
-
|
512 |
-
#dslc-content .dslc-module-heading-view-all {
|
513 |
-
display: block;
|
514 |
-
float: left;
|
515 |
-
font-size: 11px;
|
516 |
-
line-height: 1;
|
517 |
-
margin: 3px 0;
|
518 |
-
margin-right: 20px;
|
519 |
-
}
|
520 |
-
|
521 |
-
#dslc-content .dslc-module-heading-view-all a {
|
522 |
-
display: block;
|
523 |
-
padding-left: 15px;
|
524 |
-
border-left: 1px dotted #4f4f4f;
|
525 |
-
font-family: "Open Sans";
|
526 |
-
font-weight: 600;
|
527 |
-
line-height: 1;
|
528 |
-
text-decoration: none;
|
529 |
-
}
|
530 |
-
|
531 |
-
.dslc-masonry-item {
|
532 |
-
margin-bottom: 30px;
|
533 |
-
margin-right: 0;
|
534 |
-
}
|
535 |
-
|
536 |
-
.dslc-masonry-item-animate {
|
537 |
-
-webkit-transition: all 0.5s ease-in-out;
|
538 |
-
-moz-transition: all 0.5s ease-in-out;
|
539 |
-
-o-transition: all 0.5s ease-in-out;
|
540 |
-
-ms-transition: all 0.5s ease-in-out;
|
541 |
-
transition: all 0.5s ease-in-out;
|
542 |
-
}
|
543 |
-
|
544 |
-
.dslc-post-separator {
|
545 |
-
clear: both;
|
546 |
-
height: 1px;
|
547 |
-
margin-bottom: 15px;
|
548 |
-
padding-bottom: 15px;
|
549 |
-
border-bottom: 1px solid #ededed;
|
550 |
-
}
|
551 |
-
|
552 |
-
.dslc-pagination {
|
553 |
-
border: 0px solid transparent;
|
554 |
-
overflow: hidden;
|
555 |
-
margin-top: 30px;
|
556 |
-
}
|
557 |
-
|
558 |
-
.dslc-pagination ul {
|
559 |
-
margin: 0;
|
560 |
-
padding: 0;
|
561 |
-
}
|
562 |
-
|
563 |
-
.dslc-pagination li {
|
564 |
-
display: inline-block;
|
565 |
-
margin: 0;
|
566 |
-
padding: 0;
|
567 |
-
margin-right: 10px;
|
568 |
-
}
|
569 |
-
|
570 |
-
.dslc-pagination li:last-child {
|
571 |
-
margin-right: 0 !important;
|
572 |
-
}
|
573 |
-
|
574 |
-
.dslc-pagination li a {
|
575 |
-
background: #eee;
|
576 |
-
border: 0px solid transparent;
|
577 |
-
color: #000;
|
578 |
-
display: block;
|
579 |
-
line-height: 1;
|
580 |
-
padding: 10px;
|
581 |
-
text-decoration: none;
|
582 |
-
}
|
583 |
-
|
584 |
-
.dslc-pagination li.current a {
|
585 |
-
background: #000;
|
586 |
-
color: #fff;
|
587 |
-
}
|
588 |
-
|
589 |
-
.dslc-pagination-type-loadmore {
|
590 |
-
|
591 |
-
}
|
592 |
-
|
593 |
-
.dslc-pagination li.dslc-pagination-load-more {
|
594 |
-
width: auto;
|
595 |
-
display: block;
|
596 |
-
}
|
597 |
-
|
598 |
-
.dslc-pagination li.dslc-pagination-load-more.dslc-inactive a {
|
599 |
-
cursor: default;
|
600 |
-
}
|
601 |
-
|
602 |
-
.dslc-pagination-load-more .dslc-icon {
|
603 |
-
margin-right: 10px;
|
604 |
-
}
|
605 |
-
|
606 |
-
.dslc-load-more-temp {
|
607 |
-
display: none;
|
608 |
-
}
|
609 |
-
|
610 |
-
.dslc-init-center {
|
611 |
-
visibility: hidden;
|
612 |
-
}
|
613 |
-
|
614 |
-
.dslc-init-topleft {
|
615 |
-
position: absolute !important;
|
616 |
-
top: 0 !important;
|
617 |
-
left: 0 !important;
|
618 |
-
bottom: auto !important;
|
619 |
-
right: auto !important;
|
620 |
-
}
|
621 |
-
|
622 |
-
.dslc-init-topright {
|
623 |
-
position: absolute !important;
|
624 |
-
top: 0 !important;
|
625 |
-
right: 0 !important;
|
626 |
-
bottom: auto !important;
|
627 |
-
left: auto !important
|
628 |
-
}
|
629 |
-
|
630 |
-
.dslc-init-bottomleft {
|
631 |
-
position: absolute !important;
|
632 |
-
bottom: 0 !important;
|
633 |
-
left: 0 !important;
|
634 |
-
top: auto !important;
|
635 |
-
right: auto !important;
|
636 |
-
}
|
637 |
-
|
638 |
-
.dslc-init-bottomright {
|
639 |
-
position: absolute !important;
|
640 |
-
bottom: 0 !important;
|
641 |
-
right: 0 !important;
|
642 |
-
top: auto !important;
|
643 |
-
left: auto !important;
|
644 |
-
}
|
645 |
-
|
646 |
-
/**
|
647 |
-
* Post Filters
|
648 |
-
*/
|
649 |
-
|
650 |
-
.dslc-post-filters {
|
651 |
-
overflow: hidden;
|
652 |
-
font-size: 0;
|
653 |
-
}
|
654 |
-
|
655 |
-
.dslc-post-filter {
|
656 |
-
background: #fff;
|
657 |
-
border: 1px solid #e8e8e8;
|
658 |
-
border-radius: 3px;
|
659 |
-
color: #979797;
|
660 |
-
cursor: pointer;
|
661 |
-
display: inline-block;
|
662 |
-
font-size: 11px;
|
663 |
-
font-weight: bold;
|
664 |
-
font-family: "Open Sans";
|
665 |
-
line-height: 1;
|
666 |
-
padding: 12px;
|
667 |
-
margin-right: 10px;
|
668 |
-
}
|
669 |
-
|
670 |
-
.dslc-post-filter.dslc-active {
|
671 |
-
color: #ff4e01;
|
672 |
-
}
|
673 |
-
|
674 |
-
.dslc-post-filter:last-child {
|
675 |
-
margin-right: 0 !important;
|
676 |
-
}
|
677 |
-
|
678 |
-
|
679 |
-
/**
|
680 |
-
* Full Width Video BG
|
681 |
-
*/
|
682 |
-
|
683 |
-
#dslc-content .dslc-bg-video {
|
684 |
-
background: transparent;
|
685 |
-
position: absolute;
|
686 |
-
left: 0;
|
687 |
-
right: 0;
|
688 |
-
bottom: 0;
|
689 |
-
top: 0;
|
690 |
-
opacity: 0;
|
691 |
-
}
|
692 |
-
|
693 |
-
#dslc-content .dslc-bg-video.dslc-force-show {
|
694 |
-
opacity: 1;
|
695 |
-
}
|
696 |
-
|
697 |
-
#dslc-content .dslc-bg-video .mejs-container {
|
698 |
-
background: transparent;
|
699 |
-
position: absolute;
|
700 |
-
left: 0;
|
701 |
-
right: 0;
|
702 |
-
bottom: 0;
|
703 |
-
top: 0;
|
704 |
-
width: 100% !important;
|
705 |
-
height: auto !important;
|
706 |
-
overflow: hidden;
|
707 |
-
}
|
708 |
-
|
709 |
-
#dslc-content .dslc-bg-video video {
|
710 |
-
min-width: 100%;
|
711 |
-
height: auto !important;
|
712 |
-
min-height: 100%;
|
713 |
-
}
|
714 |
-
|
715 |
-
#dslc-content .dslc-bg-video .mejs-controls {
|
716 |
-
display: none !important;
|
717 |
-
}
|
718 |
-
|
719 |
-
#dslc-content .dslc-bg-video-overlay {
|
720 |
-
position: absolute;
|
721 |
-
left: 0;
|
722 |
-
top: 0;
|
723 |
-
right: 0;
|
724 |
-
bottom: 0;
|
725 |
-
opacity : 0;
|
726 |
-
background: #000;
|
727 |
-
}
|
728 |
-
|
729 |
-
/*
|
730 |
-
#dslc-content[max-width~="850px"] {
|
731 |
-
|
732 |
-
}
|
733 |
-
|
734 |
-
.dslc-modules-area[max-width~="850px"] .dslc-res-sm-auto.dslc-post.dslc-2-col {
|
735 |
-
width: 31.91489%;
|
736 |
-
margin-bottom: 15px;
|
737 |
-
}
|
738 |
-
|
739 |
-
.dslc-modules-area[max-width~="850px"] .dslc-res-sm-auto.dslc-post.dslc-2-col:nth-child(3n+3) {
|
740 |
-
margin-right: 0;
|
741 |
-
}
|
742 |
-
*/
|
743 |
-
|
744 |
-
|
745 |
-
|
746 |
-
|
747 |
-
.dslc-col {
|
748 |
-
/* min-width: 200px; */
|
749 |
-
}
|
750 |
-
|
751 |
-
#dslc-content[max-width~="480px"] {
|
752 |
-
/* padding: 0 15px; */
|
753 |
-
}
|
754 |
-
|
755 |
-
/*
|
756 |
-
|
757 |
-
#dslc-content[max-width~="480px"] .dslc-col {
|
758 |
-
width: 100%;
|
759 |
-
margin: 0;
|
760 |
-
margin-bottom: 30px;
|
761 |
-
min-width: 0px;
|
762 |
-
}
|
763 |
-
|
764 |
-
#dslc-content[max-width~="480px"] .dslc-col.dslc-carousel-item {
|
765 |
-
margin-bottom: 0;
|
766 |
-
}
|
767 |
-
|
768 |
-
#dslc-content[max-width~="480px"] .dslc-post-separator,
|
769 |
-
#dslc-content[max-width~="480px"] .dslc-post-filters {
|
770 |
-
display: none;
|
771 |
-
}
|
772 |
-
|
773 |
-
#dslc-content[max-width~="480px"] .dslc-blog-posts-orientation-horizontal .dslc-blog-post-thumb {
|
774 |
-
width: 100% !important;
|
775 |
-
margin-bottom: 15px !important;
|
776 |
-
}
|
777 |
-
|
778 |
-
*/
|
779 |
-
|
780 |
-
/**
|
781 |
-
* Other
|
782 |
-
*/
|
783 |
-
|
784 |
-
.dslc-trigger-lightbox-gallery {
|
785 |
-
cursor: pointer;
|
786 |
-
}
|
787 |
-
|
788 |
-
/**
|
789 |
-
* Responsive ( User Set )
|
790 |
-
*/
|
791 |
-
|
792 |
-
body.dslc-res-phone .dslc-col {
|
793 |
-
width: 100%;
|
794 |
-
margin: 0;
|
795 |
-
margin-bottom: 30px;
|
796 |
-
min-width: 0px;
|
797 |
-
}
|
798 |
-
|
799 |
-
body.dslc-res-phone .dslc-module-front.dslc-col {
|
800 |
-
margin-bottom: 0;
|
801 |
-
}
|
802 |
-
|
803 |
-
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) {
|
804 |
-
|
805 |
-
.dslc-modules-section.dslc-init-parallax {
|
806 |
-
background-attachment: scroll !important;
|
807 |
-
background-position: 0 0 !important;
|
808 |
-
}
|
809 |
-
|
810 |
-
}
|
811 |
-
|
812 |
-
@media only screen and ( max-width: 767px ) {
|
813 |
-
|
814 |
-
.dslc-modules-section.dslc-init-parallax {
|
815 |
-
background-attachment: scroll !important;
|
816 |
-
background-position: 0 0 !important;
|
817 |
-
}
|
818 |
-
|
819 |
-
}
|
820 |
-
|
821 |
-
/**
|
822 |
-
* Responsive PREVIEW ( when a tab for responsive options is selected )
|
823 |
-
*/
|
824 |
-
|
825 |
-
body.dslca-enabled.dslc-res-tablet #dslc-content {
|
826 |
-
max-width: 768px;
|
827 |
-
margin: 0 auto;
|
828 |
-
}
|
829 |
-
|
830 |
-
body.dslca-enabled.dslc-res-phone #dslc-content {
|
831 |
-
max-width: 480px;
|
832 |
-
margin: 0 auto;
|
833 |
-
}
|
834 |
-
|
835 |
-
/**
|
836 |
-
* Animations
|
837 |
-
*/
|
838 |
-
|
839 |
-
@media only screen and ( min-width: 768px ) {
|
840 |
-
|
841 |
-
@-webkit-keyframes dslcFadeIn {
|
842 |
-
to { opacity: 1; }
|
843 |
-
}
|
844 |
-
|
845 |
-
@-moz-keyframes dslcFadeIn {
|
846 |
-
to { opacity: 1; }
|
847 |
-
}
|
848 |
-
|
849 |
-
@keyframes dslcFadeIn {
|
850 |
-
to { opacity: 1; }
|
851 |
-
}
|
852 |
-
|
853 |
-
.dslc-in-viewport-anim-dslcFadeIn.dslc-in-viewport-check {
|
854 |
-
opacity: 0;
|
855 |
-
}
|
856 |
-
|
857 |
-
@-webkit-keyframes dslcSlideUp {
|
858 |
-
to { -webkit-transform: translateY(0); }
|
859 |
-
}
|
860 |
-
|
861 |
-
@-moz-keyframes dslcSlideUp {
|
862 |
-
to { -moz-transform: translateY(0); }
|
863 |
-
}
|
864 |
-
|
865 |
-
@keyframes dslcSlideUp {
|
866 |
-
to { transform: translateY(0); }
|
867 |
-
}
|
868 |
-
|
869 |
-
.dslc-in-viewport-anim-dslcSlideUp.dslc-in-viewport-check {
|
870 |
-
-webkit-transform: translateY(100px);
|
871 |
-
-moz-transform: translateY(100px);
|
872 |
-
transform: translateY(100px);
|
873 |
-
}
|
874 |
-
|
875 |
-
@-webkit-keyframes dslcSlideDown {
|
876 |
-
to { -webkit-transform: translateY(0); }
|
877 |
-
}
|
878 |
-
|
879 |
-
@-moz-keyframes dslcSlideDown {
|
880 |
-
to { -moz-transform: translateY(0); }
|
881 |
-
}
|
882 |
-
|
883 |
-
@keyframes dslcSlideDown {
|
884 |
-
to { transform: translateY(0); }
|
885 |
-
}
|
886 |
-
|
887 |
-
.dslc-in-viewport-anim-dslcSlideDown.dslc-in-viewport-check {
|
888 |
-
-webkit-transform: translateY(-100px);
|
889 |
-
-moz-transform: translateY(-100px);
|
890 |
-
transform: translateY(-100px);
|
891 |
-
}
|
892 |
-
|
893 |
-
@-webkit-keyframes dslcSlideRight {
|
894 |
-
to { -webkit-transform: translateX(0); }
|
895 |
-
}
|
896 |
-
|
897 |
-
@-moz-keyframes dslcSlideRight {
|
898 |
-
to { -moz-transform: translateX(0); }
|
899 |
-
}
|
900 |
-
|
901 |
-
@keyframes dslcSlideRight {
|
902 |
-
to { transform: translateX(0); }
|
903 |
-
}
|
904 |
-
|
905 |
-
.dslc-in-viewport-anim-dslcSlideRight.dslc-in-viewport-check {
|
906 |
-
-webkit-transform: translateX(-100px);
|
907 |
-
-moz-transform: translateX(-100px);
|
908 |
-
transform: translateX(-100px);
|
909 |
-
}
|
910 |
-
|
911 |
-
@-webkit-keyframes dslcSlideLeft {
|
912 |
-
to { -webkit-transform: translateX(0); }
|
913 |
-
}
|
914 |
-
|
915 |
-
@-moz-keyframes dslcSlideLeft {
|
916 |
-
to { -moz-transform: translateX(0); }
|
917 |
-
}
|
918 |
-
|
919 |
-
@keyframes dslcSlideLeft {
|
920 |
-
to { transform: translateX(0); }
|
921 |
-
}
|
922 |
-
|
923 |
-
.dslc-in-viewport-anim-dslcSlideLeft.dslc-in-viewport-check {
|
924 |
-
-webkit-transform: translateX(100px);
|
925 |
-
-moz-transform: translateX(100px);
|
926 |
-
transform: translateX(100px);
|
927 |
-
}
|
928 |
-
|
929 |
-
@-webkit-keyframes dslcSlideUpFadeIn {
|
930 |
-
to { -webkit-transform: translateY(0); opacity: 1; }
|
931 |
-
}
|
932 |
-
|
933 |
-
@-moz-keyframes dslcSlideUpFadeIn {
|
934 |
-
to { -moz-transform: translateY(0); opacity: 1; }
|
935 |
-
}
|
936 |
-
|
937 |
-
@keyframes dslcSlideUpFadeIn {
|
938 |
-
to { transform: translateY(0); opacity: 1; }
|
939 |
-
}
|
940 |
-
|
941 |
-
.dslc-in-viewport-anim-dslcSlideUpFadeIn.dslc-in-viewport-check {
|
942 |
-
-webkit-transform: translateY(100px);
|
943 |
-
-moz-transform: translateY(100px);
|
944 |
-
transform: translateY(100px);
|
945 |
-
opacity: 0;
|
946 |
-
}
|
947 |
-
|
948 |
-
@-webkit-keyframes dslcSlideDownFadeIn {
|
949 |
-
to { -webkit-transform: translateY(0); opacity: 1; }
|
950 |
-
}
|
951 |
-
|
952 |
-
@-moz-keyframes dslcSlideDownFadeIn {
|
953 |
-
to { -moz-transform: translateY(0); opacity: 1; }
|
954 |
-
}
|
955 |
-
|
956 |
-
@keyframes dslcSlideDownFadeIn {
|
957 |
-
to { transform: translateY(0); opacity: 1; }
|
958 |
-
}
|
959 |
-
|
960 |
-
.dslc-in-viewport-anim-dslcSlideDownFadeIn.dslc-in-viewport-check {
|
961 |
-
-webkit-transform: translateY(-100px);
|
962 |
-
-moz-transform: translateY(-100px);
|
963 |
-
transform: translateY(-100px);
|
964 |
-
opacity: 0;
|
965 |
-
}
|
966 |
-
|
967 |
-
@-webkit-keyframes dslcSlideRightFadeIn {
|
968 |
-
to { -webkit-transform: translateX(0); opacity: 1; }
|
969 |
-
}
|
970 |
-
|
971 |
-
@-moz-keyframes dslcSlideRightFadeIn {
|
972 |
-
to { -moz-transform: translateX(0); opacity: 1; }
|
973 |
-
}
|
974 |
-
|
975 |
-
@keyframes dslcSlideRightFadeIn {
|
976 |
-
to { transform: translateX(0); opacity: 1; }
|
977 |
-
}
|
978 |
-
|
979 |
-
.dslc-in-viewport-anim-dslcSlideRightFadeIn.dslc-in-viewport-check {
|
980 |
-
-webkit-transform: translateX(-100px);
|
981 |
-
-moz-transform: translateX(-100px);
|
982 |
-
transform: translateX(-100px);
|
983 |
-
opacity: 0;
|
984 |
-
}
|
985 |
-
|
986 |
-
@-webkit-keyframes dslcSlideLeftFadeIn {
|
987 |
-
to { -webkit-transform: translateX(0); opacity: 1; }
|
988 |
-
}
|
989 |
-
|
990 |
-
@-moz-keyframes dslcSlideLeftFadeIn {
|
991 |
-
to { -moz-transform: translateX(0); opacity: 1; }
|
992 |
-
}
|
993 |
-
|
994 |
-
@keyframes dslcSlideLeftFadeIn {
|
995 |
-
to { transform: translateX(0); opacity: 1; }
|
996 |
-
}
|
997 |
-
|
998 |
-
.dslc-in-viewport-anim-dslcSlideLeftFadeIn.dslc-in-viewport-check {
|
999 |
-
-webkit-transform: translateX(100px);
|
1000 |
-
-moz-transform: translateX(100px);
|
1001 |
-
transform: translateX(100px);
|
1002 |
-
opacity: 0;
|
1003 |
-
}
|
1004 |
-
|
1005 |
-
}
|
1006 |
-
|
1007 |
-
/**
|
1008 |
-
* On Hover animations
|
1009 |
-
*/
|
1010 |
-
|
1011 |
-
body.dslca-enabled #dslc-content .dslc-post:first-child .dslc-post-thumb .dslc-on-hover-anim-target {
|
1012 |
-
opacity: 1 !important;
|
1013 |
-
-webkit-transform: translateY(0) !important;
|
1014 |
-
-moz-transform: translateY(0) !important;
|
1015 |
-
transform: translateY(0) !important;
|
1016 |
-
-webkit-transform: translateX(0) !important;
|
1017 |
-
-moz-transform: translateX(0) !important;
|
1018 |
-
transform: translateX(0) !important;
|
1019 |
-
}
|
1020 |
-
|
1021 |
-
.dslc-anim-dslcFadeIn,
|
1022 |
-
.dslc-anim-dslcSlideDownFadeIn,
|
1023 |
-
.dslc-anim-dslcSlideUpFadeIn,
|
1024 |
-
.dslc-anim-dslcSlideLeftFadeIn,
|
1025 |
-
.dslc-anim-dslcSlideRightFadeIn {
|
1026 |
-
opacity: 0;
|
1027 |
-
}
|
1028 |
-
|
1029 |
-
.dslc-on-hover-anim:hover .dslc-anim-dslcFadeIn,
|
1030 |
-
.dslc-on-hover-anim:hover .dslc-anim-dslcSlideDownFadeIn,
|
1031 |
-
.dslc-on-hover-anim:hover .dslc-anim-dslcSlideUpFadeIn,
|
1032 |
-
.dslc-on-hover-anim:hover .dslc-anim-dslcSlideLeftFadeIn,
|
1033 |
-
.dslc-on-hover-anim:hover .dslc-anim-dslcSlideRightFadeIn {
|
1034 |
-
opacity: 1;
|
1035 |
-
}
|
1036 |
-
|
1037 |
-
.dslc-anim-dslcSlideDown,
|
1038 |
-
.dslc-anim-dslcSlideDownFadeIn {
|
1039 |
-
-webkit-transform: translateY(-100%);
|
1040 |
-
-moz-transform: translateY(-100%);
|
1041 |
-
transform: translateY(-100%);
|
1042 |
-
}
|
1043 |
-
|
1044 |
-
.dslc-on-hover-anim:hover .dslc-anim-dslcSlideDown,
|
1045 |
-
.dslc-on-hover-anim:hover .dslc-anim-dslcSlideDownFadeIn {
|
1046 |
-
-webkit-transform: translateY(0%);
|
1047 |
-
-moz-transform: translateY(0%);
|
1048 |
-
transform: translateY(0%);
|
1049 |
-
}
|
1050 |
-
|
1051 |
-
.dslc-anim-dslcSlideUp,
|
1052 |
-
.dslc-anim-dslcSlideUpFadeIn {
|
1053 |
-
-webkit-transform: translateY(100%);
|
1054 |
-
-moz-transform: translateY(100%);
|
1055 |
-
transform: translateY(100%);
|
1056 |
-
}
|
1057 |
-
|
1058 |
-
.dslc-on-hover-anim:hover .dslc-anim-dslcSlideUp,
|
1059 |
-
.dslc-on-hover-anim:hover .dslc-anim-dslcSlideUpFadeIn {
|
1060 |
-
-webkit-transform: translateY(0%);
|
1061 |
-
-moz-transform: translateY(0%);
|
1062 |
-
transform: translateY(0%);
|
1063 |
-
}
|
1064 |
-
|
1065 |
-
.dslc-anim-dslcSlideRight,
|
1066 |
-
.dslc-anim-dslcSlideRightFadeIn {
|
1067 |
-
-webkit-transform: translateX(-100%);
|
1068 |
-
-moz-transform: translateX(-100%);
|
1069 |
-
transform: translateX(-100%);
|
1070 |
-
}
|
1071 |
-
|
1072 |
-
.dslc-on-hover-anim:hover .dslc-anim-dslcSlideRight,
|
1073 |
-
.dslc-on-hover-anim:hover .dslc-anim-dslcSlideRightFadeIn {
|
1074 |
-
-webkit-transform: translateX(0);
|
1075 |
-
-moz-transform: translateX(0);
|
1076 |
-
transform: translateX(0);
|
1077 |
-
}
|
1078 |
-
|
1079 |
-
.dslc-anim-dslcSlideLeft,
|
1080 |
-
.dslc-anim-dslcSlideLeftFadeIn {
|
1081 |
-
-webkit-transform: translateX(100%);
|
1082 |
-
-moz-transform: translateX(100%);
|
1083 |
-
transform: translateX(100%);
|
1084 |
-
}
|
1085 |
-
|
1086 |
-
.dslc-on-hover-anim:hover .dslc-anim-dslcSlideLeft,
|
1087 |
-
.dslc-on-hover-anim:hover .dslc-anim-dslcSlideLeftFadeIn {
|
1088 |
-
-webkit-transform: translateX(0%);
|
1089 |
-
-moz-transform: translateX(0%);
|
1090 |
-
transform: translateX(0%);
|
1091 |
-
}
|
1092 |
-
|
1093 |
-
.dslc-anim-none {
|
1094 |
-
opacity: 0;
|
1095 |
-
-webkit-transition: all 0s ease-out !important;
|
1096 |
-
}
|
1097 |
-
|
1098 |
-
.dslc-on-hover-anim:hover .dslc-anim-none {
|
1099 |
-
opacity: 1;
|
1100 |
-
}
|
1101 |
-
|
1102 |
-
/**
|
1103 |
-
* Show On / Hide On
|
1104 |
-
*/
|
1105 |
-
|
1106 |
-
.dslc-res-big .dslc-hide-on-desktop,
|
1107 |
-
.dslc-res-smaller-monitor .dslc-hide-on-desktop {
|
1108 |
-
display: none !important;
|
1109 |
-
}
|
1110 |
-
|
1111 |
-
.dslc-res-tablet .dslc-hide-on-tablet {
|
1112 |
-
display: none !important;
|
1113 |
-
}
|
1114 |
-
|
1115 |
-
.dslc-res-phone .dslc-hide-on-phone {
|
1116 |
-
display: none !important;
|
1117 |
-
}
|
1118 |
-
|
1119 |
-
.dslca-enabled.dslc-res-big .dslc-hide-on-desktop,
|
1120 |
-
.dslca-enabled.dslc-res-smaller-monitor .dslc-hide-on-desktop {
|
1121 |
-
display: block !important;
|
1122 |
-
}
|
1123 |
-
|
1124 |
-
.dslca-composer-hidden.dslc-res-big .dslc-hide-on-desktop,
|
1125 |
-
.dslca-composer-hidden.dslc-res-smaller-monitor .dslc-hide-on-desktop {
|
1126 |
-
display: none !important;
|
1127 |
}
|
1 |
+
#dslc-content blockquote p:last-child { margin-bottom: 0 !important; }
|
2 |
+
|
3 |
+
#dslc-header {
|
4 |
+
position: relative;
|
5 |
+
}
|
6 |
+
|
7 |
+
#dslc-header.dslc-header-pos-absolute {
|
8 |
+
position: absolute;
|
9 |
+
top: 0;
|
10 |
+
left: 0;
|
11 |
+
right: 0;
|
12 |
+
z-index: 999999;
|
13 |
+
}
|
14 |
+
|
15 |
+
#dslc-header.dslc-header-pos-fixed {
|
16 |
+
position: fixed;
|
17 |
+
top: 0;
|
18 |
+
left: 0;
|
19 |
+
right: 0;
|
20 |
+
z-index: 999999;
|
21 |
+
}
|
22 |
+
|
23 |
+
body.admin-bar #dslc-header.dslc-header-pos-fixed,
|
24 |
+
body.admin-bar #dslc-header.dslc-header-pos-absolute {
|
25 |
+
top: 32px;
|
26 |
+
}
|
27 |
+
|
28 |
+
#dslc-footer {
|
29 |
+
position: relative;
|
30 |
+
}
|
31 |
+
|
32 |
+
#dslc-footer.dslc-footer-pos-absolute {
|
33 |
+
position: absolute;
|
34 |
+
bottom: 0;
|
35 |
+
left: 0;
|
36 |
+
right: 0;
|
37 |
+
z-index: 999999;
|
38 |
+
}
|
39 |
+
|
40 |
+
#dslc-footer.dslc-footer-pos-fixed {
|
41 |
+
position: fixed;
|
42 |
+
bottom: 0;
|
43 |
+
left: 0;
|
44 |
+
right: 0;
|
45 |
+
z-index: 999999;
|
46 |
+
}
|
47 |
+
|
48 |
+
#dslc-header.dslca-header-low-z-index,
|
49 |
+
.dslca-drag-in-progress #dslc-header {
|
50 |
+
z-index: 0;
|
51 |
+
}
|
52 |
+
|
53 |
+
#dslc-content {
|
54 |
+
position: relative;
|
55 |
+
}
|
56 |
+
|
57 |
+
.dslca-container .dslca-close-composer-hook,
|
58 |
+
.dslca-activate-composer-hook,
|
59 |
+
.dslca-container .dslca-hide-composer-hook,
|
60 |
+
.dslca-container .dslca-show-composer-hook {
|
61 |
+
background: #e55f5f;
|
62 |
+
border-radius: 3px;
|
63 |
+
bottom: 4px;
|
64 |
+
color: #fff;
|
65 |
+
cursor: pointer;
|
66 |
+
display: block;
|
67 |
+
font-size: 11px;
|
68 |
+
font-family: "Open Sans";
|
69 |
+
font-weight: 900;
|
70 |
+
line-height: 1;
|
71 |
+
padding: 11px 12px;
|
72 |
+
text-transform: uppercase;
|
73 |
+
text-decoration: none;
|
74 |
+
white-space: nowrap;
|
75 |
+
float: left;
|
76 |
+
margin-left: 5px;
|
77 |
+
}
|
78 |
+
|
79 |
+
.dslca-container .dslca-hide-composer-hook {
|
80 |
+
background: #06b2ac;
|
81 |
+
}
|
82 |
+
|
83 |
+
.dslca-container .dslca-show-composer-hook {
|
84 |
+
background: #9268a9;
|
85 |
+
}
|
86 |
+
|
87 |
+
.dslca-close-composer-hook:hover,
|
88 |
+
.dslca-activate-composer-hook:hover,
|
89 |
+
.dslca-activate-composer-hook:visited,
|
90 |
+
.dslca-close-composer-hook:visited {
|
91 |
+
color: #fff;
|
92 |
+
}
|
93 |
+
|
94 |
+
.dslca-activate-composer-hook {
|
95 |
+
background: #54c13f;
|
96 |
+
color: #fff;
|
97 |
+
position: fixed;
|
98 |
+
z-index: 99999;
|
99 |
+
right: 5px;
|
100 |
+
bottom: 5px;
|
101 |
+
}
|
102 |
+
|
103 |
+
.dslca-activate-composer-hook.dslca-position-left {
|
104 |
+
right: auto;
|
105 |
+
left: 5px;
|
106 |
+
}
|
107 |
+
|
108 |
+
.dslca-container .dslca-show-composer-hook {
|
109 |
+
display: none;
|
110 |
+
}
|
111 |
+
|
112 |
+
.dslca-container .dslca-close-composer-hook .dslca-icon,
|
113 |
+
.dslca-activate-composer-hook .dslca-icon,
|
114 |
+
.dslca-container .dslca-hide-composer-hook .dslca-icon,
|
115 |
+
.dslca-container .dslca-show-composer-hook .dslca-icon {
|
116 |
+
color: rgba( 255, 255, 255, 0.66 );
|
117 |
+
margin-right: 5px;
|
118 |
+
}
|
119 |
+
|
120 |
+
.dslc-modules-section {
|
121 |
+
border: 0px solid transparent;
|
122 |
+
position: relative;
|
123 |
+
}
|
124 |
+
|
125 |
+
.dslc-modules-section.dslc-init-parallax {
|
126 |
+
background-attachment: fixed;
|
127 |
+
}
|
128 |
+
|
129 |
+
.dslc-modules-section-wrapper {
|
130 |
+
max-width: 100%;
|
131 |
+
margin: 0 auto;
|
132 |
+
}
|
133 |
+
|
134 |
+
.dslc-modules-section.dslc-full .dslc-modules-section-wrapper {
|
135 |
+
width: 100%;
|
136 |
+
}
|
137 |
+
|
138 |
+
.dslc-module-front {
|
139 |
+
position: relative;
|
140 |
+
}
|
141 |
+
|
142 |
+
/**
|
143 |
+
* Grid System
|
144 |
+
*/
|
145 |
+
|
146 |
+
.dslc-col {
|
147 |
+
display: block;
|
148 |
+
float: left;
|
149 |
+
margin-right: 2.12766%;
|
150 |
+
}
|
151 |
+
|
152 |
+
body.rtl .dslc-col {
|
153 |
+
float: right;
|
154 |
+
margin-left: 2.12766%;
|
155 |
+
margin-right: 0;
|
156 |
+
}
|
157 |
+
|
158 |
+
.dslc-1-col { width: 6.38297%; }
|
159 |
+
.dslc-2-col { width: 14.89361%; }
|
160 |
+
.dslc-3-col { width: 23.40425%; }
|
161 |
+
.dslc-4-col { width: 31.91489%; }
|
162 |
+
.dslc-5-col { width: 40.42553%; }
|
163 |
+
.dslc-6-col { width: 48.93617%; }
|
164 |
+
.dslc-7-col { width: 57.4468%; }
|
165 |
+
.dslc-8-col { width: 65.95744%; }
|
166 |
+
.dslc-9-col { width: 74.46808%; }
|
167 |
+
.dslc-10-col { width: 82.97872%; }
|
168 |
+
.dslc-11-col { width: 91.48936%; }
|
169 |
+
.dslc-12-col { width: 100%; }
|
170 |
+
|
171 |
+
.dslc-last-col {
|
172 |
+
margin-right: 0;
|
173 |
+
}
|
174 |
+
|
175 |
+
body.rtl .dslc-last-col {
|
176 |
+
margin-left: 0;
|
177 |
+
}
|
178 |
+
|
179 |
+
.dslc-first-col {
|
180 |
+
clear: both;
|
181 |
+
}
|
182 |
+
|
183 |
+
.dslc-no-columns-spacing .dslc-col { margin: 0; }
|
184 |
+
.dslc-no-columns-spacing .dslc-1-col { width: 8.33333%; }
|
185 |
+
.dslc-no-columns-spacing .dslc-2-col { width: 16.66666%; }
|
186 |
+
.dslc-no-columns-spacing .dslc-3-col { width: 25%; }
|
187 |
+
.dslc-no-columns-spacing .dslc-4-col { width: 33.33333%; }
|
188 |
+
.dslc-no-columns-spacing .dslc-5-col { width: 41.66666%; }
|
189 |
+
.dslc-no-columns-spacing .dslc-6-col { width: 50%; }
|
190 |
+
.dslc-no-columns-spacing .dslc-7-col { width: 58.33333%; }
|
191 |
+
.dslc-no-columns-spacing .dslc-8-col { width: 66.66666%; }
|
192 |
+
.dslc-no-columns-spacing .dslc-9-col { width: 75%; }
|
193 |
+
.dslc-no-columns-spacing .dslc-10-col { width: 83.33333%; }
|
194 |
+
.dslc-no-columns-spacing .dslc-11-col { width: 91.66666%; }
|
195 |
+
.dslc-no-columns-spacing .dslc-12-col { width: 100%; }
|
196 |
+
|
197 |
+
.dslc-module-heading:before,
|
198 |
+
.dslc-module-heading:after,
|
199 |
+
.dslc-clearfix:before,
|
200 |
+
.dslc-clearfix:after {
|
201 |
+
content: " ";
|
202 |
+
display: table;
|
203 |
+
}
|
204 |
+
|
205 |
+
.dslc-module-heading:after,
|
206 |
+
.dslc-clearfix:after {
|
207 |
+
clear: both;
|
208 |
+
}
|
209 |
+
|
210 |
+
.dslc-module-heading,
|
211 |
+
.dslc-clearfix {
|
212 |
+
*zoom: 1;
|
213 |
+
}
|
214 |
+
|
215 |
+
.dslc-fl {
|
216 |
+
float: left;
|
217 |
+
}
|
218 |
+
|
219 |
+
.dslc-fr {
|
220 |
+
float: right;
|
221 |
+
}
|
222 |
+
|
223 |
+
.dslc-clear {
|
224 |
+
clear: both;
|
225 |
+
}
|
226 |
+
|
227 |
+
.dslc-no-float {
|
228 |
+
float: none !important;
|
229 |
+
}
|
230 |
+
|
231 |
+
.dslc-posts {
|
232 |
+
overflow: hidden; /* Eliminate scroller ( due to negat. margin and width increase ) */
|
233 |
+
}
|
234 |
+
|
235 |
+
.dslc-carousel .dslc-col,
|
236 |
+
.dslc-carousel .dslc-first-col,
|
237 |
+
.dslc-carousel .dslc-last-col {
|
238 |
+
float: none;
|
239 |
+
clear: none;
|
240 |
+
margin: 0;
|
241 |
+
}
|
242 |
+
|
243 |
+
.dslc-no-columns-spacing .dslc-carousel .dslc-col,
|
244 |
+
.dslc-no-columns-spacing .dslc-carousel .dslc-first-col,
|
245 |
+
.dslc-no-columns-spacing .dslc-carousel .dslc-last-col {
|
246 |
+
width: 100%;
|
247 |
+
}
|
248 |
+
|
249 |
+
.dslc-carousel-item {
|
250 |
+
width: auto;
|
251 |
+
|
252 |
+
}
|
253 |
+
|
254 |
+
.dslc-carousel-nav {
|
255 |
+
float: right;
|
256 |
+
}
|
257 |
+
|
258 |
+
.dslc-carousel-nav-inner {
|
259 |
+
display: block;
|
260 |
+
}
|
261 |
+
|
262 |
+
.dslc-carousel-nav-prev,
|
263 |
+
.dslc-carousel-nav-next {
|
264 |
+
background: #c9c9c9;
|
265 |
+
border: 0px solid transparent;
|
266 |
+
border-radius: 3px;
|
267 |
+
display: inline-block;
|
268 |
+
height: 23px;
|
269 |
+
position: relative;
|
270 |
+
width: 23px;
|
271 |
+
text-decoration: none;
|
272 |
+
vertical-align: bottom;
|
273 |
+
}
|
274 |
+
|
275 |
+
.dslc-carousel-nav-prev {
|
276 |
+
margin-right: 7px;
|
277 |
+
}
|
278 |
+
|
279 |
+
.dslc-carousel-nav-next {
|
280 |
+
|
281 |
+
}
|
282 |
+
|
283 |
+
.dslc-carousel-nav-prev span,
|
284 |
+
.dslc-carousel-nav-next span {
|
285 |
+
color: #fff;
|
286 |
+
font-size: 10px;
|
287 |
+
position: absolute;
|
288 |
+
left: 0;
|
289 |
+
right: 0;
|
290 |
+
text-align: center;
|
291 |
+
font-weight: normal;
|
292 |
+
}
|
293 |
+
|
294 |
+
#dslc-content .dslc-carousel .owl-pagination .owl-page span {
|
295 |
+
margin: 0;
|
296 |
+
filter: Alpha(Opacity=100);/*IE7 fix*/
|
297 |
+
opacity: 1;
|
298 |
+
}
|
299 |
+
|
300 |
+
/**
|
301 |
+
* Slider
|
302 |
+
*/
|
303 |
+
|
304 |
+
#dslc-content .dslc-slider {
|
305 |
+
padding-bottom: 1px;
|
306 |
+
opacity: 0;
|
307 |
+
max-height: 10px;
|
308 |
+
}
|
309 |
+
|
310 |
+
#dslc-content .dslc-slider img {
|
311 |
+
max-width: 100%;
|
312 |
+
}
|
313 |
+
|
314 |
+
#dslc-content .dslc-slider .owl-pagination .owl-page span {
|
315 |
+
margin: 0;
|
316 |
+
filter: Alpha(Opacity=100);/*IE7 fix*/
|
317 |
+
opacity: 1;
|
318 |
+
}
|
319 |
+
|
320 |
+
/**
|
321 |
+
* Elements
|
322 |
+
*/
|
323 |
+
|
324 |
+
.dslc-button {
|
325 |
+
/*
|
326 |
+
border: 2px solid #d8d8d8;
|
327 |
+
color: #686868;
|
328 |
+
display: inline-block;
|
329 |
+
font-size: 11px;
|
330 |
+
font-weight: bold;
|
331 |
+
line-height: 1;
|
332 |
+
padding: 10px;
|
333 |
+
text-decoration: none;
|
334 |
+
*/
|
335 |
+
}
|
336 |
+
|
337 |
+
.dslc-carousel {
|
338 |
+
opacity: 0;
|
339 |
+
max-height: 100px;
|
340 |
+
}
|
341 |
+
|
342 |
+
/**
|
343 |
+
* Loader
|
344 |
+
*/
|
345 |
+
|
346 |
+
@keyframes "dslcSpin" {
|
347 |
+
0% {
|
348 |
+
-webkit-transform: rotate(0deg);
|
349 |
+
-moz-transform: rotate(0deg);
|
350 |
+
-o-transform: rotate(0deg);
|
351 |
+
-ms-transform: rotate(0deg);
|
352 |
+
transform: rotate(0deg);
|
353 |
+
}
|
354 |
+
100% {
|
355 |
+
-webkit-transform: rotate(360deg);
|
356 |
+
-moz-transform: rotate(360deg);
|
357 |
+
-o-transform: rotate(360deg);
|
358 |
+
-ms-transform: rotate(360deg);
|
359 |
+
transform: rotate(360deg);
|
360 |
+
}
|
361 |
+
}
|
362 |
+
|
363 |
+
@-moz-keyframes dslcSpin {
|
364 |
+
0% {
|
365 |
+
-moz-transform: rotate(0deg);
|
366 |
+
transform: rotate(0deg);
|
367 |
+
}
|
368 |
+
100% {
|
369 |
+
-moz-transform: rotate(360deg);
|
370 |
+
transform: rotate(360deg);
|
371 |
+
}
|
372 |
+
}
|
373 |
+
|
374 |
+
@-webkit-keyframes "dslcSpin" {
|
375 |
+
0% {
|
376 |
+
-webkit-transform: rotate(0deg);
|
377 |
+
transform: rotate(0deg);
|
378 |
+
}
|
379 |
+
100% {
|
380 |
+
-webkit-transform: rotate(360deg);
|
381 |
+
transform: rotate(360deg);
|
382 |
+
}
|
383 |
+
}
|
384 |
+
|
385 |
+
@-ms-keyframes "dslcSpin" {
|
386 |
+
0% {
|
387 |
+
-ms-transform: rotate(0deg);
|
388 |
+
transform: rotate(0deg);
|
389 |
+
}
|
390 |
+
100% {
|
391 |
+
-ms-transform: rotate(360deg);
|
392 |
+
transform: rotate(360deg);
|
393 |
+
}
|
394 |
+
}
|
395 |
+
|
396 |
+
@-o-keyframes "dslcSpin" {
|
397 |
+
0% {
|
398 |
+
-o-transform: rotate(0deg);
|
399 |
+
transform: rotate(0deg);
|
400 |
+
}
|
401 |
+
100% {
|
402 |
+
-o-transform: rotate(360deg);
|
403 |
+
transform: rotate(360deg);
|
404 |
+
}
|
405 |
+
}
|
406 |
+
|
407 |
+
.dslc-loader {
|
408 |
+
position: relative;
|
409 |
+
display: inline-block;
|
410 |
+
width: 20px;
|
411 |
+
height: 20px;
|
412 |
+
border: 2px solid #0cf;
|
413 |
+
border-radius: 50%;
|
414 |
+
-webkit-animation: dslcSpin 0.75s infinite linear;
|
415 |
+
-moz-animation: dslcSpin 0.75s infinite linear;
|
416 |
+
-ms-animation: dslcSpin 0.75s infinite linear;
|
417 |
+
-o-animation: dslcSpin 0.75s infinite linear;
|
418 |
+
animation: dslcSpin 0.75s infinite linear;
|
419 |
+
margin-left: 48%;
|
420 |
+
}
|
421 |
+
|
422 |
+
.dslc-loader::before,
|
423 |
+
.dslc-loader::after {
|
424 |
+
left: -2px;
|
425 |
+
top: -2px;
|
426 |
+
display: none;
|
427 |
+
position: absolute;
|
428 |
+
content: '';
|
429 |
+
width: inherit;
|
430 |
+
height: inherit;
|
431 |
+
border: inherit;
|
432 |
+
border-radius: inherit;
|
433 |
+
}
|
434 |
+
|
435 |
+
.dslc-loader,
|
436 |
+
.dslc-loader::before {
|
437 |
+
display: inline-block;
|
438 |
+
border-color: transparent;
|
439 |
+
border-top-color: #0cf;
|
440 |
+
}
|
441 |
+
|
442 |
+
.dslc-loader::before {
|
443 |
+
-webkit-animation: dslcSpin 1.5s infinite ease;
|
444 |
+
-moz-animation: dslcSpin 1.5s infinite ease;
|
445 |
+
-ms-animation: dslcSpin 1.5s infinite ease;
|
446 |
+
-o-animation: dslcSpin 1.5s infinite ease;
|
447 |
+
animation: dslcSpin 1.5s infinite ease;
|
448 |
+
}
|
449 |
+
|
450 |
+
/**
|
451 |
+
* Elements
|
452 |
+
*/
|
453 |
+
|
454 |
+
.dslc-notification {
|
455 |
+
background: #ffffff;
|
456 |
+
border: 1px solid #e8e8e8;
|
457 |
+
border-radius: 3px;
|
458 |
+
color: #979797;
|
459 |
+
margin-bottom: 20px;
|
460 |
+
padding: 15px;
|
461 |
+
position: relative;
|
462 |
+
font-size: 14px;
|
463 |
+
line-height: 25px;
|
464 |
+
font-family: "Open Sans";
|
465 |
+
}
|
466 |
+
|
467 |
+
.dslc-notification .dslc-icon {
|
468 |
+
cursor: pointer;
|
469 |
+
position: absolute;
|
470 |
+
right: 14px;
|
471 |
+
top: 21px;
|
472 |
+
}
|
473 |
+
|
474 |
+
.dslc-notification.dslc-red {
|
475 |
+
background: #f65757;
|
476 |
+
border-color: #e43737;
|
477 |
+
color: #fff;
|
478 |
+
text-shadow: 0 1px 1px rgba(0,0,0,.14);
|
479 |
+
}
|
480 |
+
|
481 |
+
.dslc-notification.dslc-yellow {
|
482 |
+
background: #fac841;
|
483 |
+
border-color: #eab72e;
|
484 |
+
color: #fff;
|
485 |
+
text-shadow: 0 1px 1px rgba(0,0,0,.14);
|
486 |
+
}
|
487 |
+
|
488 |
+
.dslc-notification.dslc-green {
|
489 |
+
background: #8ccb25;
|
490 |
+
border-color: #77b01a;
|
491 |
+
color: #fff;
|
492 |
+
text-shadow: 0 1px 1px rgba(0,0,0,.14);
|
493 |
+
}
|
494 |
+
|
495 |
+
#dslc-content .dslc-module-heading {
|
496 |
+
overflow: hidden;
|
497 |
+
position: relative;
|
498 |
+
}
|
499 |
+
|
500 |
+
#dslc-content .dslc-module-heading h2 {
|
501 |
+
display: block;
|
502 |
+
float: left;
|
503 |
+
font-size: 17px;
|
504 |
+
font-weight: 400;
|
505 |
+
font-family: "Oswald";
|
506 |
+
line-height: 1;
|
507 |
+
margin: 0;
|
508 |
+
padding: 0;
|
509 |
+
margin-right: 15px;
|
510 |
+
}
|
511 |
+
|
512 |
+
#dslc-content .dslc-module-heading-view-all {
|
513 |
+
display: block;
|
514 |
+
float: left;
|
515 |
+
font-size: 11px;
|
516 |
+
line-height: 1;
|
517 |
+
margin: 3px 0;
|
518 |
+
margin-right: 20px;
|
519 |
+
}
|
520 |
+
|
521 |
+
#dslc-content .dslc-module-heading-view-all a {
|
522 |
+
display: block;
|
523 |
+
padding-left: 15px;
|
524 |
+
border-left: 1px dotted #4f4f4f;
|
525 |
+
font-family: "Open Sans";
|
526 |
+
font-weight: 600;
|
527 |
+
line-height: 1;
|
528 |
+
text-decoration: none;
|
529 |
+
}
|
530 |
+
|
531 |
+
.dslc-masonry-item {
|
532 |
+
margin-bottom: 30px;
|
533 |
+
margin-right: 0;
|
534 |
+
}
|
535 |
+
|
536 |
+
.dslc-masonry-item-animate {
|
537 |
+
-webkit-transition: all 0.5s ease-in-out;
|
538 |
+
-moz-transition: all 0.5s ease-in-out;
|
539 |
+
-o-transition: all 0.5s ease-in-out;
|
540 |
+
-ms-transition: all 0.5s ease-in-out;
|
541 |
+
transition: all 0.5s ease-in-out;
|
542 |
+
}
|
543 |
+
|
544 |
+
.dslc-post-separator {
|
545 |
+
clear: both;
|
546 |
+
height: 1px;
|
547 |
+
margin-bottom: 15px;
|
548 |
+
padding-bottom: 15px;
|
549 |
+
border-bottom: 1px solid #ededed;
|
550 |
+
}
|
551 |
+
|
552 |
+
.dslc-pagination {
|
553 |
+
border: 0px solid transparent;
|
554 |
+
overflow: hidden;
|
555 |
+
margin-top: 30px;
|
556 |
+
}
|
557 |
+
|
558 |
+
.dslc-pagination ul {
|
559 |
+
margin: 0;
|
560 |
+
padding: 0;
|
561 |
+
}
|
562 |
+
|
563 |
+
.dslc-pagination li {
|
564 |
+
display: inline-block;
|
565 |
+
margin: 0;
|
566 |
+
padding: 0;
|
567 |
+
margin-right: 10px;
|
568 |
+
}
|
569 |
+
|
570 |
+
.dslc-pagination li:last-child {
|
571 |
+
margin-right: 0 !important;
|
572 |
+
}
|
573 |
+
|
574 |
+
.dslc-pagination li a {
|
575 |
+
background: #eee;
|
576 |
+
border: 0px solid transparent;
|
577 |
+
color: #000;
|
578 |
+
display: block;
|
579 |
+
line-height: 1;
|
580 |
+
padding: 10px;
|
581 |
+
text-decoration: none;
|
582 |
+
}
|
583 |
+
|
584 |
+
.dslc-pagination li.current a {
|
585 |
+
background: #000;
|
586 |
+
color: #fff;
|
587 |
+
}
|
588 |
+
|
589 |
+
.dslc-pagination-type-loadmore {
|
590 |
+
|
591 |
+
}
|
592 |
+
|
593 |
+
.dslc-pagination li.dslc-pagination-load-more {
|
594 |
+
width: auto;
|
595 |
+
display: block;
|
596 |
+
}
|
597 |
+
|
598 |
+
.dslc-pagination li.dslc-pagination-load-more.dslc-inactive a {
|
599 |
+
cursor: default;
|
600 |
+
}
|
601 |
+
|
602 |
+
.dslc-pagination-load-more .dslc-icon {
|
603 |
+
margin-right: 10px;
|
604 |
+
}
|
605 |
+
|
606 |
+
.dslc-load-more-temp {
|
607 |
+
display: none;
|
608 |
+
}
|
609 |
+
|
610 |
+
.dslc-init-center {
|
611 |
+
visibility: hidden;
|
612 |
+
}
|
613 |
+
|
614 |
+
.dslc-init-topleft {
|
615 |
+
position: absolute !important;
|
616 |
+
top: 0 !important;
|
617 |
+
left: 0 !important;
|
618 |
+
bottom: auto !important;
|
619 |
+
right: auto !important;
|
620 |
+
}
|
621 |
+
|
622 |
+
.dslc-init-topright {
|
623 |
+
position: absolute !important;
|
624 |
+
top: 0 !important;
|
625 |
+
right: 0 !important;
|
626 |
+
bottom: auto !important;
|
627 |
+
left: auto !important
|
628 |
+
}
|
629 |
+
|
630 |
+
.dslc-init-bottomleft {
|
631 |
+
position: absolute !important;
|
632 |
+
bottom: 0 !important;
|
633 |
+
left: 0 !important;
|
634 |
+
top: auto !important;
|
635 |
+
right: auto !important;
|
636 |
+
}
|
637 |
+
|
638 |
+
.dslc-init-bottomright {
|
639 |
+
position: absolute !important;
|
640 |
+
bottom: 0 !important;
|
641 |
+
right: 0 !important;
|
642 |
+
top: auto !important;
|
643 |
+
left: auto !important;
|
644 |
+
}
|
645 |
+
|
646 |
+
/**
|
647 |
+
* Post Filters
|
648 |
+
*/
|
649 |
+
|
650 |
+
.dslc-post-filters {
|
651 |
+
overflow: hidden;
|
652 |
+
font-size: 0;
|
653 |
+
}
|
654 |
+
|
655 |
+
.dslc-post-filter {
|
656 |
+
background: #fff;
|
657 |
+
border: 1px solid #e8e8e8;
|
658 |
+
border-radius: 3px;
|
659 |
+
color: #979797;
|
660 |
+
cursor: pointer;
|
661 |
+
display: inline-block;
|
662 |
+
font-size: 11px;
|
663 |
+
font-weight: bold;
|
664 |
+
font-family: "Open Sans";
|
665 |
+
line-height: 1;
|
666 |
+
padding: 12px;
|
667 |
+
margin-right: 10px;
|
668 |
+
}
|
669 |
+
|
670 |
+
.dslc-post-filter.dslc-active {
|
671 |
+
color: #ff4e01;
|
672 |
+
}
|
673 |
+
|
674 |
+
.dslc-post-filter:last-child {
|
675 |
+
margin-right: 0 !important;
|
676 |
+
}
|
677 |
+
|
678 |
+
|
679 |
+
/**
|
680 |
+
* Full Width Video BG
|
681 |
+
*/
|
682 |
+
|
683 |
+
#dslc-content .dslc-bg-video {
|
684 |
+
background: transparent;
|
685 |
+
position: absolute;
|
686 |
+
left: 0;
|
687 |
+
right: 0;
|
688 |
+
bottom: 0;
|
689 |
+
top: 0;
|
690 |
+
opacity: 0;
|
691 |
+
}
|
692 |
+
|
693 |
+
#dslc-content .dslc-bg-video.dslc-force-show {
|
694 |
+
opacity: 1;
|
695 |
+
}
|
696 |
+
|
697 |
+
#dslc-content .dslc-bg-video .mejs-container {
|
698 |
+
background: transparent;
|
699 |
+
position: absolute;
|
700 |
+
left: 0;
|
701 |
+
right: 0;
|
702 |
+
bottom: 0;
|
703 |
+
top: 0;
|
704 |
+
width: 100% !important;
|
705 |
+
height: auto !important;
|
706 |
+
overflow: hidden;
|
707 |
+
}
|
708 |
+
|
709 |
+
#dslc-content .dslc-bg-video video {
|
710 |
+
min-width: 100%;
|
711 |
+
height: auto !important;
|
712 |
+
min-height: 100%;
|
713 |
+
}
|
714 |
+
|
715 |
+
#dslc-content .dslc-bg-video .mejs-controls {
|
716 |
+
display: none !important;
|
717 |
+
}
|
718 |
+
|
719 |
+
#dslc-content .dslc-bg-video-overlay {
|
720 |
+
position: absolute;
|
721 |
+
left: 0;
|
722 |
+
top: 0;
|
723 |
+
right: 0;
|
724 |
+
bottom: 0;
|
725 |
+
opacity : 0;
|
726 |
+
background: #000;
|
727 |
+
}
|
728 |
+
|
729 |
+
/*
|
730 |
+
#dslc-content[max-width~="850px"] {
|
731 |
+
|
732 |
+
}
|
733 |
+
|
734 |
+
.dslc-modules-area[max-width~="850px"] .dslc-res-sm-auto.dslc-post.dslc-2-col {
|
735 |
+
width: 31.91489%;
|
736 |
+
margin-bottom: 15px;
|
737 |
+
}
|
738 |
+
|
739 |
+
.dslc-modules-area[max-width~="850px"] .dslc-res-sm-auto.dslc-post.dslc-2-col:nth-child(3n+3) {
|
740 |
+
margin-right: 0;
|
741 |
+
}
|
742 |
+
*/
|
743 |
+
|
744 |
+
|
745 |
+
|
746 |
+
|
747 |
+
.dslc-col {
|
748 |
+
/* min-width: 200px; */
|
749 |
+
}
|
750 |
+
|
751 |
+
#dslc-content[max-width~="480px"] {
|
752 |
+
/* padding: 0 15px; */
|
753 |
+
}
|
754 |
+
|
755 |
+
/*
|
756 |
+
|
757 |
+
#dslc-content[max-width~="480px"] .dslc-col {
|
758 |
+
width: 100%;
|
759 |
+
margin: 0;
|
760 |
+
margin-bottom: 30px;
|
761 |
+
min-width: 0px;
|
762 |
+
}
|
763 |
+
|
764 |
+
#dslc-content[max-width~="480px"] .dslc-col.dslc-carousel-item {
|
765 |
+
margin-bottom: 0;
|
766 |
+
}
|
767 |
+
|
768 |
+
#dslc-content[max-width~="480px"] .dslc-post-separator,
|
769 |
+
#dslc-content[max-width~="480px"] .dslc-post-filters {
|
770 |
+
display: none;
|
771 |
+
}
|
772 |
+
|
773 |
+
#dslc-content[max-width~="480px"] .dslc-blog-posts-orientation-horizontal .dslc-blog-post-thumb {
|
774 |
+
width: 100% !important;
|
775 |
+
margin-bottom: 15px !important;
|
776 |
+
}
|
777 |
+
|
778 |
+
*/
|
779 |
+
|
780 |
+
/**
|
781 |
+
* Other
|
782 |
+
*/
|
783 |
+
|
784 |
+
.dslc-trigger-lightbox-gallery {
|
785 |
+
cursor: pointer;
|
786 |
+
}
|
787 |
+
|
788 |
+
/**
|
789 |
+
* Responsive ( User Set )
|
790 |
+
*/
|
791 |
+
|
792 |
+
body.dslc-res-phone .dslc-col {
|
793 |
+
width: 100%;
|
794 |
+
margin: 0;
|
795 |
+
margin-bottom: 30px;
|
796 |
+
min-width: 0px;
|
797 |
+
}
|
798 |
+
|
799 |
+
body.dslc-res-phone .dslc-module-front.dslc-col {
|
800 |
+
margin-bottom: 0;
|
801 |
+
}
|
802 |
+
|
803 |
+
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) {
|
804 |
+
|
805 |
+
.dslc-modules-section.dslc-init-parallax {
|
806 |
+
background-attachment: scroll !important;
|
807 |
+
background-position: 0 0 !important;
|
808 |
+
}
|
809 |
+
|
810 |
+
}
|
811 |
+
|
812 |
+
@media only screen and ( max-width: 767px ) {
|
813 |
+
|
814 |
+
.dslc-modules-section.dslc-init-parallax {
|
815 |
+
background-attachment: scroll !important;
|
816 |
+
background-position: 0 0 !important;
|
817 |
+
}
|
818 |
+
|
819 |
+
}
|
820 |
+
|
821 |
+
/**
|
822 |
+
* Responsive PREVIEW ( when a tab for responsive options is selected )
|
823 |
+
*/
|
824 |
+
|
825 |
+
body.dslca-enabled.dslc-res-tablet #dslc-content {
|
826 |
+
max-width: 768px;
|
827 |
+
margin: 0 auto;
|
828 |
+
}
|
829 |
+
|
830 |
+
body.dslca-enabled.dslc-res-phone #dslc-content {
|
831 |
+
max-width: 480px;
|
832 |
+
margin: 0 auto;
|
833 |
+
}
|
834 |
+
|
835 |
+
/**
|
836 |
+
* Animations
|
837 |
+
*/
|
838 |
+
|
839 |
+
@media only screen and ( min-width: 768px ) {
|
840 |
+
|
841 |
+
@-webkit-keyframes dslcFadeIn {
|
842 |
+
to { opacity: 1; }
|
843 |
+
}
|
844 |
+
|
845 |
+
@-moz-keyframes dslcFadeIn {
|
846 |
+
to { opacity: 1; }
|
847 |
+
}
|
848 |
+
|
849 |
+
@keyframes dslcFadeIn {
|
850 |
+
to { opacity: 1; }
|
851 |
+
}
|
852 |
+
|
853 |
+
.dslc-in-viewport-anim-dslcFadeIn.dslc-in-viewport-check {
|
854 |
+
opacity: 0;
|
855 |
+
}
|
856 |
+
|
857 |
+
@-webkit-keyframes dslcSlideUp {
|
858 |
+
to { -webkit-transform: translateY(0); }
|
859 |
+
}
|
860 |
+
|
861 |
+
@-moz-keyframes dslcSlideUp {
|
862 |
+
to { -moz-transform: translateY(0); }
|
863 |
+
}
|
864 |
+
|
865 |
+
@keyframes dslcSlideUp {
|
866 |
+
to { transform: translateY(0); }
|
867 |
+
}
|
868 |
+
|
869 |
+
.dslc-in-viewport-anim-dslcSlideUp.dslc-in-viewport-check {
|
870 |
+
-webkit-transform: translateY(100px);
|
871 |
+
-moz-transform: translateY(100px);
|
872 |
+
transform: translateY(100px);
|
873 |
+
}
|
874 |
+
|
875 |
+
@-webkit-keyframes dslcSlideDown {
|
876 |
+
to { -webkit-transform: translateY(0); }
|
877 |
+
}
|
878 |
+
|
879 |
+
@-moz-keyframes dslcSlideDown {
|
880 |
+
to { -moz-transform: translateY(0); }
|
881 |
+
}
|
882 |
+
|
883 |
+
@keyframes dslcSlideDown {
|
884 |
+
to { transform: translateY(0); }
|
885 |
+
}
|
886 |
+
|
887 |
+
.dslc-in-viewport-anim-dslcSlideDown.dslc-in-viewport-check {
|
888 |
+
-webkit-transform: translateY(-100px);
|
889 |
+
-moz-transform: translateY(-100px);
|
890 |
+
transform: translateY(-100px);
|
891 |
+
}
|
892 |
+
|
893 |
+
@-webkit-keyframes dslcSlideRight {
|
894 |
+
to { -webkit-transform: translateX(0); }
|
895 |
+
}
|
896 |
+
|
897 |
+
@-moz-keyframes dslcSlideRight {
|
898 |
+
to { -moz-transform: translateX(0); }
|
899 |
+
}
|
900 |
+
|
901 |
+
@keyframes dslcSlideRight {
|
902 |
+
to { transform: translateX(0); }
|
903 |
+
}
|
904 |
+
|
905 |
+
.dslc-in-viewport-anim-dslcSlideRight.dslc-in-viewport-check {
|
906 |
+
-webkit-transform: translateX(-100px);
|
907 |
+
-moz-transform: translateX(-100px);
|
908 |
+
transform: translateX(-100px);
|
909 |
+
}
|
910 |
+
|
911 |
+
@-webkit-keyframes dslcSlideLeft {
|
912 |
+
to { -webkit-transform: translateX(0); }
|
913 |
+
}
|
914 |
+
|
915 |
+
@-moz-keyframes dslcSlideLeft {
|
916 |
+
to { -moz-transform: translateX(0); }
|
917 |
+
}
|
918 |
+
|
919 |
+
@keyframes dslcSlideLeft {
|
920 |
+
to { transform: translateX(0); }
|
921 |
+
}
|
922 |
+
|
923 |
+
.dslc-in-viewport-anim-dslcSlideLeft.dslc-in-viewport-check {
|
924 |
+
-webkit-transform: translateX(100px);
|
925 |
+
-moz-transform: translateX(100px);
|
926 |
+
transform: translateX(100px);
|
927 |
+
}
|
928 |
+
|
929 |
+
@-webkit-keyframes dslcSlideUpFadeIn {
|
930 |
+
to { -webkit-transform: translateY(0); opacity: 1; }
|
931 |
+
}
|
932 |
+
|
933 |
+
@-moz-keyframes dslcSlideUpFadeIn {
|
934 |
+
to { -moz-transform: translateY(0); opacity: 1; }
|
935 |
+
}
|
936 |
+
|
937 |
+
@keyframes dslcSlideUpFadeIn {
|
938 |
+
to { transform: translateY(0); opacity: 1; }
|
939 |
+
}
|
940 |
+
|
941 |
+
.dslc-in-viewport-anim-dslcSlideUpFadeIn.dslc-in-viewport-check {
|
942 |
+
-webkit-transform: translateY(100px);
|
943 |
+
-moz-transform: translateY(100px);
|
944 |
+
transform: translateY(100px);
|
945 |
+
opacity: 0;
|
946 |
+
}
|
947 |
+
|
948 |
+
@-webkit-keyframes dslcSlideDownFadeIn {
|
949 |
+
to { -webkit-transform: translateY(0); opacity: 1; }
|
950 |
+
}
|
951 |
+
|
952 |
+
@-moz-keyframes dslcSlideDownFadeIn {
|
953 |
+
to { -moz-transform: translateY(0); opacity: 1; }
|
954 |
+
}
|
955 |
+
|
956 |
+
@keyframes dslcSlideDownFadeIn {
|
957 |
+
to { transform: translateY(0); opacity: 1; }
|
958 |
+
}
|
959 |
+
|
960 |
+
.dslc-in-viewport-anim-dslcSlideDownFadeIn.dslc-in-viewport-check {
|
961 |
+
-webkit-transform: translateY(-100px);
|
962 |
+
-moz-transform: translateY(-100px);
|
963 |
+
transform: translateY(-100px);
|
964 |
+
opacity: 0;
|
965 |
+
}
|
966 |
+
|
967 |
+
@-webkit-keyframes dslcSlideRightFadeIn {
|
968 |
+
to { -webkit-transform: translateX(0); opacity: 1; }
|
969 |
+
}
|
970 |
+
|
971 |
+
@-moz-keyframes dslcSlideRightFadeIn {
|
972 |
+
to { -moz-transform: translateX(0); opacity: 1; }
|
973 |
+
}
|
974 |
+
|
975 |
+
@keyframes dslcSlideRightFadeIn {
|
976 |
+
to { transform: translateX(0); opacity: 1; }
|
977 |
+
}
|
978 |
+
|
979 |
+
.dslc-in-viewport-anim-dslcSlideRightFadeIn.dslc-in-viewport-check {
|
980 |
+
-webkit-transform: translateX(-100px);
|
981 |
+
-moz-transform: translateX(-100px);
|
982 |
+
transform: translateX(-100px);
|
983 |
+
opacity: 0;
|
984 |
+
}
|
985 |
+
|
986 |
+
@-webkit-keyframes dslcSlideLeftFadeIn {
|
987 |
+
to { -webkit-transform: translateX(0); opacity: 1; }
|
988 |
+
}
|
989 |
+
|
990 |
+
@-moz-keyframes dslcSlideLeftFadeIn {
|
991 |
+
to { -moz-transform: translateX(0); opacity: 1; }
|
992 |
+
}
|
993 |
+
|
994 |
+
@keyframes dslcSlideLeftFadeIn {
|
995 |
+
to { transform: translateX(0); opacity: 1; }
|
996 |
+
}
|
997 |
+
|
998 |
+
.dslc-in-viewport-anim-dslcSlideLeftFadeIn.dslc-in-viewport-check {
|
999 |
+
-webkit-transform: translateX(100px);
|
1000 |
+
-moz-transform: translateX(100px);
|
1001 |
+
transform: translateX(100px);
|
1002 |
+
opacity: 0;
|
1003 |
+
}
|
1004 |
+
|
1005 |
+
}
|
1006 |
+
|
1007 |
+
/**
|
1008 |
+
* On Hover animations
|
1009 |
+
*/
|
1010 |
+
|
1011 |
+
body.dslca-enabled #dslc-content .dslc-post:first-child .dslc-post-thumb .dslc-on-hover-anim-target {
|
1012 |
+
opacity: 1 !important;
|
1013 |
+
-webkit-transform: translateY(0) !important;
|
1014 |
+
-moz-transform: translateY(0) !important;
|
1015 |
+
transform: translateY(0) !important;
|
1016 |
+
-webkit-transform: translateX(0) !important;
|
1017 |
+
-moz-transform: translateX(0) !important;
|
1018 |
+
transform: translateX(0) !important;
|
1019 |
+
}
|
1020 |
+
|
1021 |
+
.dslc-anim-dslcFadeIn,
|
1022 |
+
.dslc-anim-dslcSlideDownFadeIn,
|
1023 |
+
.dslc-anim-dslcSlideUpFadeIn,
|
1024 |
+
.dslc-anim-dslcSlideLeftFadeIn,
|
1025 |
+
.dslc-anim-dslcSlideRightFadeIn {
|
1026 |
+
opacity: 0;
|
1027 |
+
}
|
1028 |
+
|
1029 |
+
.dslc-on-hover-anim:hover .dslc-anim-dslcFadeIn,
|
1030 |
+
.dslc-on-hover-anim:hover .dslc-anim-dslcSlideDownFadeIn,
|
1031 |
+
.dslc-on-hover-anim:hover .dslc-anim-dslcSlideUpFadeIn,
|
1032 |
+
.dslc-on-hover-anim:hover .dslc-anim-dslcSlideLeftFadeIn,
|
1033 |
+
.dslc-on-hover-anim:hover .dslc-anim-dslcSlideRightFadeIn {
|
1034 |
+
opacity: 1;
|
1035 |
+
}
|
1036 |
+
|
1037 |
+
.dslc-anim-dslcSlideDown,
|
1038 |
+
.dslc-anim-dslcSlideDownFadeIn {
|
1039 |
+
-webkit-transform: translateY(-100%);
|
1040 |
+
-moz-transform: translateY(-100%);
|
1041 |
+
transform: translateY(-100%);
|
1042 |
+
}
|
1043 |
+
|
1044 |
+
.dslc-on-hover-anim:hover .dslc-anim-dslcSlideDown,
|
1045 |
+
.dslc-on-hover-anim:hover .dslc-anim-dslcSlideDownFadeIn {
|
1046 |
+
-webkit-transform: translateY(0%);
|
1047 |
+
-moz-transform: translateY(0%);
|
1048 |
+
transform: translateY(0%);
|
1049 |
+
}
|
1050 |
+
|
1051 |
+
.dslc-anim-dslcSlideUp,
|
1052 |
+
.dslc-anim-dslcSlideUpFadeIn {
|
1053 |
+
-webkit-transform: translateY(100%);
|
1054 |
+
-moz-transform: translateY(100%);
|
1055 |
+
transform: translateY(100%);
|
1056 |
+
}
|
1057 |
+
|
1058 |
+
.dslc-on-hover-anim:hover .dslc-anim-dslcSlideUp,
|
1059 |
+
.dslc-on-hover-anim:hover .dslc-anim-dslcSlideUpFadeIn {
|
1060 |
+
-webkit-transform: translateY(0%);
|
1061 |
+
-moz-transform: translateY(0%);
|
1062 |
+
transform: translateY(0%);
|
1063 |
+
}
|
1064 |
+
|
1065 |
+
.dslc-anim-dslcSlideRight,
|
1066 |
+
.dslc-anim-dslcSlideRightFadeIn {
|
1067 |
+
-webkit-transform: translateX(-100%);
|
1068 |
+
-moz-transform: translateX(-100%);
|
1069 |
+
transform: translateX(-100%);
|
1070 |
+
}
|
1071 |
+
|
1072 |
+
.dslc-on-hover-anim:hover .dslc-anim-dslcSlideRight,
|
1073 |
+
.dslc-on-hover-anim:hover .dslc-anim-dslcSlideRightFadeIn {
|
1074 |
+
-webkit-transform: translateX(0);
|
1075 |
+
-moz-transform: translateX(0);
|
1076 |
+
transform: translateX(0);
|
1077 |
+
}
|
1078 |
+
|
1079 |
+
.dslc-anim-dslcSlideLeft,
|
1080 |
+
.dslc-anim-dslcSlideLeftFadeIn {
|
1081 |
+
-webkit-transform: translateX(100%);
|
1082 |
+
-moz-transform: translateX(100%);
|
1083 |
+
transform: translateX(100%);
|
1084 |
+
}
|
1085 |
+
|
1086 |
+
.dslc-on-hover-anim:hover .dslc-anim-dslcSlideLeft,
|
1087 |
+
.dslc-on-hover-anim:hover .dslc-anim-dslcSlideLeftFadeIn {
|
1088 |
+
-webkit-transform: translateX(0%);
|
1089 |
+
-moz-transform: translateX(0%);
|
1090 |
+
transform: translateX(0%);
|
1091 |
+
}
|
1092 |
+
|
1093 |
+
.dslc-anim-none {
|
1094 |
+
opacity: 0;
|
1095 |
+
-webkit-transition: all 0s ease-out !important;
|
1096 |
+
}
|
1097 |
+
|
1098 |
+
.dslc-on-hover-anim:hover .dslc-anim-none {
|
1099 |
+
opacity: 1;
|
1100 |
+
}
|
1101 |
+
|
1102 |
+
/**
|
1103 |
+
* Show On / Hide On
|
1104 |
+
*/
|
1105 |
+
|
1106 |
+
.dslc-res-big .dslc-hide-on-desktop,
|
1107 |
+
.dslc-res-smaller-monitor .dslc-hide-on-desktop {
|
1108 |
+
display: none !important;
|
1109 |
+
}
|
1110 |
+
|
1111 |
+
.dslc-res-tablet .dslc-hide-on-tablet {
|
1112 |
+
display: none !important;
|
1113 |
+
}
|
1114 |
+
|
1115 |
+
.dslc-res-phone .dslc-hide-on-phone {
|
1116 |
+
display: none !important;
|
1117 |
+
}
|
1118 |
+
|
1119 |
+
.dslca-enabled.dslc-res-big .dslc-hide-on-desktop,
|
1120 |
+
.dslca-enabled.dslc-res-smaller-monitor .dslc-hide-on-desktop {
|
1121 |
+
display: block !important;
|
1122 |
+
}
|
1123 |
+
|
1124 |
+
.dslca-composer-hidden.dslc-res-big .dslc-hide-on-desktop,
|
1125 |
+
.dslca-composer-hidden.dslc-res-smaller-monitor .dslc-hide-on-desktop {
|
1126 |
+
display: none !important;
|
1127 |
}
|
css/modules.css
CHANGED
@@ -1,2205 +1,2223 @@
|
|
1 |
-
/**
|
2 |
-
* CPT MODULE
|
3 |
-
*/
|
4 |
-
|
5 |
-
#dslc-content .dslc-cpt-post {
|
6 |
-
|
7 |
-
}
|
8 |
-
|
9 |
-
#dslc-content .dslc-cpt-post-main {
|
10 |
-
border: 0px solid transparent;
|
11 |
-
}
|
12 |
-
|
13 |
-
#dslc-content .dslc-cpt-post-thumb {
|
14 |
-
margin-bottom: 20px;
|
15 |
-
overflow: hidden;
|
16 |
-
position: relative;
|
17 |
-
line-height: 0;
|
18 |
-
}
|
19 |
-
|
20 |
-
#dslc-content .dslc-cpt-post-thumb-inner {
|
21 |
-
border: 0 solid transparent;
|
22 |
-
overflow: hidden;
|
23 |
-
}
|
24 |
-
|
25 |
-
#dslc-content .dslc-cpt-post-thumb a {
|
26 |
-
display: inline-block;
|
27 |
-
max-width: 100%;
|
28 |
-
}
|
29 |
-
|
30 |
-
#dslc-content .dslc-cpt-post-thumb img {
|
31 |
-
border-radius: 0;
|
32 |
-
-moz-box-shadow: none;
|
33 |
-
-webkit-box-shadow:none;
|
34 |
-
box-shadow: none;
|
35 |
-
display: block;
|
36 |
-
max-width: 100%;
|
37 |
-
height: auto;
|
38 |
-
}
|
39 |
-
|
40 |
-
#dslc-content .dslc-cpt-post-thumb .dslc-cpt-post-main {
|
41 |
-
position: absolute;
|
42 |
-
top: 0;
|
43 |
-
left: 0;
|
44 |
-
bottom: 0;
|
45 |
-
right: 0;
|
46 |
-
}
|
47 |
-
|
48 |
-
#dslc-content .dslc-cpt-post-thumb .dslc-cpt-post-main.dslc-cpt-post-main-visible {
|
49 |
-
opacity: 1 !important;
|
50 |
-
}
|
51 |
-
|
52 |
-
#dslc-content .dslc-cpt-post-thumb .dslc-cpt-post-main .dslc-init-center {
|
53 |
-
position: relative;
|
54 |
-
}
|
55 |
-
|
56 |
-
#dslc-content .dslc-cpt-post-thumb:hover .dslc-cpt-post-main {
|
57 |
-
|
58 |
-
}
|
59 |
-
|
60 |
-
body.dslca-enabled #dslc-content .dslc-post:first-child .dslc-cpt-post-thumb .dslc-cpt-post-main {
|
61 |
-
opacity: 1;
|
62 |
-
}
|
63 |
-
|
64 |
-
#dslc-content .dslc-cpt-post-meta {
|
65 |
-
border: 1px solid #e5e5e5;
|
66 |
-
border-left: 0;
|
67 |
-
border-right: 0;
|
68 |
-
margin-bottom: 20px;
|
69 |
-
overflow: hidden;
|
70 |
-
padding: 13px 0;
|
71 |
-
font-size: 11px;
|
72 |
-
line-height: 1;
|
73 |
-
}
|
74 |
-
|
75 |
-
#dslc-content .dslc-cpt-post-meta-author {
|
76 |
-
float: left;
|
77 |
-
}
|
78 |
-
|
79 |
-
#dslc-content .dslc-cpt-post-meta-author a {
|
80 |
-
text-decoration: none;
|
81 |
-
}
|
82 |
-
|
83 |
-
#dslc-content .dslc-cpt-post-meta-date {
|
84 |
-
float: right;
|
85 |
-
}
|
86 |
-
|
87 |
-
#dslc-content .dslc-cpt-post-title {
|
88 |
-
margin-bottom: 13px;
|
89 |
-
}
|
90 |
-
|
91 |
-
#dslc-content .dslc-cpt-post-title h2 {
|
92 |
-
font-family: "Open Sans";
|
93 |
-
font-weight: 600;
|
94 |
-
font-size: 15px;
|
95 |
-
line-height: 26px;
|
96 |
-
margin: 0;
|
97 |
-
padding: 0;
|
98 |
-
}
|
99 |
-
|
100 |
-
#dslc-content .dslc-cpt-post-title h2 a {
|
101 |
-
display: block;
|
102 |
-
color: inherit;
|
103 |
-
text-decoration: none;
|
104 |
-
}
|
105 |
-
|
106 |
-
#dslc-content .dslc-cpt-post-excerpt {
|
107 |
-
margin-bottom: 22px;
|
108 |
-
font-size: 13px;
|
109 |
-
line-height: 22px;
|
110 |
-
}
|
111 |
-
|
112 |
-
#dslc-content .dslc-cpt-post-read-more {
|
113 |
-
|
114 |
-
}
|
115 |
-
|
116 |
-
#dslc-content .dslc-cpt-post-read-more a {
|
117 |
-
display: inline-block;
|
118 |
-
line-height: 1;
|
119 |
-
text-decoration: none;
|
120 |
-
border: 0 solid transparent;
|
121 |
-
}
|
122 |
-
|
123 |
-
/**
|
124 |
-
* Horizontal Orientation
|
125 |
-
*/
|
126 |
-
|
127 |
-
#dslc-content .dslc-cpt-posts-orientation-horizontal {
|
128 |
-
|
129 |
-
}
|
130 |
-
|
131 |
-
#dslc-content .dslc-cpt-posts-orientation-horizontal .dslc-cpt-post-thumb {
|
132 |
-
float: left;
|
133 |
-
margin-right: 20px;
|
134 |
-
width: 200px;
|
135 |
-
}
|
136 |
-
|
137 |
-
#dslc-content .dslc-cpt-posts-orientation-horizontal .dslc-cpt-post-main {
|
138 |
-
overflow: hidden;
|
139 |
-
}
|
140 |
-
|
141 |
-
/**
|
142 |
-
* BLOG MODULE
|
143 |
-
*/
|
144 |
-
|
145 |
-
.dslc-post-thumb {
|
146 |
-
overflow: hidden;
|
147 |
-
}
|
148 |
-
|
149 |
-
#dslc-content .dslc-blog-post {
|
150 |
-
|
151 |
-
}
|
152 |
-
|
153 |
-
#dslc-content .dslc-blog-post-main {
|
154 |
-
border: 0px solid transparent;
|
155 |
-
}
|
156 |
-
|
157 |
-
#dslc-content .dslc-blog-post-thumb {
|
158 |
-
margin-bottom: 20px;
|
159 |
-
overflow: hidden;
|
160 |
-
position: relative;
|
161 |
-
line-height: 0;
|
162 |
-
}
|
163 |
-
|
164 |
-
#dslc-content .dslc-blog-post-thumb-inner {
|
165 |
-
border: 0 solid transparent;
|
166 |
-
overflow: hidden;
|
167 |
-
}
|
168 |
-
|
169 |
-
#dslc-content .dslc-blog-post-thumb a {
|
170 |
-
display: inline-block;
|
171 |
-
max-width: 100%;
|
172 |
-
}
|
173 |
-
|
174 |
-
#dslc-content .dslc-blog-post-thumb img {
|
175 |
-
border-radius: 0;
|
176 |
-
-moz-box-shadow: none;
|
177 |
-
-webkit-box-shadow:none;
|
178 |
-
box-shadow: none;
|
179 |
-
display: block;
|
180 |
-
max-width: 100%;
|
181 |
-
height: auto;
|
182 |
-
}
|
183 |
-
|
184 |
-
#dslc-content .dslc-blog-post-thumb .dslc-blog-post-main {
|
185 |
-
position: absolute;
|
186 |
-
top: 0;
|
187 |
-
left: 0;
|
188 |
-
bottom: 0;
|
189 |
-
right: 0;
|
190 |
-
}
|
191 |
-
|
192 |
-
#dslc-content .dslc-blog-post-thumb .dslc-blog-post-main.dslc-blog-post-main-visible {
|
193 |
-
opacity: 1 !important;
|
194 |
-
}
|
195 |
-
|
196 |
-
#dslc-content .dslc-blog-post-thumb .dslc-blog-post-main .dslc-init-center {
|
197 |
-
position: relative;
|
198 |
-
}
|
199 |
-
|
200 |
-
#dslc-content .dslc-blog-post-thumb:hover .dslc-blog-post-main {
|
201 |
-
|
202 |
-
}
|
203 |
-
|
204 |
-
body.dslca-enabled #dslc-content .dslc-post:first-child .dslc-blog-post-thumb .dslc-blog-post-main {
|
205 |
-
opacity: 1;
|
206 |
-
}
|
207 |
-
|
208 |
-
#dslc-content .dslc-blog-post-meta {
|
209 |
-
border: 1px solid #e5e5e5;
|
210 |
-
border-left: 0;
|
211 |
-
border-right: 0;
|
212 |
-
margin-bottom: 20px;
|
213 |
-
overflow: hidden;
|
214 |
-
padding: 13px 0;
|
215 |
-
font-size: 11px;
|
216 |
-
line-height: 1;
|
217 |
-
}
|
218 |
-
|
219 |
-
#dslc-content .dslc-blog-post-meta-author {
|
220 |
-
float: left;
|
221 |
-
}
|
222 |
-
|
223 |
-
#dslc-content .dslc-blog-post-meta-avatar {
|
224 |
-
margin-right: 10px;
|
225 |
-
width: 30px;
|
226 |
-
display: inline-block;
|
227 |
-
}
|
228 |
-
|
229 |
-
#dslc-content .dslc-blog-post-meta-avatar img {
|
230 |
-
vertical-align: middle;
|
231 |
-
width: 100%;
|
232 |
-
height: auto;
|
233 |
-
border-radius: 50%;
|
234 |
-
}
|
235 |
-
|
236 |
-
#dslc-content .dslc-blog-post-meta-author a {
|
237 |
-
text-decoration: none;
|
238 |
-
}
|
239 |
-
|
240 |
-
#dslc-content .dslc-blog-post-meta-date {
|
241 |
-
float: right;
|
242 |
-
}
|
243 |
-
|
244 |
-
#dslc-content .dslc-blog-post-title {
|
245 |
-
margin-bottom: 13px;
|
246 |
-
}
|
247 |
-
|
248 |
-
#dslc-content .dslc-blog-post-title h2 {
|
249 |
-
font-family: "Open Sans";
|
250 |
-
font-weight: 600;
|
251 |
-
font-size: 15px;
|
252 |
-
line-height: 26px;
|
253 |
-
margin: 0;
|
254 |
-
padding: 0;
|
255 |
-
}
|
256 |
-
|
257 |
-
#dslc-content .dslc-blog-post-title h2 a {
|
258 |
-
display: block;
|
259 |
-
color: inherit;
|
260 |
-
text-decoration: none;
|
261 |
-
}
|
262 |
-
|
263 |
-
#dslc-content .dslc-blog-post-excerpt {
|
264 |
-
margin-bottom: 22px;
|
265 |
-
font-size: 13px;
|
266 |
-
line-height: 22px;
|
267 |
-
}
|
268 |
-
|
269 |
-
#dslc-content .dslc-blog-post-read-more {
|
270 |
-
|
271 |
-
}
|
272 |
-
|
273 |
-
#dslc-content .dslc-blog-post-read-more a {
|
274 |
-
display: inline-block;
|
275 |
-
line-height: 1;
|
276 |
-
text-decoration: none;
|
277 |
-
border: 0 solid transparent;
|
278 |
-
}
|
279 |
-
|
280 |
-
/**
|
281 |
-
* Horizontal Orientation
|
282 |
-
*/
|
283 |
-
|
284 |
-
#dslc-content .dslc-posts-orientation-horizontal {
|
285 |
-
|
286 |
-
}
|
287 |
-
|
288 |
-
#dslc-content .dslc-posts-orientation-horizontal .dslc-post-thumb {
|
289 |
-
float: left;
|
290 |
-
margin-right: 20px;
|
291 |
-
width: 200px;
|
292 |
-
}
|
293 |
-
|
294 |
-
#dslc-content .dslc-posts-orientation-horizontal .dslc-post-main {
|
295 |
-
overflow: hidden;
|
296 |
-
}
|
297 |
-
|
298 |
-
|
299 |
-
/**
|
300 |
-
* DOWNLOADS MODULE
|
301 |
-
*/
|
302 |
-
|
303 |
-
#dslc-content .dslc-downloads {
|
304 |
-
|
305 |
-
}
|
306 |
-
|
307 |
-
#dslc-content .dslc-download {
|
308 |
-
|
309 |
-
}
|
310 |
-
|
311 |
-
#dslc-content .dslc-download-thumb {
|
312 |
-
position: relative;
|
313 |
-
line-height: 0;
|
314 |
-
}
|
315 |
-
|
316 |
-
#dslc-content .dslc-download-thumb-inner {
|
317 |
-
border: 0 solid transparent;
|
318 |
-
overflow: hidden;
|
319 |
-
}
|
320 |
-
|
321 |
-
#dslc-content .dslc-download-thumb a {
|
322 |
-
display: inline-block;
|
323 |
-
max-width: 100%;
|
324 |
-
}
|
325 |
-
|
326 |
-
#dslc-content .dslc-download-thumb img {
|
327 |
-
border-radius: 0;
|
328 |
-
-moz-box-shadow: none;
|
329 |
-
-webkit-box-shadow:none;
|
330 |
-
box-shadow: none;
|
331 |
-
display: block;
|
332 |
-
max-width: 100%;
|
333 |
-
height: auto;
|
334 |
-
}
|
335 |
-
|
336 |
-
#dslc-content .dslc-download-thumb .dslc-download-main {
|
337 |
-
position: absolute;
|
338 |
-
top: 0;
|
339 |
-
left: 0;
|
340 |
-
bottom: 0;
|
341 |
-
right: 0;
|
342 |
-
}
|
343 |
-
|
344 |
-
#dslc-content .dslc-download-thumb .dslc-download-main.dslc-download-main-visible {
|
345 |
-
opacity: 1 !important;
|
346 |
-
}
|
347 |
-
|
348 |
-
#dslc-content .dslc-download-thumb .dslc-download-main .dslc-init-center {
|
349 |
-
position: relative;
|
350 |
-
}
|
351 |
-
|
352 |
-
#dslc-content .dslc-download-thumb:hover .dslc-download-main {
|
353 |
-
|
354 |
-
}
|
355 |
-
|
356 |
-
body.dslca-enabled #dslc-content .dslc-post:first-child .dslc-download-thumb .dslc-download-main {
|
357 |
-
opacity: 1;
|
358 |
-
}
|
359 |
-
|
360 |
-
#dslc-content .dslc-download-main {
|
361 |
-
border: 0px solid transparent;
|
362 |
-
text-align: center;
|
363 |
-
}
|
364 |
-
|
365 |
-
#dslc-content .dslc-download-title {
|
366 |
-
margin-bottom: 13px;
|
367 |
-
}
|
368 |
-
|
369 |
-
#dslc-content .dslc-download-title h2 {
|
370 |
-
font-size: 15px;
|
371 |
-
line-height: 1.7;
|
372 |
-
margin: 0;
|
373 |
-
padding: 0;
|
374 |
-
}
|
375 |
-
|
376 |
-
#dslc-content .dslc-download-title h2 a {
|
377 |
-
display: block;
|
378 |
-
color: inherit;
|
379 |
-
text-decoration: none;
|
380 |
-
}
|
381 |
-
|
382 |
-
#dslc-content .dslc-download-tags {
|
383 |
-
border: 1px solid #e5e5e5;
|
384 |
-
border-width: 1px 0;
|
385 |
-
font-size: 12px;
|
386 |
-
padding: 8px 0;
|
387 |
-
line-height: 1;
|
388 |
-
margin-bottom: 22px;
|
389 |
-
}
|
390 |
-
|
391 |
-
#dslc-content .dslc-download-excerpt {
|
392 |
-
margin-bottom: 22px;
|
393 |
-
font-size: 13px;
|
394 |
-
line-height: 22px;
|
395 |
-
font-weight: 400;
|
396 |
-
}
|
397 |
-
|
398 |
-
#dslc-content .dslc-download-download {
|
399 |
-
margin-bottom: 10px;
|
400 |
-
}
|
401 |
-
|
402 |
-
#dslc-content .dslc-download-download a {
|
403 |
-
background: #ff4e01;
|
404 |
-
border: 0px solid transparent;
|
405 |
-
border-radius: 3px;
|
406 |
-
color: #fff;
|
407 |
-
display: block;
|
408 |
-
font-size: 13px;
|
409 |
-
font-weight: bold;
|
410 |
-
line-height: 1;
|
411 |
-
padding: 15px 0;
|
412 |
-
text-decoration: none;
|
413 |
-
text-align: center;
|
414 |
-
}
|
415 |
-
|
416 |
-
#dslc-content .dslc-download-download .dslc-icon {
|
417 |
-
margin-right: 10px;
|
418 |
-
}
|
419 |
-
|
420 |
-
#dslc-content .dslc-download-info {
|
421 |
-
font-size: 10px;
|
422 |
-
font-style: italic;
|
423 |
-
}
|
424 |
-
|
425 |
-
|
426 |
-
/**
|
427 |
-
* GALLERY MODULE
|
428 |
-
*/
|
429 |
-
|
430 |
-
#dslc-content .dslc-galleries {
|
431 |
-
|
432 |
-
}
|
433 |
-
|
434 |
-
#dslc-content .dslc-gallery {
|
435 |
-
|
436 |
-
}
|
437 |
-
|
438 |
-
#dslc-content .dslc-gallery-thumb {
|
439 |
-
position: relative;
|
440 |
-
line-height: 0;
|
441 |
-
}
|
442 |
-
|
443 |
-
#dslc-content .dslc-gallery-thumb-inner {
|
444 |
-
border: 0 solid transparent;
|
445 |
-
position: relative;
|
446 |
-
overflow: hidden;
|
447 |
-
}
|
448 |
-
|
449 |
-
#dslc-content .dslc-gallery-thumb a {
|
450 |
-
display: inline-block;
|
451 |
-
max-width: 100%;
|
452 |
-
}
|
453 |
-
|
454 |
-
#dslc-content .dslc-gallery-thumb img {
|
455 |
-
border-radius: 0;
|
456 |
-
-moz-box-shadow: none;
|
457 |
-
-webkit-box-shadow:none;
|
458 |
-
box-shadow: none;
|
459 |
-
display: block;
|
460 |
-
box-shadow: none;
|
461 |
-
max-width: 100%;
|
462 |
-
height: auto;
|
463 |
-
}
|
464 |
-
|
465 |
-
#dslc-content .dslc-gallery-images-count {
|
466 |
-
background: transparent;
|
467 |
-
border: 0px solid transparent;
|
468 |
-
border-radius: 50%;
|
469 |
-
position: absolute;
|
470 |
-
top: 40%;
|
471 |
-
left: 35%;
|
472 |
-
text-align: center;
|
473 |
-
text-decoration: none;
|
474 |
-
}
|
475 |
-
|
476 |
-
#dslc-content .dslc-gallery-images-count-bg {
|
477 |
-
background: transparent;
|
478 |
-
border: 0px solid transparent;
|
479 |
-
position: absolute;
|
480 |
-
top: 0;
|
481 |
-
left: 0;
|
482 |
-
right: 0;
|
483 |
-
bottom: 0;
|
484 |
-
}
|
485 |
-
|
486 |
-
#dslc-content .dslc-gallery-images-count-main {
|
487 |
-
position: relative;
|
488 |
-
}
|
489 |
-
|
490 |
-
#dslc-content .dslc-gallery-images-count-num {
|
491 |
-
color: #fff;
|
492 |
-
display: block;
|
493 |
-
font-size: 25px;
|
494 |
-
font-family: "Oswald";
|
495 |
-
font-weight: 200;
|
496 |
-
line-height: 1;
|
497 |
-
margin-bottom: 8px;
|
498 |
-
}
|
499 |
-
|
500 |
-
#dslc-content .dslc-gallery-images-count-txt {
|
501 |
-
color: #7d7d7d;
|
502 |
-
display: block;
|
503 |
-
font-size: 11px;
|
504 |
-
font-family: "Brawler";
|
505 |
-
line-height: 1;
|
506 |
-
}
|
507 |
-
|
508 |
-
#dslc-content .dslc-gallery-thumb .dslc-gallery-main {
|
509 |
-
position: absolute;
|
510 |
-
top: 0;
|
511 |
-
left: 0;
|
512 |
-
bottom: 0;
|
513 |
-
right: 0;
|
514 |
-
}
|
515 |
-
|
516 |
-
#dslc-content .dslc-gallery-thumb .dslc-gallery-main.dslc-gallery-main-visible {
|
517 |
-
opacity: 1 !important;
|
518 |
-
}
|
519 |
-
|
520 |
-
#dslc-content .dslc-gallery-thumb .dslc-gallery-main .dslc-init-center {
|
521 |
-
position: relative;
|
522 |
-
}
|
523 |
-
|
524 |
-
#dslc-content .dslc-gallery-thumb:hover .dslc-gallery-main {
|
525 |
-
|
526 |
-
}
|
527 |
-
|
528 |
-
body.dslca-enabled #dslc-content .dslc-post:first-child .dslc-gallery-thumb .dslc-gallery-main {
|
529 |
-
opacity: 1;
|
530 |
-
}
|
531 |
-
|
532 |
-
#dslc-content .dslc-gallery-main {
|
533 |
-
border: 0px solid transparent;
|
534 |
-
text-align: center;
|
535 |
-
}
|
536 |
-
|
537 |
-
#dslc-content .dslc-gallery-title {
|
538 |
-
margin-bottom: 15px;
|
539 |
-
}
|
540 |
-
|
541 |
-
#dslc-content .dslc-gallery-title h2 {
|
542 |
-
font-family: "Brawler";
|
543 |
-
font-size: 11px;
|
544 |
-
line-height: 1;
|
545 |
-
margin: 0;
|
546 |
-
padding: 0;
|
547 |
-
}
|
548 |
-
|
549 |
-
#dslc-content .dslc-gallery-title h2 a {
|
550 |
-
display: block;
|
551 |
-
color: #7d7d7d;
|
552 |
-
text-decoration: none;
|
553 |
-
}
|
554 |
-
|
555 |
-
#dslc-content .dslc-gallery-sep {
|
556 |
-
display: block;
|
557 |
-
height: 1px;
|
558 |
-
border-bottom: 1px solid #4a4a4a;
|
559 |
-
margin-bottom: 15px;
|
560 |
-
}
|
561 |
-
|
562 |
-
#dslc-content .dslc-gallery-excerpt {
|
563 |
-
font-size: 12px;
|
564 |
-
border-width: 1px 0 0 0;
|
565 |
-
}
|
566 |
-
|
567 |
-
#dslc-content .dslc-gallery-read-more {
|
568 |
-
|
569 |
-
}
|
570 |
-
|
571 |
-
#dslc-content .dslc-gallery-read-more a {
|
572 |
-
display: inline-block;
|
573 |
-
line-height: 1;
|
574 |
-
text-decoration: none;
|
575 |
-
border: 0 solid transparent;
|
576 |
-
}
|
577 |
-
|
578 |
-
#dslc-content .dslc-gallery .dslc-lightbox-gallery {
|
579 |
-
display: none;
|
580 |
-
}
|
581 |
-
|
582 |
-
/**
|
583 |
-
* INFOBOX MODULE
|
584 |
-
*/
|
585 |
-
|
586 |
-
.dslc-info-box {
|
587 |
-
text-align: center;
|
588 |
-
border: 0px solid transparent;
|
589 |
-
-webkit-transition: all 0.2s ease-in-out;
|
590 |
-
-moz-transition: all 0.2s ease-in-out;
|
591 |
-
transition: all 0.2s ease-in-out;
|
592 |
-
}
|
593 |
-
|
594 |
-
.dslc-info-box-main-wrap {
|
595 |
-
|
596 |
-
}
|
597 |
-
|
598 |
-
.dslc-info-box-image {
|
599 |
-
margin-bottom: 25px;
|
600 |
-
position: relative;
|
601 |
-
font-size: 0;
|
602 |
-
}
|
603 |
-
|
604 |
-
.dslc-info-box-image-link {
|
605 |
-
position: absolute;
|
606 |
-
top: 0;
|
607 |
-
left: 0;
|
608 |
-
right: 0;
|
609 |
-
bottom: 0;
|
610 |
-
}
|
611 |
-
|
612 |
-
.dslc-info-box-icon-pos-aside .dslc-info-box-main {
|
613 |
-
overflow: hidden;
|
614 |
-
}
|
615 |
-
|
616 |
-
.dslc-info-box-icon-pos-aside .dslc-info-box-image {
|
617 |
-
float: left;
|
618 |
-
margin-right: 20px;
|
619 |
-
}
|
620 |
-
|
621 |
-
.dslc-info-box-image-inner {
|
622 |
-
display: inline-block;
|
623 |
-
position: relative;
|
624 |
-
border: 0px solid transparent;
|
625 |
-
}
|
626 |
-
|
627 |
-
.dslc-info-box-image-inner .dslc-icon {
|
628 |
-
color: #fff;
|
629 |
-
line-height: 1;
|
630 |
-
font-size: 40px;
|
631 |
-
position: absolute;
|
632 |
-
}
|
633 |
-
|
634 |
-
.dslc-info-box-image-alt-inner img {
|
635 |
-
-webkit-transition: all 0.2s ease-in-out;
|
636 |
-
-moz-transition: all 0.2s ease-in-out;
|
637 |
-
transition: all 0.2s ease-in-out;
|
638 |
-
}
|
639 |
-
|
640 |
-
.dslc-info-box-title {
|
641 |
-
margin-bottom: 25px;
|
642 |
-
}
|
643 |
-
|
644 |
-
.dslc-info-box-title h4 {
|
645 |
-
font-size: 17px;
|
646 |
-
line-height: 1;
|
647 |
-
margin: 0;
|
648 |
-
padding: 0;
|
649 |
-
font-weight: 400;
|
650 |
-
}
|
651 |
-
|
652 |
-
.dslc-info-box-title h4 a {
|
653 |
-
color: inherit;
|
654 |
-
text-decoration: none;
|
655 |
-
}
|
656 |
-
|
657 |
-
.dslc-info-box-content {
|
658 |
-
margin-bottom: 25px;
|
659 |
-
}
|
660 |
-
|
661 |
-
.dslc-info-box-button {
|
662 |
-
font-size: 0;
|
663 |
-
}
|
664 |
-
|
665 |
-
.dslc-info-box-button a {
|
666 |
-
display: inline-block;
|
667 |
-
line-height: 1;
|
668 |
-
text-decoration: none;
|
669 |
-
}
|
670 |
-
|
671 |
-
.dslc-info-box-button-aside {
|
672 |
-
float: right;
|
673 |
-
}
|
674 |
-
|
675 |
-
/**
|
676 |
-
* PARTNERS MODULE
|
677 |
-
*/
|
678 |
-
|
679 |
-
#dslc-content .dslc-partner {
|
680 |
-
|
681 |
-
}
|
682 |
-
|
683 |
-
#dslc-content .dslc-partner .dslc-partner-thumb {
|
684 |
-
border: 1px solid #ebebeb;
|
685 |
-
padding: 50px 0;
|
686 |
-
text-align: center;
|
687 |
-
position: relative;
|
688 |
-
line-height: 0;
|
689 |
-
}
|
690 |
-
|
691 |
-
#dslc-content .dslc-partner .dslc-partner-thumb a {
|
692 |
-
display: inline-block;
|
693 |
-
max-width: 100%;
|
694 |
-
}
|
695 |
-
|
696 |
-
#dslc-content .dslc-partner .dslc-partner-thumb img {
|
697 |
-
border-radius: 0;
|
698 |
-
-moz-box-shadow: none;
|
699 |
-
-webkit-box-shadow:none;
|
700 |
-
box-shadow: none;
|
701 |
-
display: inline-block;
|
702 |
-
vertical-align: bottom;
|
703 |
-
width: auto;
|
704 |
-
max-width: 100%;
|
705 |
-
height: auto;
|
706 |
-
}
|
707 |
-
|
708 |
-
#dslc-content .dslc-partner-thumb .dslc-partner-main {
|
709 |
-
position: absolute;
|
710 |
-
top: 0;
|
711 |
-
left: 0;
|
712 |
-
bottom: 0;
|
713 |
-
right: 0;
|
714 |
-
}
|
715 |
-
|
716 |
-
#dslc-content .dslc-partner-thumb .dslc-partner-main.dslc-partner-main-visible {
|
717 |
-
opacity: 1 !important;
|
718 |
-
}
|
719 |
-
|
720 |
-
#dslc-content .dslc-partner-thumb .dslc-partner-main .dslc-init-center {
|
721 |
-
position: relative;
|
722 |
-
}
|
723 |
-
|
724 |
-
#dslc-content .dslc-partner-thumb:hover .dslc-partner-main {
|
725 |
-
|
726 |
-
}
|
727 |
-
|
728 |
-
body.dslca-enabled #dslc-content .dslc-post:first-child .dslc-partner-thumb .dslc-partner-main {
|
729 |
-
opacity: 1;
|
730 |
-
}
|
731 |
-
|
732 |
-
#dslc-content .dslc-partner .dslc-partner-main {
|
733 |
-
border: 0px solid transparent;
|
734 |
-
}
|
735 |
-
|
736 |
-
#dslc-content .dslc-partner .dslc-partner-title {
|
737 |
-
margin-bottom: 10px;
|
738 |
-
}
|
739 |
-
|
740 |
-
#dslc-content .dslc-partner .dslc-partner-title h2 {
|
741 |
-
color: #222;
|
742 |
-
font-family: "Oswald";
|
743 |
-
font-weight: bold;
|
744 |
-
font-size: 14px;
|
745 |
-
line-height: 1;
|
746 |
-
margin: 0;
|
747 |
-
padding: 0;
|
748 |
-
}
|
749 |
-
|
750 |
-
#dslc-content .dslc-partner .dslc-partner-title h2 a {
|
751 |
-
display: block;
|
752 |
-
color: inherit;
|
753 |
-
text-decoration: none;
|
754 |
-
}
|
755 |
-
|
756 |
-
#dslc-content .dslc-partner .dslc-partner-excerpt {
|
757 |
-
color: #444;
|
758 |
-
font-family: "Open Sans";
|
759 |
-
font-weight: 400;
|
760 |
-
font-size: 12px;
|
761 |
-
line-height: 22px;
|
762 |
-
}
|
763 |
-
|
764 |
-
|
765 |
-
/**
|
766 |
-
* PROJECTS MODULE
|
767 |
-
*/
|
768 |
-
|
769 |
-
#dslc-content .dslc-project {
|
770 |
-
|
771 |
-
}
|
772 |
-
|
773 |
-
#dslc-content .dslc-projects .dslc-project-thumb {
|
774 |
-
margin-bottom: 24px;
|
775 |
-
position: relative;
|
776 |
-
line-height: 0;
|
777 |
-
}
|
778 |
-
|
779 |
-
#dslc-content .dslc-projects .dslc-project-thumb-inner {
|
780 |
-
border: 0 solid transparent;
|
781 |
-
overflow: hidden;
|
782 |
-
}
|
783 |
-
|
784 |
-
#dslc-content .dslc-projects .dslc-project-thumb a {
|
785 |
-
display: inline-block;
|
786 |
-
max-width: 100%;
|
787 |
-
}
|
788 |
-
|
789 |
-
#dslc-content .dslc-projects .dslc-project-thumb img {
|
790 |
-
border-radius: 0;
|
791 |
-
-moz-box-shadow: none;
|
792 |
-
-webkit-box-shadow:none;
|
793 |
-
box-shadow: none;
|
794 |
-
display: block;
|
795 |
-
max-width: 100%;
|
796 |
-
height: auto;
|
797 |
-
}
|
798 |
-
|
799 |
-
#dslc-content .dslc-projects .dslc-project-thumb .dslc-project-main {
|
800 |
-
position: absolute;
|
801 |
-
top: 0;
|
802 |
-
left: 0;
|
803 |
-
bottom: 0;
|
804 |
-
right: 0;
|
805 |
-
}
|
806 |
-
|
807 |
-
#dslc-content .dslc-projects .dslc-project-thumb .dslc-project-main.dslc-project-main-visible {
|
808 |
-
opacity: 1 !important;
|
809 |
-
}
|
810 |
-
|
811 |
-
#dslc-content .dslc-projects .dslc-project-thumb .dslc-project-main .dslc-init-center {
|
812 |
-
position: relative;
|
813 |
-
}
|
814 |
-
|
815 |
-
#dslc-content .dslc-projects .dslc-project-thumb:hover .dslc-project-main {
|
816 |
-
|
817 |
-
}
|
818 |
-
|
819 |
-
body.dslca-enabled #dslc-content .dslc-projects .dslc-post:first-child .dslc-project-thumb .dslc-project-main {
|
820 |
-
opacity: 1;
|
821 |
-
}
|
822 |
-
|
823 |
-
#dslc-content .dslc-projects .dslc-project-main {
|
824 |
-
border: 0px solid transparent;
|
825 |
-
}
|
826 |
-
|
827 |
-
#dslc-content .dslc-projects .dslc-project-title {
|
828 |
-
margin-bottom: 10px;
|
829 |
-
}
|
830 |
-
|
831 |
-
#dslc-content .dslc-projects .dslc-project-title h2 {
|
832 |
-
color: #000;
|
833 |
-
font-family: "Open Sans";
|
834 |
-
font-weight: bold;
|
835 |
-
font-size: 12px;
|
836 |
-
line-height: 1;
|
837 |
-
margin: 0;
|
838 |
-
padding: 0;
|
839 |
-
}
|
840 |
-
|
841 |
-
#dslc-content .dslc-projects .dslc-project-title h2 a {
|
842 |
-
display: block;
|
843 |
-
color: inherit;
|
844 |
-
text-decoration: none;
|
845 |
-
}
|
846 |
-
|
847 |
-
#dslc-content .dslc-projects .dslc-project-cats {
|
848 |
-
font-family: "Droid Serif";
|
849 |
-
font-size: 10px;
|
850 |
-
font-style: italic;
|
851 |
-
line-height: 1;
|
852 |
-
}
|
853 |
-
|
854 |
-
#dslc-content .dslc-project-excerpt {
|
855 |
-
margin-bottom: 22px;
|
856 |
-
font-size: 13px;
|
857 |
-
line-height: 22px;
|
858 |
-
border-top: 0px solid #000;
|
859 |
-
}
|
860 |
-
|
861 |
-
#dslc-content .dslc-project-read-more {
|
862 |
-
|
863 |
-
}
|
864 |
-
|
865 |
-
#dslc-content .dslc-project-read-more a {
|
866 |
-
display: inline-block;
|
867 |
-
line-height: 1;
|
868 |
-
text-decoration: none;
|
869 |
-
border: 0 solid transparent;
|
870 |
-
}
|
871 |
-
|
872 |
-
/**
|
873 |
-
* SEPARATOR MODULE
|
874 |
-
*/
|
875 |
-
|
876 |
-
.dslc-separator-wrapper {
|
877 |
-
padding-bottom: 1px;
|
878 |
-
}
|
879 |
-
|
880 |
-
.dslc-separator {
|
881 |
-
clear: both;
|
882 |
-
height: 1px;
|
883 |
-
padding-bottom: 25px;
|
884 |
-
margin-bottom: 25px;
|
885 |
-
width: 100%;
|
886 |
-
}
|
887 |
-
|
888 |
-
.dslc-module-DSLC_Separator {
|
889 |
-
|
890 |
-
}
|
891 |
-
|
892 |
-
.dslc-separator.dslc-separator-style-solid {
|
893 |
-
border-bottom: 1px solid #ededed;
|
894 |
-
}
|
895 |
-
|
896 |
-
.dslc-separator.dslc-separator-style-dashed {
|
897 |
-
border-bottom: 1px dashed #ededed;
|
898 |
-
}
|
899 |
-
|
900 |
-
.dslc-separator.dslc-separator-style-dotted {
|
901 |
-
border-bottom: 1px dotted #ededed;
|
902 |
-
}
|
903 |
-
|
904 |
-
/**
|
905 |
-
* STAFF MODULE
|
906 |
-
*/
|
907 |
-
|
908 |
-
#dslc-content .dslc-staff {
|
909 |
-
|
910 |
-
}
|
911 |
-
|
912 |
-
#dslc-content .dslc-staff-member {
|
913 |
-
text-align: center;
|
914 |
-
}
|
915 |
-
|
916 |
-
#dslc-content .dslc-staff-member-thumb {
|
917 |
-
position: relative;
|
918 |
-
line-height: 0;
|
919 |
-
}
|
920 |
-
|
921 |
-
#dslc-content .dslc-staff-member-thumb {
|
922 |
-
border: 0 solid transparent;
|
923 |
-
}
|
924 |
-
|
925 |
-
#dslc-content .dslc-staff-member-thumb a {
|
926 |
-
display: inline-block;
|
927 |
-
max-width: 100%;
|
928 |
-
}
|
929 |
-
|
930 |
-
#dslc-content .dslc-staff-member-thumb img {
|
931 |
-
border-radius: 0;
|
932 |
-
-moz-box-shadow: none;
|
933 |
-
-webkit-box-shadow:none;
|
934 |
-
box-shadow: none;
|
935 |
-
display: block;
|
936 |
-
max-width: 100%;
|
937 |
-
height: auto;
|
938 |
-
}
|
939 |
-
|
940 |
-
#dslc-content .dslc-staff-member-thumb .dslc-staff-member-main {
|
941 |
-
position: absolute;
|
942 |
-
top: 0;
|
943 |
-
left: 0;
|
944 |
-
bottom: 0;
|
945 |
-
right: 0;
|
946 |
-
}
|
947 |
-
|
948 |
-
#dslc-content .dslc-staff-member-thumb .dslc-staff-member-main.dslc-staff-member-main-visible {
|
949 |
-
opacity: 1 !important;
|
950 |
-
}
|
951 |
-
|
952 |
-
#dslc-content .dslc-staff-member-thumb .dslc-staff-member-main .dslc-init-center {
|
953 |
-
position: relative;
|
954 |
-
}
|
955 |
-
|
956 |
-
#dslc-content .dslc-staff-member-thumb:hover .dslc-staff-member-main {
|
957 |
-
|
958 |
-
}
|
959 |
-
|
960 |
-
body.dslca-enabled #dslc-content .dslc-post:first-child .dslc-staff-member-thumb .dslc-staff-member-main {
|
961 |
-
opacity: 1;
|
962 |
-
}
|
963 |
-
|
964 |
-
#dslc-content .dslc-staff-member-social {
|
965 |
-
background: #40bde6;
|
966 |
-
border: 0px solid transparent;
|
967 |
-
border-radius: 0 0 3px 3px;
|
968 |
-
padding: 12px 0;
|
969 |
-
margin-bottom: 25px;
|
970 |
-
}
|
971 |
-
|
972 |
-
#dslc-content .dslc-staff-member-social a {
|
973 |
-
color: #fff;
|
974 |
-
margin: 0 6px;
|
975 |
-
font-size: 13px;
|
976 |
-
text-decoration: none;
|
977 |
-
}
|
978 |
-
|
979 |
-
#dslc-content .dslc-staff-member-main {
|
980 |
-
border: 0px solid transparent;
|
981 |
-
}
|
982 |
-
|
983 |
-
#dslc-content .dslc-staff-member-title {
|
984 |
-
margin-bottom: 23px;
|
985 |
-
}
|
986 |
-
|
987 |
-
#dslc-content .dslc-staff-member-title h2 {
|
988 |
-
color: #323232;
|
989 |
-
font-size: 15px;
|
990 |
-
font-family: "Open Sans";
|
991 |
-
font-weight: 600;
|
992 |
-
line-height: 1;
|
993 |
-
margin: 0;
|
994 |
-
padding: 0;
|
995 |
-
}
|
996 |
-
|
997 |
-
#dslc-content .dslc-staff-member-title h2 a {
|
998 |
-
display: block;
|
999 |
-
text-decoration: none;
|
1000 |
-
color: inherit;
|
1001 |
-
}
|
1002 |
-
|
1003 |
-
#dslc-content .dslc-staff-member-position {
|
1004 |
-
border: 1px solid #e5e5e5;
|
1005 |
-
font-size: 12px;
|
1006 |
-
font-weight: 600;
|
1007 |
-
font-style: italic;
|
1008 |
-
line-height: 1;
|
1009 |
-
margin-bottom: 20px;
|
1010 |
-
}
|
1011 |
-
|
1012 |
-
#dslc-content .dslc-staff-member-excerpt {
|
1013 |
-
|
1014 |
-
}
|
1015 |
-
|
1016 |
-
/**
|
1017 |
-
* TABS MODULE
|
1018 |
-
*/
|
1019 |
-
|
1020 |
-
#dslc-content .dslc-tabs {
|
1021 |
-
|
1022 |
-
}
|
1023 |
-
|
1024 |
-
#dslc-content .dslc-tabs-nav {
|
1025 |
-
|
1026 |
-
}
|
1027 |
-
|
1028 |
-
|
1029 |
-
|
1030 |
-
|
1031 |
-
|
1032 |
-
|
1033 |
-
|
1034 |
-
|
1035 |
-
|
1036 |
-
|
1037 |
-
|
1038 |
-
|
1039 |
-
|
1040 |
-
|
1041 |
-
|
1042 |
-
|
1043 |
-
|
1044 |
-
|
1045 |
-
|
1046 |
-
|
1047 |
-
|
1048 |
-
|
1049 |
-
}
|
1050 |
-
|
1051 |
-
|
1052 |
-
|
1053 |
-
|
1054 |
-
|
1055 |
-
|
1056 |
-
|
1057 |
-
|
1058 |
-
|
1059 |
-
|
1060 |
-
|
1061 |
-
|
1062 |
-
|
1063 |
-
|
1064 |
-
|
1065 |
-
|
1066 |
-
|
1067 |
-
|
1068 |
-
|
1069 |
-
|
1070 |
-
|
1071 |
-
|
1072 |
-
|
1073 |
-
|
1074 |
-
|
1075 |
-
|
1076 |
-
|
1077 |
-
|
1078 |
-
|
1079 |
-
|
1080 |
-
|
1081 |
-
|
1082 |
-
|
1083 |
-
|
1084 |
-
|
1085 |
-
|
1086 |
-
|
1087 |
-
|
1088 |
-
|
1089 |
-
|
1090 |
-
|
1091 |
-
|
1092 |
-
|
1093 |
-
|
1094 |
-
|
1095 |
-
|
1096 |
-
|
1097 |
-
|
1098 |
-
|
1099 |
-
|
1100 |
-
|
1101 |
-
|
1102 |
-
|
1103 |
-
|
1104 |
-
|
1105 |
-
|
1106 |
-
|
1107 |
-
|
1108 |
-
|
1109 |
-
|
1110 |
-
|
1111 |
-
|
1112 |
-
|
1113 |
-
|
1114 |
-
|
1115 |
-
|
1116 |
-
|
1117 |
-
|
1118 |
-
display: block
|
1119 |
-
|
1120 |
-
margin-
|
1121 |
-
|
1122 |
-
|
1123 |
-
|
1124 |
-
|
1125 |
-
*/
|
1126 |
-
|
1127 |
-
|
1128 |
-
|
1129 |
-
}
|
1130 |
-
|
1131 |
-
|
1132 |
-
|
1133 |
-
|
1134 |
-
|
1135 |
-
|
1136 |
-
|
1137 |
-
|
1138 |
-
|
1139 |
-
|
1140 |
-
|
1141 |
-
|
1142 |
-
|
1143 |
-
|
1144 |
-
|
1145 |
-
|
1146 |
-
|
1147 |
-
|
1148 |
-
|
1149 |
-
|
1150 |
-
|
1151 |
-
|
1152 |
-
|
1153 |
-
|
1154 |
-
|
1155 |
-
|
1156 |
-
|
1157 |
-
|
1158 |
-
|
1159 |
-
|
1160 |
-
|
1161 |
-
|
1162 |
-
|
1163 |
-
|
1164 |
-
|
1165 |
-
|
1166 |
-
|
1167 |
-
|
1168 |
-
|
1169 |
-
|
1170 |
-
|
1171 |
-
|
1172 |
-
|
1173 |
-
|
1174 |
-
|
1175 |
-
|
1176 |
-
|
1177 |
-
|
1178 |
-
|
1179 |
-
|
1180 |
-
|
1181 |
-
|
1182 |
-
|
1183 |
-
|
1184 |
-
|
1185 |
-
|
1186 |
-
|
1187 |
-
|
1188 |
-
|
1189 |
-
|
1190 |
-
|
1191 |
-
|
1192 |
-
|
1193 |
-
|
1194 |
-
|
1195 |
-
|
1196 |
-
|
1197 |
-
|
1198 |
-
|
1199 |
-
|
1200 |
-
|
1201 |
-
|
1202 |
-
|
1203 |
-
|
1204 |
-
|
1205 |
-
|
1206 |
-
|
1207 |
-
|
1208 |
-
|
1209 |
-
|
1210 |
-
|
1211 |
-
|
1212 |
-
|
1213 |
-
|
1214 |
-
|
1215 |
-
|
1216 |
-
|
1217 |
-
|
1218 |
-
|
1219 |
-
|
1220 |
-
|
1221 |
-
|
1222 |
-
|
1223 |
-
|
1224 |
-
|
1225 |
-
|
1226 |
-
|
1227 |
-
|
1228 |
-
|
1229 |
-
|
1230 |
-
|
1231 |
-
|
1232 |
-
|
1233 |
-
|
1234 |
-
|
1235 |
-
|
1236 |
-
|
1237 |
-
|
1238 |
-
|
1239 |
-
|
1240 |
-
|
1241 |
-
|
1242 |
-
|
1243 |
-
|
1244 |
-
|
1245 |
-
|
1246 |
-
|
1247 |
-
|
1248 |
-
|
1249 |
-
|
1250 |
-
|
1251 |
-
|
1252 |
-
|
1253 |
-
|
1254 |
-
|
1255 |
-
|
1256 |
-
#dslc-content .dslc-
|
1257 |
-
|
1258 |
-
}
|
1259 |
-
|
1260 |
-
|
1261 |
-
|
1262 |
-
|
1263 |
-
|
1264 |
-
|
1265 |
-
|
1266 |
-
|
1267 |
-
|
1268 |
-
|
1269 |
-
|
1270 |
-
|
1271 |
-
|
1272 |
-
|
1273 |
-
|
1274 |
-
|
1275 |
-
|
1276 |
-
|
1277 |
-
|
1278 |
-
|
1279 |
-
|
1280 |
-
|
1281 |
-
|
1282 |
-
|
1283 |
-
|
1284 |
-
|
1285 |
-
|
1286 |
-
|
1287 |
-
|
1288 |
-
|
1289 |
-
|
1290 |
-
|
1291 |
-
#dslc-content .dslc-product-thumb
|
1292 |
-
|
1293 |
-
|
1294 |
-
|
1295 |
-
|
1296 |
-
|
1297 |
-
|
1298 |
-
|
1299 |
-
|
1300 |
-
|
1301 |
-
|
1302 |
-
|
1303 |
-
|
1304 |
-
|
1305 |
-
|
1306 |
-
|
1307 |
-
|
1308 |
-
|
1309 |
-
|
1310 |
-
|
1311 |
-
|
1312 |
-
|
1313 |
-
|
1314 |
-
|
1315 |
-
|
1316 |
-
|
1317 |
-
|
1318 |
-
|
1319 |
-
|
1320 |
-
|
1321 |
-
|
1322 |
-
|
1323 |
-
|
1324 |
-
|
1325 |
-
|
1326 |
-
|
1327 |
-
|
1328 |
-
|
1329 |
-
|
1330 |
-
|
1331 |
-
|
1332 |
-
|
1333 |
-
|
1334 |
-
|
1335 |
-
|
1336 |
-
|
1337 |
-
|
1338 |
-
|
1339 |
-
|
1340 |
-
|
1341 |
-
|
1342 |
-
|
1343 |
-
|
1344 |
-
|
1345 |
-
|
1346 |
-
|
1347 |
-
|
1348 |
-
|
1349 |
-
|
1350 |
-
|
1351 |
-
|
1352 |
-
|
1353 |
-
|
1354 |
-
|
1355 |
-
|
1356 |
-
|
1357 |
-
|
1358 |
-
|
1359 |
-
|
1360 |
-
|
1361 |
-
|
1362 |
-
|
1363 |
-
|
1364 |
-
|
1365 |
-
|
1366 |
-
|
1367 |
-
|
1368 |
-
|
1369 |
-
|
1370 |
-
|
1371 |
-
|
1372 |
-
|
1373 |
-
|
1374 |
-
|
1375 |
-
|
1376 |
-
|
1377 |
-
|
1378 |
-
|
1379 |
-
|
1380 |
-
|
1381 |
-
|
1382 |
-
|
1383 |
-
|
1384 |
-
|
1385 |
-
|
1386 |
-
|
1387 |
-
|
1388 |
-
|
1389 |
-
|
1390 |
-
|
1391 |
-
|
1392 |
-
|
1393 |
-
|
1394 |
-
|
1395 |
-
|
1396 |
-
|
1397 |
-
|
1398 |
-
|
1399 |
-
|
1400 |
-
|
1401 |
-
|
1402 |
-
|
1403 |
-
|
1404 |
-
|
1405 |
-
|
1406 |
-
|
1407 |
-
|
1408 |
-
|
1409 |
-
|
1410 |
-
|
1411 |
-
|
1412 |
-
|
1413 |
-
|
1414 |
-
|
1415 |
-
|
1416 |
-
|
1417 |
-
|
1418 |
-
|
1419 |
-
|
1420 |
-
|
1421 |
-
|
1422 |
-
|
1423 |
-
|
1424 |
-
|
1425 |
-
|
1426 |
-
|
1427 |
-
|
1428 |
-
|
1429 |
-
|
1430 |
-
|
1431 |
-
|
1432 |
-
|
1433 |
-
|
1434 |
-
|
1435 |
-
|
1436 |
-
|
1437 |
-
|
1438 |
-
|
1439 |
-
|
1440 |
-
|
1441 |
-
|
1442 |
-
|
1443 |
-
|
1444 |
-
|
1445 |
-
|
1446 |
-
|
1447 |
-
|
1448 |
-
|
1449 |
-
|
1450 |
-
|
1451 |
-
|
1452 |
-
|
1453 |
-
|
1454 |
-
|
1455 |
-
|
1456 |
-
|
1457 |
-
|
1458 |
-
|
1459 |
-
|
1460 |
-
|
1461 |
-
|
1462 |
-
|
1463 |
-
#dslc-content .dslc-tp-
|
1464 |
-
|
1465 |
-
|
1466 |
-
|
1467 |
-
|
1468 |
-
|
1469 |
-
|
1470 |
-
|
1471 |
-
|
1472 |
-
|
1473 |
-
|
1474 |
-
|
1475 |
-
|
1476 |
-
|
1477 |
-
|
1478 |
-
|
1479 |
-
|
1480 |
-
|
1481 |
-
|
1482 |
-
|
1483 |
-
|
1484 |
-
margin-
|
1485 |
-
|
1486 |
-
|
1487 |
-
|
1488 |
-
|
1489 |
-
|
1490 |
-
|
1491 |
-
|
1492 |
-
|
1493 |
-
|
1494 |
-
|
1495 |
-
|
1496 |
-
|
1497 |
-
|
1498 |
-
|
1499 |
-
|
1500 |
-
|
1501 |
-
|
1502 |
-
|
1503 |
-
|
1504 |
-
|
1505 |
-
|
1506 |
-
|
1507 |
-
|
1508 |
-
|
1509 |
-
|
1510 |
-
|
1511 |
-
|
1512 |
-
|
1513 |
-
|
1514 |
-
|
1515 |
-
|
1516 |
-
|
1517 |
-
|
1518 |
-
|
1519 |
-
|
1520 |
-
|
1521 |
-
|
1522 |
-
|
1523 |
-
|
1524 |
-
|
1525 |
-
|
1526 |
-
|
1527 |
-
|
1528 |
-
|
1529 |
-
|
1530 |
-
|
1531 |
-
|
1532 |
-
|
1533 |
-
|
1534 |
-
|
1535 |
-
|
1536 |
-
|
1537 |
-
|
1538 |
-
|
1539 |
-
|
1540 |
-
|
1541 |
-
|
1542 |
-
|
1543 |
-
|
1544 |
-
|
1545 |
-
|
1546 |
-
|
1547 |
-
|
1548 |
-
|
1549 |
-
|
1550 |
-
|
1551 |
-
|
1552 |
-
|
1553 |
-
|
1554 |
-
|
1555 |
-
|
1556 |
-
|
1557 |
-
|
1558 |
-
|
1559 |
-
|
1560 |
-
|
1561 |
-
|
1562 |
-
|
1563 |
-
|
1564 |
-
|
1565 |
-
|
1566 |
-
|
1567 |
-
|
1568 |
-
|
1569 |
-
|
1570 |
-
|
1571 |
-
|
1572 |
-
|
1573 |
-
|
1574 |
-
|
1575 |
-
|
1576 |
-
|
1577 |
-
|
1578 |
-
|
1579 |
-
|
1580 |
-
|
1581 |
-
|
1582 |
-
|
1583 |
-
|
1584 |
-
|
1585 |
-
|
1586 |
-
|
1587 |
-
|
1588 |
-
|
1589 |
-
|
1590 |
-
|
1591 |
-
|
1592 |
-
|
1593 |
-
|
1594 |
-
|
1595 |
-
|
1596 |
-
|
1597 |
-
|
1598 |
-
|
1599 |
-
|
1600 |
-
|
1601 |
-
|
1602 |
-
|
1603 |
-
|
1604 |
-
|
1605 |
-
|
1606 |
-
|
1607 |
-
|
1608 |
-
|
1609 |
-
|
1610 |
-
|
1611 |
-
|
1612 |
-
|
1613 |
-
|
1614 |
-
|
1615 |
-
|
1616 |
-
|
1617 |
-
|
1618 |
-
|
1619 |
-
|
1620 |
-
|
1621 |
-
|
1622 |
-
|
1623 |
-
|
1624 |
-
|
1625 |
-
|
1626 |
-
|
1627 |
-
|
1628 |
-
|
1629 |
-
|
1630 |
-
|
1631 |
-
|
1632 |
-
|
1633 |
-
|
1634 |
-
|
1635 |
-
|
1636 |
-
|
1637 |
-
|
1638 |
-
|
1639 |
-
|
1640 |
-
|
1641 |
-
|
1642 |
-
|
1643 |
-
|
1644 |
-
|
1645 |
-
|
1646 |
-
|
1647 |
-
|
1648 |
-
|
1649 |
-
|
1650 |
-
|
1651 |
-
|
1652 |
-
|
1653 |
-
|
1654 |
-
|
1655 |
-
|
1656 |
-
|
1657 |
-
|
1658 |
-
|
1659 |
-
|
1660 |
-
|
1661 |
-
|
1662 |
-
|
1663 |
-
|
1664 |
-
|
1665 |
-
|
1666 |
-
|
1667 |
-
|
1668 |
-
|
1669 |
-
|
1670 |
-
|
1671 |
-
|
1672 |
-
|
1673 |
-
|
1674 |
-
|
1675 |
-
|
1676 |
-
|
1677 |
-
|
1678 |
-
|
1679 |
-
|
1680 |
-
|
1681 |
-
|
1682 |
-
|
1683 |
-
|
1684 |
-
}
|
1685 |
-
|
1686 |
-
|
1687 |
-
|
1688 |
-
|
1689 |
-
|
1690 |
-
|
1691 |
-
|
1692 |
-
|
1693 |
-
|
1694 |
-
|
1695 |
-
|
1696 |
-
|
1697 |
-
|
1698 |
-
|
1699 |
-
|
1700 |
-
|
1701 |
-
|
1702 |
-
|
1703 |
-
|
1704 |
-
|
1705 |
-
|
1706 |
-
|
1707 |
-
|
1708 |
-
|
1709 |
-
|
1710 |
-
|
1711 |
-
|
1712 |
-
|
1713 |
-
|
1714 |
-
|
1715 |
-
|
1716 |
-
|
1717 |
-
|
1718 |
-
|
1719 |
-
|
1720 |
-
|
1721 |
-
|
1722 |
-
|
1723 |
-
|
1724 |
-
|
1725 |
-
|
1726 |
-
|
1727 |
-
|
1728 |
-
|
1729 |
-
|
1730 |
-
|
1731 |
-
|
1732 |
-
|
1733 |
-
|
1734 |
-
|
1735 |
-
|
1736 |
-
|
1737 |
-
|
1738 |
-
|
1739 |
-
|
1740 |
-
|
1741 |
-
|
1742 |
-
|
1743 |
-
|
1744 |
-
|
1745 |
-
|
1746 |
-
|
1747 |
-
|
1748 |
-
|
1749 |
-
|
1750 |
-
|
1751 |
-
|
1752 |
-
|
1753 |
-
|
1754 |
-
|
1755 |
-
|
1756 |
-
|
1757 |
-
|
1758 |
-
|
1759 |
-
|
1760 |
-
|
1761 |
-
|
1762 |
-
|
1763 |
-
|
1764 |
-
|
1765 |
-
|
1766 |
-
|
1767 |
-
|
1768 |
-
|
1769 |
-
|
1770 |
-
|
1771 |
-
|
1772 |
-
|
1773 |
-
|
1774 |
-
|
1775 |
-
|
1776 |
-
|
1777 |
-
|
1778 |
-
|
1779 |
-
|
1780 |
-
|
1781 |
-
|
1782 |
-
|
1783 |
-
|
1784 |
-
|
1785 |
-
|
1786 |
-
|
1787 |
-
|
1788 |
-
|
1789 |
-
|
1790 |
-
|
1791 |
-
|
1792 |
-
|
1793 |
-
|
1794 |
-
|
1795 |
-
|
1796 |
-
|
1797 |
-
|
1798 |
-
|
1799 |
-
|
1800 |
-
|
1801 |
-
|
1802 |
-
|
1803 |
-
|
1804 |
-
|
1805 |
-
|
1806 |
-
|
1807 |
-
|
1808 |
-
|
1809 |
-
|
1810 |
-
|
1811 |
-
|
1812 |
-
|
1813 |
-
|
1814 |
-
|
1815 |
-
|
1816 |
-
|
1817 |
-
|
1818 |
-
|
1819 |
-
|
1820 |
-
|
1821 |
-
|
1822 |
-
|
1823 |
-
|
1824 |
-
|
1825 |
-
|
1826 |
-
|
1827 |
-
|
1828 |
-
|
1829 |
-
|
1830 |
-
|
1831 |
-
|
1832 |
-
|
1833 |
-
|
1834 |
-
|
1835 |
-
|
1836 |
-
|
1837 |
-
|
1838 |
-
|
1839 |
-
|
1840 |
-
|
1841 |
-
|
1842 |
-
|
1843 |
-
|
1844 |
-
|
1845 |
-
|
1846 |
-
|
1847 |
-
|
1848 |
-
|
1849 |
-
|
1850 |
-
|
1851 |
-
|
1852 |
-
|
1853 |
-
|
1854 |
-
|
1855 |
-
|
1856 |
-
|
1857 |
-
|
1858 |
-
|
1859 |
-
|
1860 |
-
|
1861 |
-
|
1862 |
-
|
1863 |
-
|
1864 |
-
|
1865 |
-
|
1866 |
-
|
1867 |
-
|
1868 |
-
|
1869 |
-
|
1870 |
-
|
1871 |
-
|
1872 |
-
|
1873 |
-
|
1874 |
-
|
1875 |
-
|
1876 |
-
|
1877 |
-
|
1878 |
-
|
1879 |
-
|
1880 |
-
|
1881 |
-
|
1882 |
-
|
1883 |
-
|
1884 |
-
|
1885 |
-
|
1886 |
-
|
1887 |
-
|
1888 |
-
|
1889 |
-
|
1890 |
-
|
1891 |
-
|
1892 |
-
|
1893 |
-
|
1894 |
-
|
1895 |
-
|
1896 |
-
|
1897 |
-
|
1898 |
-
|
1899 |
-
|
1900 |
-
|
1901 |
-
|
1902 |
-
|
1903 |
-
|
1904 |
-
|
1905 |
-
|
1906 |
-
|
1907 |
-
|
1908 |
-
|
1909 |
-
|
1910 |
-
|
1911 |
-
|
1912 |
-
|
1913 |
-
|
1914 |
-
|
1915 |
-
|
1916 |
-
|
1917 |
-
|
1918 |
-
|
1919 |
-
|
1920 |
-
|
1921 |
-
|
1922 |
-
|
1923 |
-
|
1924 |
-
|
1925 |
-
|
1926 |
-
|
1927 |
-
|
1928 |
-
|
1929 |
-
|
1930 |
-
|
1931 |
-
|
1932 |
-
|
1933 |
-
|
1934 |
-
|
1935 |
-
|
1936 |
-
|
1937 |
-
|
1938 |
-
|
1939 |
-
|
1940 |
-
|
1941 |
-
|
1942 |
-
|
1943 |
-
|
1944 |
-
|
1945 |
-
|
1946 |
-
|
1947 |
-
|
1948 |
-
|
1949 |
-
.dslca-
|
1950 |
-
|
1951 |
-
|
1952 |
-
|
1953 |
-
|
1954 |
-
|
1955 |
-
|
1956 |
-
|
1957 |
-
|
1958 |
-
|
1959 |
-
|
1960 |
-
|
1961 |
-
|
1962 |
-
|
1963 |
-
|
1964 |
-
|
1965 |
-
|
1966 |
-
|
1967 |
-
|
1968 |
-
.
|
1969 |
-
|
1970 |
-
|
1971 |
-
|
1972 |
-
|
1973 |
-
|
1974 |
-
|
1975 |
-
|
1976 |
-
|
1977 |
-
|
1978 |
-
|
1979 |
-
|
1980 |
-
|
1981 |
-
|
1982 |
-
|
1983 |
-
|
1984 |
-
|
1985 |
-
|
1986 |
-
|
1987 |
-
|
1988 |
-
|
1989 |
-
|
1990 |
-
|
1991 |
-
|
1992 |
-
|
1993 |
-
|
1994 |
-
|
1995 |
-
|
1996 |
-
|
1997 |
-
|
1998 |
-
|
1999 |
-
|
2000 |
-
|
2001 |
-
|
2002 |
-
|
2003 |
-
|
2004 |
-
|
2005 |
-
|
2006 |
-
|
2007 |
-
|
2008 |
-
|
2009 |
-
|
2010 |
-
|
2011 |
-
|
2012 |
-
|
2013 |
-
|
2014 |
-
|
2015 |
-
|
2016 |
-
/* Top level
|
2017 |
-
.dslc-navigation .menu > li
|
2018 |
-
|
2019 |
-
|
2020 |
-
|
2021 |
-
|
2022 |
-
|
2023 |
-
|
2024 |
-
|
2025 |
-
|
2026 |
-
|
2027 |
-
|
2028 |
-
|
2029 |
-
|
2030 |
-
|
2031 |
-
|
2032 |
-
|
2033 |
-
|
2034 |
-
|
2035 |
-
|
2036 |
-
margin-left:
|
2037 |
-
|
2038 |
-
|
2039 |
-
|
2040 |
-
|
2041 |
-
|
2042 |
-
|
2043 |
-
|
2044 |
-
|
2045 |
-
|
2046 |
-
|
2047 |
-
|
2048 |
-
|
2049 |
-
|
2050 |
-
|
2051 |
-
|
2052 |
-
|
2053 |
-
|
2054 |
-
|
2055 |
-
|
2056 |
-
|
2057 |
-
|
2058 |
-
/*
|
2059 |
-
.dslc-navigation
|
2060 |
-
|
2061 |
-
|
2062 |
-
|
2063 |
-
|
2064 |
-
|
2065 |
-
|
2066 |
-
|
2067 |
-
|
2068 |
-
}
|
2069 |
-
|
2070 |
-
/*
|
2071 |
-
.dslc-navigation-
|
2072 |
-
|
2073 |
-
|
2074 |
-
}
|
2075 |
-
|
2076 |
-
/*
|
2077 |
-
.dslc-navigation
|
2078 |
-
|
2079 |
-
|
2080 |
-
}
|
2081 |
-
|
2082 |
-
|
2083 |
-
|
2084 |
-
|
2085 |
-
|
2086 |
-
|
2087 |
-
|
2088 |
-
|
2089 |
-
|
2090 |
-
|
2091 |
-
|
2092 |
-
|
2093 |
-
|
2094 |
-
|
2095 |
-
|
2096 |
-
|
2097 |
-
|
2098 |
-
|
2099 |
-
|
2100 |
-
|
2101 |
-
|
2102 |
-
|
2103 |
-
|
2104 |
-
|
2105 |
-
|
2106 |
-
|
2107 |
-
|
2108 |
-
|
2109 |
-
|
2110 |
-
|
2111 |
-
|
2112 |
-
|
2113 |
-
|
2114 |
-
|
2115 |
-
|
2116 |
-
|
2117 |
-
|
2118 |
-
|
2119 |
-
|
2120 |
-
|
2121 |
-
|
2122 |
-
|
2123 |
-
|
2124 |
-
|
2125 |
-
|
2126 |
-
|
2127 |
-
|
2128 |
-
|
2129 |
-
|
2130 |
-
|
2131 |
-
|
2132 |
-
|
2133 |
-
|
2134 |
-
|
2135 |
-
|
2136 |
-
|
2137 |
-
|
2138 |
-
|
2139 |
-
|
2140 |
-
|
2141 |
-
|
2142 |
-
|
2143 |
-
|
2144 |
-
|
2145 |
-
|
2146 |
-
|
2147 |
-
|
2148 |
-
|
2149 |
-
|
2150 |
-
|
2151 |
-
|
2152 |
-
|
2153 |
-
|
2154 |
-
|
2155 |
-
|
2156 |
-
|
2157 |
-
|
2158 |
-
|
2159 |
-
|
2160 |
-
|
2161 |
-
|
2162 |
-
|
2163 |
-
|
2164 |
-
|
2165 |
-
|
2166 |
-
|
2167 |
-
|
2168 |
-
|
2169 |
-
|
2170 |
-
|
2171 |
-
|
2172 |
-
|
2173 |
-
|
2174 |
-
|
2175 |
-
|
2176 |
-
|
2177 |
-
|
2178 |
-
|
2179 |
-
|
2180 |
-
|
2181 |
-
|
2182 |
-
|
2183 |
-
|
2184 |
-
|
2185 |
-
|
2186 |
-
|
2187 |
-
}
|
2188 |
-
|
2189 |
-
|
2190 |
-
|
2191 |
-
display:
|
2192 |
-
}
|
2193 |
-
|
2194 |
-
|
2195 |
-
|
2196 |
-
|
2197 |
-
|
2198 |
-
|
2199 |
-
|
2200 |
-
|
2201 |
-
|
2202 |
-
|
2203 |
-
|
2204 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2205 |
}
|
1 |
+
/**
|
2 |
+
* CPT MODULE
|
3 |
+
*/
|
4 |
+
|
5 |
+
#dslc-content .dslc-cpt-post {
|
6 |
+
|
7 |
+
}
|
8 |
+
|
9 |
+
#dslc-content .dslc-cpt-post-main {
|
10 |
+
border: 0px solid transparent;
|
11 |
+
}
|
12 |
+
|
13 |
+
#dslc-content .dslc-cpt-post-thumb {
|
14 |
+
margin-bottom: 20px;
|
15 |
+
overflow: hidden;
|
16 |
+
position: relative;
|
17 |
+
line-height: 0;
|
18 |
+
}
|
19 |
+
|
20 |
+
#dslc-content .dslc-cpt-post-thumb-inner {
|
21 |
+
border: 0 solid transparent;
|
22 |
+
overflow: hidden;
|
23 |
+
}
|
24 |
+
|
25 |
+
#dslc-content .dslc-cpt-post-thumb a {
|
26 |
+
display: inline-block;
|
27 |
+
max-width: 100%;
|
28 |
+
}
|
29 |
+
|
30 |
+
#dslc-content .dslc-cpt-post-thumb img {
|
31 |
+
border-radius: 0;
|
32 |
+
-moz-box-shadow: none;
|
33 |
+
-webkit-box-shadow:none;
|
34 |
+
box-shadow: none;
|
35 |
+
display: block;
|
36 |
+
max-width: 100%;
|
37 |
+
height: auto;
|
38 |
+
}
|
39 |
+
|
40 |
+
#dslc-content .dslc-cpt-post-thumb .dslc-cpt-post-main {
|
41 |
+
position: absolute;
|
42 |
+
top: 0;
|
43 |
+
left: 0;
|
44 |
+
bottom: 0;
|
45 |
+
right: 0;
|
46 |
+
}
|
47 |
+
|
48 |
+
#dslc-content .dslc-cpt-post-thumb .dslc-cpt-post-main.dslc-cpt-post-main-visible {
|
49 |
+
opacity: 1 !important;
|
50 |
+
}
|
51 |
+
|
52 |
+
#dslc-content .dslc-cpt-post-thumb .dslc-cpt-post-main .dslc-init-center {
|
53 |
+
position: relative;
|
54 |
+
}
|
55 |
+
|
56 |
+
#dslc-content .dslc-cpt-post-thumb:hover .dslc-cpt-post-main {
|
57 |
+
|
58 |
+
}
|
59 |
+
|
60 |
+
body.dslca-enabled #dslc-content .dslc-post:first-child .dslc-cpt-post-thumb .dslc-cpt-post-main {
|
61 |
+
opacity: 1;
|
62 |
+
}
|
63 |
+
|
64 |
+
#dslc-content .dslc-cpt-post-meta {
|
65 |
+
border: 1px solid #e5e5e5;
|
66 |
+
border-left: 0;
|
67 |
+
border-right: 0;
|
68 |
+
margin-bottom: 20px;
|
69 |
+
overflow: hidden;
|
70 |
+
padding: 13px 0;
|
71 |
+
font-size: 11px;
|
72 |
+
line-height: 1;
|
73 |
+
}
|
74 |
+
|
75 |
+
#dslc-content .dslc-cpt-post-meta-author {
|
76 |
+
float: left;
|
77 |
+
}
|
78 |
+
|
79 |
+
#dslc-content .dslc-cpt-post-meta-author a {
|
80 |
+
text-decoration: none;
|
81 |
+
}
|
82 |
+
|
83 |
+
#dslc-content .dslc-cpt-post-meta-date {
|
84 |
+
float: right;
|
85 |
+
}
|
86 |
+
|
87 |
+
#dslc-content .dslc-cpt-post-title {
|
88 |
+
margin-bottom: 13px;
|
89 |
+
}
|
90 |
+
|
91 |
+
#dslc-content .dslc-cpt-post-title h2 {
|
92 |
+
font-family: "Open Sans";
|
93 |
+
font-weight: 600;
|
94 |
+
font-size: 15px;
|
95 |
+
line-height: 26px;
|
96 |
+
margin: 0;
|
97 |
+
padding: 0;
|
98 |
+
}
|
99 |
+
|
100 |
+
#dslc-content .dslc-cpt-post-title h2 a {
|
101 |
+
display: block;
|
102 |
+
color: inherit;
|
103 |
+
text-decoration: none;
|
104 |
+
}
|
105 |
+
|
106 |
+
#dslc-content .dslc-cpt-post-excerpt {
|
107 |
+
margin-bottom: 22px;
|
108 |
+
font-size: 13px;
|
109 |
+
line-height: 22px;
|
110 |
+
}
|
111 |
+
|
112 |
+
#dslc-content .dslc-cpt-post-read-more {
|
113 |
+
|
114 |
+
}
|
115 |
+
|
116 |
+
#dslc-content .dslc-cpt-post-read-more a {
|
117 |
+
display: inline-block;
|
118 |
+
line-height: 1;
|
119 |
+
text-decoration: none;
|
120 |
+
border: 0 solid transparent;
|
121 |
+
}
|
122 |
+
|
123 |
+
/**
|
124 |
+
* Horizontal Orientation
|
125 |
+
*/
|
126 |
+
|
127 |
+
#dslc-content .dslc-cpt-posts-orientation-horizontal {
|
128 |
+
|
129 |
+
}
|
130 |
+
|
131 |
+
#dslc-content .dslc-cpt-posts-orientation-horizontal .dslc-cpt-post-thumb {
|
132 |
+
float: left;
|
133 |
+
margin-right: 20px;
|
134 |
+
width: 200px;
|
135 |
+
}
|
136 |
+
|
137 |
+
#dslc-content .dslc-cpt-posts-orientation-horizontal .dslc-cpt-post-main {
|
138 |
+
overflow: hidden;
|
139 |
+
}
|
140 |
+
|
141 |
+
/**
|
142 |
+
* BLOG MODULE
|
143 |
+
*/
|
144 |
+
|
145 |
+
.dslc-post-thumb {
|
146 |
+
overflow: hidden;
|
147 |
+
}
|
148 |
+
|
149 |
+
#dslc-content .dslc-blog-post {
|
150 |
+
|
151 |
+
}
|
152 |
+
|
153 |
+
#dslc-content .dslc-blog-post-main {
|
154 |
+
border: 0px solid transparent;
|
155 |
+
}
|
156 |
+
|
157 |
+
#dslc-content .dslc-blog-post-thumb {
|
158 |
+
margin-bottom: 20px;
|
159 |
+
overflow: hidden;
|
160 |
+
position: relative;
|
161 |
+
line-height: 0;
|
162 |
+
}
|
163 |
+
|
164 |
+
#dslc-content .dslc-blog-post-thumb-inner {
|
165 |
+
border: 0 solid transparent;
|
166 |
+
overflow: hidden;
|
167 |
+
}
|
168 |
+
|
169 |
+
#dslc-content .dslc-blog-post-thumb a {
|
170 |
+
display: inline-block;
|
171 |
+
max-width: 100%;
|
172 |
+
}
|
173 |
+
|
174 |
+
#dslc-content .dslc-blog-post-thumb img {
|
175 |
+
border-radius: 0;
|
176 |
+
-moz-box-shadow: none;
|
177 |
+
-webkit-box-shadow:none;
|
178 |
+
box-shadow: none;
|
179 |
+
display: block;
|
180 |
+
max-width: 100%;
|
181 |
+
height: auto;
|
182 |
+
}
|
183 |
+
|
184 |
+
#dslc-content .dslc-blog-post-thumb .dslc-blog-post-main {
|
185 |
+
position: absolute;
|
186 |
+
top: 0;
|
187 |
+
left: 0;
|
188 |
+
bottom: 0;
|
189 |
+
right: 0;
|
190 |
+
}
|
191 |
+
|
192 |
+
#dslc-content .dslc-blog-post-thumb .dslc-blog-post-main.dslc-blog-post-main-visible {
|
193 |
+
opacity: 1 !important;
|
194 |
+
}
|
195 |
+
|
196 |
+
#dslc-content .dslc-blog-post-thumb .dslc-blog-post-main .dslc-init-center {
|
197 |
+
position: relative;
|
198 |
+
}
|
199 |
+
|
200 |
+
#dslc-content .dslc-blog-post-thumb:hover .dslc-blog-post-main {
|
201 |
+
|
202 |
+
}
|
203 |
+
|
204 |
+
body.dslca-enabled #dslc-content .dslc-post:first-child .dslc-blog-post-thumb .dslc-blog-post-main {
|
205 |
+
opacity: 1;
|
206 |
+
}
|
207 |
+
|
208 |
+
#dslc-content .dslc-blog-post-meta {
|
209 |
+
border: 1px solid #e5e5e5;
|
210 |
+
border-left: 0;
|
211 |
+
border-right: 0;
|
212 |
+
margin-bottom: 20px;
|
213 |
+
overflow: hidden;
|
214 |
+
padding: 13px 0;
|
215 |
+
font-size: 11px;
|
216 |
+
line-height: 1;
|
217 |
+
}
|
218 |
+
|
219 |
+
#dslc-content .dslc-blog-post-meta-author {
|
220 |
+
float: left;
|
221 |
+
}
|
222 |
+
|
223 |
+
#dslc-content .dslc-blog-post-meta-avatar {
|
224 |
+
margin-right: 10px;
|
225 |
+
width: 30px;
|
226 |
+
display: inline-block;
|
227 |
+
}
|
228 |
+
|
229 |
+
#dslc-content .dslc-blog-post-meta-avatar img {
|
230 |
+
vertical-align: middle;
|
231 |
+
width: 100%;
|
232 |
+
height: auto;
|
233 |
+
border-radius: 50%;
|
234 |
+
}
|
235 |
+
|
236 |
+
#dslc-content .dslc-blog-post-meta-author a {
|
237 |
+
text-decoration: none;
|
238 |
+
}
|
239 |
+
|
240 |
+
#dslc-content .dslc-blog-post-meta-date {
|
241 |
+
float: right;
|
242 |
+
}
|
243 |
+
|
244 |
+
#dslc-content .dslc-blog-post-title {
|
245 |
+
margin-bottom: 13px;
|
246 |
+
}
|
247 |
+
|
248 |
+
#dslc-content .dslc-blog-post-title h2 {
|
249 |
+
font-family: "Open Sans";
|
250 |
+
font-weight: 600;
|
251 |
+
font-size: 15px;
|
252 |
+
line-height: 26px;
|
253 |
+
margin: 0;
|
254 |
+
padding: 0;
|
255 |
+
}
|
256 |
+
|
257 |
+
#dslc-content .dslc-blog-post-title h2 a {
|
258 |
+
display: block;
|
259 |
+
color: inherit;
|
260 |
+
text-decoration: none;
|
261 |
+
}
|
262 |
+
|
263 |
+
#dslc-content .dslc-blog-post-excerpt {
|
264 |
+
margin-bottom: 22px;
|
265 |
+
font-size: 13px;
|
266 |
+
line-height: 22px;
|
267 |
+
}
|
268 |
+
|
269 |
+
#dslc-content .dslc-blog-post-read-more {
|
270 |
+
|
271 |
+
}
|
272 |
+
|
273 |
+
#dslc-content .dslc-blog-post-read-more a {
|
274 |
+
display: inline-block;
|
275 |
+
line-height: 1;
|
276 |
+
text-decoration: none;
|
277 |
+
border: 0 solid transparent;
|
278 |
+
}
|
279 |
+
|
280 |
+
/**
|
281 |
+
* Horizontal Orientation
|
282 |
+
*/
|
283 |
+
|
284 |
+
#dslc-content .dslc-posts-orientation-horizontal {
|
285 |
+
|
286 |
+
}
|
287 |
+
|
288 |
+
#dslc-content .dslc-posts-orientation-horizontal .dslc-post-thumb {
|
289 |
+
float: left;
|
290 |
+
margin-right: 20px;
|
291 |
+
width: 200px;
|
292 |
+
}
|
293 |
+
|
294 |
+
#dslc-content .dslc-posts-orientation-horizontal .dslc-post-main {
|
295 |
+
overflow: hidden;
|
296 |
+
}
|
297 |
+
|
298 |
+
|
299 |
+
/**
|
300 |
+
* DOWNLOADS MODULE
|
301 |
+
*/
|
302 |
+
|
303 |
+
#dslc-content .dslc-downloads {
|
304 |
+
|
305 |
+
}
|
306 |
+
|
307 |
+
#dslc-content .dslc-download {
|
308 |
+
|
309 |
+
}
|
310 |
+
|
311 |
+
#dslc-content .dslc-download-thumb {
|
312 |
+
position: relative;
|
313 |
+
line-height: 0;
|
314 |
+
}
|
315 |
+
|
316 |
+
#dslc-content .dslc-download-thumb-inner {
|
317 |
+
border: 0 solid transparent;
|
318 |
+
overflow: hidden;
|
319 |
+
}
|
320 |
+
|
321 |
+
#dslc-content .dslc-download-thumb a {
|
322 |
+
display: inline-block;
|
323 |
+
max-width: 100%;
|
324 |
+
}
|
325 |
+
|
326 |
+
#dslc-content .dslc-download-thumb img {
|
327 |
+
border-radius: 0;
|
328 |
+
-moz-box-shadow: none;
|
329 |
+
-webkit-box-shadow:none;
|
330 |
+
box-shadow: none;
|
331 |
+
display: block;
|
332 |
+
max-width: 100%;
|
333 |
+
height: auto;
|
334 |
+
}
|
335 |
+
|
336 |
+
#dslc-content .dslc-download-thumb .dslc-download-main {
|
337 |
+
position: absolute;
|
338 |
+
top: 0;
|
339 |
+
left: 0;
|
340 |
+
bottom: 0;
|
341 |
+
right: 0;
|
342 |
+
}
|
343 |
+
|
344 |
+
#dslc-content .dslc-download-thumb .dslc-download-main.dslc-download-main-visible {
|
345 |
+
opacity: 1 !important;
|
346 |
+
}
|
347 |
+
|
348 |
+
#dslc-content .dslc-download-thumb .dslc-download-main .dslc-init-center {
|
349 |
+
position: relative;
|
350 |
+
}
|
351 |
+
|
352 |
+
#dslc-content .dslc-download-thumb:hover .dslc-download-main {
|
353 |
+
|
354 |
+
}
|
355 |
+
|
356 |
+
body.dslca-enabled #dslc-content .dslc-post:first-child .dslc-download-thumb .dslc-download-main {
|
357 |
+
opacity: 1;
|
358 |
+
}
|
359 |
+
|
360 |
+
#dslc-content .dslc-download-main {
|
361 |
+
border: 0px solid transparent;
|
362 |
+
text-align: center;
|
363 |
+
}
|
364 |
+
|
365 |
+
#dslc-content .dslc-download-title {
|
366 |
+
margin-bottom: 13px;
|
367 |
+
}
|
368 |
+
|
369 |
+
#dslc-content .dslc-download-title h2 {
|
370 |
+
font-size: 15px;
|
371 |
+
line-height: 1.7;
|
372 |
+
margin: 0;
|
373 |
+
padding: 0;
|
374 |
+
}
|
375 |
+
|
376 |
+
#dslc-content .dslc-download-title h2 a {
|
377 |
+
display: block;
|
378 |
+
color: inherit;
|
379 |
+
text-decoration: none;
|
380 |
+
}
|
381 |
+
|
382 |
+
#dslc-content .dslc-download-tags {
|
383 |
+
border: 1px solid #e5e5e5;
|
384 |
+
border-width: 1px 0;
|
385 |
+
font-size: 12px;
|
386 |
+
padding: 8px 0;
|
387 |
+
line-height: 1;
|
388 |
+
margin-bottom: 22px;
|
389 |
+
}
|
390 |
+
|
391 |
+
#dslc-content .dslc-download-excerpt {
|
392 |
+
margin-bottom: 22px;
|
393 |
+
font-size: 13px;
|
394 |
+
line-height: 22px;
|
395 |
+
font-weight: 400;
|
396 |
+
}
|
397 |
+
|
398 |
+
#dslc-content .dslc-download-download {
|
399 |
+
margin-bottom: 10px;
|
400 |
+
}
|
401 |
+
|
402 |
+
#dslc-content .dslc-download-download a {
|
403 |
+
background: #ff4e01;
|
404 |
+
border: 0px solid transparent;
|
405 |
+
border-radius: 3px;
|
406 |
+
color: #fff;
|
407 |
+
display: block;
|
408 |
+
font-size: 13px;
|
409 |
+
font-weight: bold;
|
410 |
+
line-height: 1;
|
411 |
+
padding: 15px 0;
|
412 |
+
text-decoration: none;
|
413 |
+
text-align: center;
|
414 |
+
}
|
415 |
+
|
416 |
+
#dslc-content .dslc-download-download .dslc-icon {
|
417 |
+
margin-right: 10px;
|
418 |
+
}
|
419 |
+
|
420 |
+
#dslc-content .dslc-download-info {
|
421 |
+
font-size: 10px;
|
422 |
+
font-style: italic;
|
423 |
+
}
|
424 |
+
|
425 |
+
|
426 |
+
/**
|
427 |
+
* GALLERY MODULE
|
428 |
+
*/
|
429 |
+
|
430 |
+
#dslc-content .dslc-galleries {
|
431 |
+
|
432 |
+
}
|
433 |
+
|
434 |
+
#dslc-content .dslc-gallery {
|
435 |
+
|
436 |
+
}
|
437 |
+
|
438 |
+
#dslc-content .dslc-gallery-thumb {
|
439 |
+
position: relative;
|
440 |
+
line-height: 0;
|
441 |
+
}
|
442 |
+
|
443 |
+
#dslc-content .dslc-gallery-thumb-inner {
|
444 |
+
border: 0 solid transparent;
|
445 |
+
position: relative;
|
446 |
+
overflow: hidden;
|
447 |
+
}
|
448 |
+
|
449 |
+
#dslc-content .dslc-gallery-thumb a {
|
450 |
+
display: inline-block;
|
451 |
+
max-width: 100%;
|
452 |
+
}
|
453 |
+
|
454 |
+
#dslc-content .dslc-gallery-thumb img {
|
455 |
+
border-radius: 0;
|
456 |
+
-moz-box-shadow: none;
|
457 |
+
-webkit-box-shadow:none;
|
458 |
+
box-shadow: none;
|
459 |
+
display: block;
|
460 |
+
box-shadow: none;
|
461 |
+
max-width: 100%;
|
462 |
+
height: auto;
|
463 |
+
}
|
464 |
+
|
465 |
+
#dslc-content .dslc-gallery-images-count {
|
466 |
+
background: transparent;
|
467 |
+
border: 0px solid transparent;
|
468 |
+
border-radius: 50%;
|
469 |
+
position: absolute;
|
470 |
+
top: 40%;
|
471 |
+
left: 35%;
|
472 |
+
text-align: center;
|
473 |
+
text-decoration: none;
|
474 |
+
}
|
475 |
+
|
476 |
+
#dslc-content .dslc-gallery-images-count-bg {
|
477 |
+
background: transparent;
|
478 |
+
border: 0px solid transparent;
|
479 |
+
position: absolute;
|
480 |
+
top: 0;
|
481 |
+
left: 0;
|
482 |
+
right: 0;
|
483 |
+
bottom: 0;
|
484 |
+
}
|
485 |
+
|
486 |
+
#dslc-content .dslc-gallery-images-count-main {
|
487 |
+
position: relative;
|
488 |
+
}
|
489 |
+
|
490 |
+
#dslc-content .dslc-gallery-images-count-num {
|
491 |
+
color: #fff;
|
492 |
+
display: block;
|
493 |
+
font-size: 25px;
|
494 |
+
font-family: "Oswald";
|
495 |
+
font-weight: 200;
|
496 |
+
line-height: 1;
|
497 |
+
margin-bottom: 8px;
|
498 |
+
}
|
499 |
+
|
500 |
+
#dslc-content .dslc-gallery-images-count-txt {
|
501 |
+
color: #7d7d7d;
|
502 |
+
display: block;
|
503 |
+
font-size: 11px;
|
504 |
+
font-family: "Brawler";
|
505 |
+
line-height: 1;
|
506 |
+
}
|
507 |
+
|
508 |
+
#dslc-content .dslc-gallery-thumb .dslc-gallery-main {
|
509 |
+
position: absolute;
|
510 |
+
top: 0;
|
511 |
+
left: 0;
|
512 |
+
bottom: 0;
|
513 |
+
right: 0;
|
514 |
+
}
|
515 |
+
|
516 |
+
#dslc-content .dslc-gallery-thumb .dslc-gallery-main.dslc-gallery-main-visible {
|
517 |
+
opacity: 1 !important;
|
518 |
+
}
|
519 |
+
|
520 |
+
#dslc-content .dslc-gallery-thumb .dslc-gallery-main .dslc-init-center {
|
521 |
+
position: relative;
|
522 |
+
}
|
523 |
+
|
524 |
+
#dslc-content .dslc-gallery-thumb:hover .dslc-gallery-main {
|
525 |
+
|
526 |
+
}
|
527 |
+
|
528 |
+
body.dslca-enabled #dslc-content .dslc-post:first-child .dslc-gallery-thumb .dslc-gallery-main {
|
529 |
+
opacity: 1;
|
530 |
+
}
|
531 |
+
|
532 |
+
#dslc-content .dslc-gallery-main {
|
533 |
+
border: 0px solid transparent;
|
534 |
+
text-align: center;
|
535 |
+
}
|
536 |
+
|
537 |
+
#dslc-content .dslc-gallery-title {
|
538 |
+
margin-bottom: 15px;
|
539 |
+
}
|
540 |
+
|
541 |
+
#dslc-content .dslc-gallery-title h2 {
|
542 |
+
font-family: "Brawler";
|
543 |
+
font-size: 11px;
|
544 |
+
line-height: 1;
|
545 |
+
margin: 0;
|
546 |
+
padding: 0;
|
547 |
+
}
|
548 |
+
|
549 |
+
#dslc-content .dslc-gallery-title h2 a {
|
550 |
+
display: block;
|
551 |
+
color: #7d7d7d;
|
552 |
+
text-decoration: none;
|
553 |
+
}
|
554 |
+
|
555 |
+
#dslc-content .dslc-gallery-sep {
|
556 |
+
display: block;
|
557 |
+
height: 1px;
|
558 |
+
border-bottom: 1px solid #4a4a4a;
|
559 |
+
margin-bottom: 15px;
|
560 |
+
}
|
561 |
+
|
562 |
+
#dslc-content .dslc-gallery-excerpt {
|
563 |
+
font-size: 12px;
|
564 |
+
border-width: 1px 0 0 0;
|
565 |
+
}
|
566 |
+
|
567 |
+
#dslc-content .dslc-gallery-read-more {
|
568 |
+
|
569 |
+
}
|
570 |
+
|
571 |
+
#dslc-content .dslc-gallery-read-more a {
|
572 |
+
display: inline-block;
|
573 |
+
line-height: 1;
|
574 |
+
text-decoration: none;
|
575 |
+
border: 0 solid transparent;
|
576 |
+
}
|
577 |
+
|
578 |
+
#dslc-content .dslc-gallery .dslc-lightbox-gallery {
|
579 |
+
display: none;
|
580 |
+
}
|
581 |
+
|
582 |
+
/**
|
583 |
+
* INFOBOX MODULE
|
584 |
+
*/
|
585 |
+
|
586 |
+
.dslc-info-box {
|
587 |
+
text-align: center;
|
588 |
+
border: 0px solid transparent;
|
589 |
+
-webkit-transition: all 0.2s ease-in-out;
|
590 |
+
-moz-transition: all 0.2s ease-in-out;
|
591 |
+
transition: all 0.2s ease-in-out;
|
592 |
+
}
|
593 |
+
|
594 |
+
.dslc-info-box-main-wrap {
|
595 |
+
|
596 |
+
}
|
597 |
+
|
598 |
+
.dslc-info-box-image {
|
599 |
+
margin-bottom: 25px;
|
600 |
+
position: relative;
|
601 |
+
font-size: 0;
|
602 |
+
}
|
603 |
+
|
604 |
+
.dslc-info-box-image-link {
|
605 |
+
position: absolute;
|
606 |
+
top: 0;
|
607 |
+
left: 0;
|
608 |
+
right: 0;
|
609 |
+
bottom: 0;
|
610 |
+
}
|
611 |
+
|
612 |
+
.dslc-info-box-icon-pos-aside .dslc-info-box-main {
|
613 |
+
overflow: hidden;
|
614 |
+
}
|
615 |
+
|
616 |
+
.dslc-info-box-icon-pos-aside .dslc-info-box-image {
|
617 |
+
float: left;
|
618 |
+
margin-right: 20px;
|
619 |
+
}
|
620 |
+
|
621 |
+
.dslc-info-box-image-inner {
|
622 |
+
display: inline-block;
|
623 |
+
position: relative;
|
624 |
+
border: 0px solid transparent;
|
625 |
+
}
|
626 |
+
|
627 |
+
.dslc-info-box-image-inner .dslc-icon {
|
628 |
+
color: #fff;
|
629 |
+
line-height: 1;
|
630 |
+
font-size: 40px;
|
631 |
+
position: absolute;
|
632 |
+
}
|
633 |
+
|
634 |
+
.dslc-info-box-image-alt-inner img {
|
635 |
+
-webkit-transition: all 0.2s ease-in-out;
|
636 |
+
-moz-transition: all 0.2s ease-in-out;
|
637 |
+
transition: all 0.2s ease-in-out;
|
638 |
+
}
|
639 |
+
|
640 |
+
.dslc-info-box-title {
|
641 |
+
margin-bottom: 25px;
|
642 |
+
}
|
643 |
+
|
644 |
+
.dslc-info-box-title h4 {
|
645 |
+
font-size: 17px;
|
646 |
+
line-height: 1;
|
647 |
+
margin: 0;
|
648 |
+
padding: 0;
|
649 |
+
font-weight: 400;
|
650 |
+
}
|
651 |
+
|
652 |
+
.dslc-info-box-title h4 a {
|
653 |
+
color: inherit;
|
654 |
+
text-decoration: none;
|
655 |
+
}
|
656 |
+
|
657 |
+
.dslc-info-box-content {
|
658 |
+
margin-bottom: 25px;
|
659 |
+
}
|
660 |
+
|
661 |
+
.dslc-info-box-button {
|
662 |
+
font-size: 0;
|
663 |
+
}
|
664 |
+
|
665 |
+
.dslc-info-box-button a {
|
666 |
+
display: inline-block;
|
667 |
+
line-height: 1;
|
668 |
+
text-decoration: none;
|
669 |
+
}
|
670 |
+
|
671 |
+
.dslc-info-box-button-aside {
|
672 |
+
float: right;
|
673 |
+
}
|
674 |
+
|
675 |
+
/**
|
676 |
+
* PARTNERS MODULE
|
677 |
+
*/
|
678 |
+
|
679 |
+
#dslc-content .dslc-partner {
|
680 |
+
|
681 |
+
}
|
682 |
+
|
683 |
+
#dslc-content .dslc-partner .dslc-partner-thumb {
|
684 |
+
border: 1px solid #ebebeb;
|
685 |
+
padding: 50px 0;
|
686 |
+
text-align: center;
|
687 |
+
position: relative;
|
688 |
+
line-height: 0;
|
689 |
+
}
|
690 |
+
|
691 |
+
#dslc-content .dslc-partner .dslc-partner-thumb a {
|
692 |
+
display: inline-block;
|
693 |
+
max-width: 100%;
|
694 |
+
}
|
695 |
+
|
696 |
+
#dslc-content .dslc-partner .dslc-partner-thumb img {
|
697 |
+
border-radius: 0;
|
698 |
+
-moz-box-shadow: none;
|
699 |
+
-webkit-box-shadow:none;
|
700 |
+
box-shadow: none;
|
701 |
+
display: inline-block;
|
702 |
+
vertical-align: bottom;
|
703 |
+
width: auto;
|
704 |
+
max-width: 100%;
|
705 |
+
height: auto;
|
706 |
+
}
|
707 |
+
|
708 |
+
#dslc-content .dslc-partner-thumb .dslc-partner-main {
|
709 |
+
position: absolute;
|
710 |
+
top: 0;
|
711 |
+
left: 0;
|
712 |
+
bottom: 0;
|
713 |
+
right: 0;
|
714 |
+
}
|
715 |
+
|
716 |
+
#dslc-content .dslc-partner-thumb .dslc-partner-main.dslc-partner-main-visible {
|
717 |
+
opacity: 1 !important;
|
718 |
+
}
|
719 |
+
|
720 |
+
#dslc-content .dslc-partner-thumb .dslc-partner-main .dslc-init-center {
|
721 |
+
position: relative;
|
722 |
+
}
|
723 |
+
|
724 |
+
#dslc-content .dslc-partner-thumb:hover .dslc-partner-main {
|
725 |
+
|
726 |
+
}
|
727 |
+
|
728 |
+
body.dslca-enabled #dslc-content .dslc-post:first-child .dslc-partner-thumb .dslc-partner-main {
|
729 |
+
opacity: 1;
|
730 |
+
}
|
731 |
+
|
732 |
+
#dslc-content .dslc-partner .dslc-partner-main {
|
733 |
+
border: 0px solid transparent;
|
734 |
+
}
|
735 |
+
|
736 |
+
#dslc-content .dslc-partner .dslc-partner-title {
|
737 |
+
margin-bottom: 10px;
|
738 |
+
}
|
739 |
+
|
740 |
+
#dslc-content .dslc-partner .dslc-partner-title h2 {
|
741 |
+
color: #222;
|
742 |
+
font-family: "Oswald";
|
743 |
+
font-weight: bold;
|
744 |
+
font-size: 14px;
|
745 |
+
line-height: 1;
|
746 |
+
margin: 0;
|
747 |
+
padding: 0;
|
748 |
+
}
|
749 |
+
|
750 |
+
#dslc-content .dslc-partner .dslc-partner-title h2 a {
|
751 |
+
display: block;
|
752 |
+
color: inherit;
|
753 |
+
text-decoration: none;
|
754 |
+
}
|
755 |
+
|
756 |
+
#dslc-content .dslc-partner .dslc-partner-excerpt {
|
757 |
+
color: #444;
|
758 |
+
font-family: "Open Sans";
|
759 |
+
font-weight: 400;
|
760 |
+
font-size: 12px;
|
761 |
+
line-height: 22px;
|
762 |
+
}
|
763 |
+
|
764 |
+
|
765 |
+
/**
|
766 |
+
* PROJECTS MODULE
|
767 |
+
*/
|
768 |
+
|
769 |
+
#dslc-content .dslc-project {
|
770 |
+
|
771 |
+
}
|
772 |
+
|
773 |
+
#dslc-content .dslc-projects .dslc-project-thumb {
|
774 |
+
margin-bottom: 24px;
|
775 |
+
position: relative;
|
776 |
+
line-height: 0;
|
777 |
+
}
|
778 |
+
|
779 |
+
#dslc-content .dslc-projects .dslc-project-thumb-inner {
|
780 |
+
border: 0 solid transparent;
|
781 |
+
overflow: hidden;
|
782 |
+
}
|
783 |
+
|
784 |
+
#dslc-content .dslc-projects .dslc-project-thumb a {
|
785 |
+
display: inline-block;
|
786 |
+
max-width: 100%;
|
787 |
+
}
|
788 |
+
|
789 |
+
#dslc-content .dslc-projects .dslc-project-thumb img {
|
790 |
+
border-radius: 0;
|
791 |
+
-moz-box-shadow: none;
|
792 |
+
-webkit-box-shadow:none;
|
793 |
+
box-shadow: none;
|
794 |
+
display: block;
|
795 |
+
max-width: 100%;
|
796 |
+
height: auto;
|
797 |
+
}
|
798 |
+
|
799 |
+
#dslc-content .dslc-projects .dslc-project-thumb .dslc-project-main {
|
800 |
+
position: absolute;
|
801 |
+
top: 0;
|
802 |
+
left: 0;
|
803 |
+
bottom: 0;
|
804 |
+
right: 0;
|
805 |
+
}
|
806 |
+
|
807 |
+
#dslc-content .dslc-projects .dslc-project-thumb .dslc-project-main.dslc-project-main-visible {
|
808 |
+
opacity: 1 !important;
|
809 |
+
}
|
810 |
+
|
811 |
+
#dslc-content .dslc-projects .dslc-project-thumb .dslc-project-main .dslc-init-center {
|
812 |
+
position: relative;
|
813 |
+
}
|
814 |
+
|
815 |
+
#dslc-content .dslc-projects .dslc-project-thumb:hover .dslc-project-main {
|
816 |
+
|
817 |
+
}
|
818 |
+
|
819 |
+
body.dslca-enabled #dslc-content .dslc-projects .dslc-post:first-child .dslc-project-thumb .dslc-project-main {
|
820 |
+
opacity: 1;
|
821 |
+
}
|
822 |
+
|
823 |
+
#dslc-content .dslc-projects .dslc-project-main {
|
824 |
+
border: 0px solid transparent;
|
825 |
+
}
|
826 |
+
|
827 |
+
#dslc-content .dslc-projects .dslc-project-title {
|
828 |
+
margin-bottom: 10px;
|
829 |
+
}
|
830 |
+
|
831 |
+
#dslc-content .dslc-projects .dslc-project-title h2 {
|
832 |
+
color: #000;
|
833 |
+
font-family: "Open Sans";
|
834 |
+
font-weight: bold;
|
835 |
+
font-size: 12px;
|
836 |
+
line-height: 1;
|
837 |
+
margin: 0;
|
838 |
+
padding: 0;
|
839 |
+
}
|
840 |
+
|
841 |
+
#dslc-content .dslc-projects .dslc-project-title h2 a {
|
842 |
+
display: block;
|
843 |
+
color: inherit;
|
844 |
+
text-decoration: none;
|
845 |
+
}
|
846 |
+
|
847 |
+
#dslc-content .dslc-projects .dslc-project-cats {
|
848 |
+
font-family: "Droid Serif";
|
849 |
+
font-size: 10px;
|
850 |
+
font-style: italic;
|
851 |
+
line-height: 1;
|
852 |
+
}
|
853 |
+
|
854 |
+
#dslc-content .dslc-project-excerpt {
|
855 |
+
margin-bottom: 22px;
|
856 |
+
font-size: 13px;
|
857 |
+
line-height: 22px;
|
858 |
+
border-top: 0px solid #000;
|
859 |
+
}
|
860 |
+
|
861 |
+
#dslc-content .dslc-project-read-more {
|
862 |
+
|
863 |
+
}
|
864 |
+
|
865 |
+
#dslc-content .dslc-project-read-more a {
|
866 |
+
display: inline-block;
|
867 |
+
line-height: 1;
|
868 |
+
text-decoration: none;
|
869 |
+
border: 0 solid transparent;
|
870 |
+
}
|
871 |
+
|
872 |
+
/**
|
873 |
+
* SEPARATOR MODULE
|
874 |
+
*/
|
875 |
+
|
876 |
+
.dslc-separator-wrapper {
|
877 |
+
padding-bottom: 1px;
|
878 |
+
}
|
879 |
+
|
880 |
+
.dslc-separator {
|
881 |
+
clear: both;
|
882 |
+
height: 1px;
|
883 |
+
padding-bottom: 25px;
|
884 |
+
margin-bottom: 25px;
|
885 |
+
width: 100%;
|
886 |
+
}
|
887 |
+
|
888 |
+
.dslc-module-DSLC_Separator {
|
889 |
+
|
890 |
+
}
|
891 |
+
|
892 |
+
.dslc-separator.dslc-separator-style-solid {
|
893 |
+
border-bottom: 1px solid #ededed;
|
894 |
+
}
|
895 |
+
|
896 |
+
.dslc-separator.dslc-separator-style-dashed {
|
897 |
+
border-bottom: 1px dashed #ededed;
|
898 |
+
}
|
899 |
+
|
900 |
+
.dslc-separator.dslc-separator-style-dotted {
|
901 |
+
border-bottom: 1px dotted #ededed;
|
902 |
+
}
|
903 |
+
|
904 |
+
/**
|
905 |
+
* STAFF MODULE
|
906 |
+
*/
|
907 |
+
|
908 |
+
#dslc-content .dslc-staff {
|
909 |
+
|
910 |
+
}
|
911 |
+
|
912 |
+
#dslc-content .dslc-staff-member {
|
913 |
+
text-align: center;
|
914 |
+
}
|
915 |
+
|
916 |
+
#dslc-content .dslc-staff-member-thumb {
|
917 |
+
position: relative;
|
918 |
+
line-height: 0;
|
919 |
+
}
|
920 |
+
|
921 |
+
#dslc-content .dslc-staff-member-thumb {
|
922 |
+
border: 0 solid transparent;
|
923 |
+
}
|
924 |
+
|
925 |
+
#dslc-content .dslc-staff-member-thumb a {
|
926 |
+
display: inline-block;
|
927 |
+
max-width: 100%;
|
928 |
+
}
|
929 |
+
|
930 |
+
#dslc-content .dslc-staff-member-thumb img {
|
931 |
+
border-radius: 0;
|
932 |
+
-moz-box-shadow: none;
|
933 |
+
-webkit-box-shadow:none;
|
934 |
+
box-shadow: none;
|
935 |
+
display: block;
|
936 |
+
max-width: 100%;
|
937 |
+
height: auto;
|
938 |
+
}
|
939 |
+
|
940 |
+
#dslc-content .dslc-staff-member-thumb .dslc-staff-member-main {
|
941 |
+
position: absolute;
|
942 |
+
top: 0;
|
943 |
+
left: 0;
|
944 |
+
bottom: 0;
|
945 |
+
right: 0;
|
946 |
+
}
|
947 |
+
|
948 |
+
#dslc-content .dslc-staff-member-thumb .dslc-staff-member-main.dslc-staff-member-main-visible {
|
949 |
+
opacity: 1 !important;
|
950 |
+
}
|
951 |
+
|
952 |
+
#dslc-content .dslc-staff-member-thumb .dslc-staff-member-main .dslc-init-center {
|
953 |
+
position: relative;
|
954 |
+
}
|
955 |
+
|
956 |
+
#dslc-content .dslc-staff-member-thumb:hover .dslc-staff-member-main {
|
957 |
+
|
958 |
+
}
|
959 |
+
|
960 |
+
body.dslca-enabled #dslc-content .dslc-post:first-child .dslc-staff-member-thumb .dslc-staff-member-main {
|
961 |
+
opacity: 1;
|
962 |
+
}
|
963 |
+
|
964 |
+
#dslc-content .dslc-staff-member-social {
|
965 |
+
background: #40bde6;
|
966 |
+
border: 0px solid transparent;
|
967 |
+
border-radius: 0 0 3px 3px;
|
968 |
+
padding: 12px 0;
|
969 |
+
margin-bottom: 25px;
|
970 |
+
}
|
971 |
+
|
972 |
+
#dslc-content .dslc-staff-member-social a {
|
973 |
+
color: #fff;
|
974 |
+
margin: 0 6px;
|
975 |
+
font-size: 13px;
|
976 |
+
text-decoration: none;
|
977 |
+
}
|
978 |
+
|
979 |
+
#dslc-content .dslc-staff-member-main {
|
980 |
+
border: 0px solid transparent;
|
981 |
+
}
|
982 |
+
|
983 |
+
#dslc-content .dslc-staff-member-title {
|
984 |
+
margin-bottom: 23px;
|
985 |
+
}
|
986 |
+
|
987 |
+
#dslc-content .dslc-staff-member-title h2 {
|
988 |
+
color: #323232;
|
989 |
+
font-size: 15px;
|
990 |
+
font-family: "Open Sans";
|
991 |
+
font-weight: 600;
|
992 |
+
line-height: 1;
|
993 |
+
margin: 0;
|
994 |
+
padding: 0;
|
995 |
+
}
|
996 |
+
|
997 |
+
#dslc-content .dslc-staff-member-title h2 a {
|
998 |
+
display: block;
|
999 |
+
text-decoration: none;
|
1000 |
+
color: inherit;
|
1001 |
+
}
|
1002 |
+
|
1003 |
+
#dslc-content .dslc-staff-member-position {
|
1004 |
+
border: 1px solid #e5e5e5;
|
1005 |
+
font-size: 12px;
|
1006 |
+
font-weight: 600;
|
1007 |
+
font-style: italic;
|
1008 |
+
line-height: 1;
|
1009 |
+
margin-bottom: 20px;
|
1010 |
+
}
|
1011 |
+
|
1012 |
+
#dslc-content .dslc-staff-member-excerpt {
|
1013 |
+
|
1014 |
+
}
|
1015 |
+
|
1016 |
+
/**
|
1017 |
+
* TABS MODULE
|
1018 |
+
*/
|
1019 |
+
|
1020 |
+
#dslc-content .dslc-tabs {
|
1021 |
+
|
1022 |
+
}
|
1023 |
+
|
1024 |
+
#dslc-content .dslc-tabs-nav {
|
1025 |
+
|
1026 |
+
}
|
1027 |
+
|
1028 |
+
#dslc-content .dslc-tabs-nav-pos-aside .dslc-tabs-nav {
|
1029 |
+
float: left;
|
1030 |
+
margin-bottom: 0 !important;
|
1031 |
+
}
|
1032 |
+
|
1033 |
+
#dslc-content .dslc-tabs-nav-pos-above .dslc-tabs-nav {
|
1034 |
+
margin-right: 0 !important;
|
1035 |
+
}
|
1036 |
+
|
1037 |
+
#dslc-content .dslc-tabs-nav-hook {
|
1038 |
+
background: #fbfbfb;
|
1039 |
+
border: 1px solid #e8e8e8;
|
1040 |
+
border-bottom: 1px solid #e8e8e8;
|
1041 |
+
border-radius: 3px 3px 0 0;
|
1042 |
+
bottom: -1px;
|
1043 |
+
cursor: pointer;
|
1044 |
+
display: inline-block;
|
1045 |
+
padding: 10px;
|
1046 |
+
position: relative;
|
1047 |
+
line-height: 1;
|
1048 |
+
margin-left: -1px;
|
1049 |
+
}
|
1050 |
+
|
1051 |
+
#dslc-content .dslc-tabs-nav-pos-aside .dslc-tabs-nav-hook {
|
1052 |
+
display: block;
|
1053 |
+
margin-left: 0 !important;
|
1054 |
+
}
|
1055 |
+
|
1056 |
+
#dslc-content .dslc-tabs-nav-pos-above .dslc-tabs-nav-hook {
|
1057 |
+
margin-bottom: 0 !important;
|
1058 |
+
}
|
1059 |
+
|
1060 |
+
#dslc-content .dslc-tabs-nav-hook:first-child {
|
1061 |
+
margin-left: 0 !important;
|
1062 |
+
}
|
1063 |
+
|
1064 |
+
#dslc-content .dslc-tabs-nav-hook.dslc-active {
|
1065 |
+
background: #fff;
|
1066 |
+
|
1067 |
+
}
|
1068 |
+
|
1069 |
+
#dslc-content .dslc-tabs-content {
|
1070 |
+
background: #fff;
|
1071 |
+
border: 1px solid #e8e8e8;
|
1072 |
+
border-radius: 0 3px 3px 3px;
|
1073 |
+
}
|
1074 |
+
|
1075 |
+
#dslc-content .dslc-tabs-nav-pos-aside .dslc-tabs-content {
|
1076 |
+
overflow: hidden;
|
1077 |
+
}
|
1078 |
+
|
1079 |
+
#dslc-content .dslc-tabs-tab-content {
|
1080 |
+
padding: 35px;
|
1081 |
+
display: none;
|
1082 |
+
position: relative;
|
1083 |
+
}
|
1084 |
+
|
1085 |
+
#dslc-content .dslc-tabs-tab-content.dslc-active {
|
1086 |
+
display: block;
|
1087 |
+
}
|
1088 |
+
|
1089 |
+
|
1090 |
+
/* Admin */
|
1091 |
+
|
1092 |
+
.dslca-add-new-tab-hook {
|
1093 |
+
background: #78CA4F;
|
1094 |
+
border-radius: 50%;
|
1095 |
+
color: #fff;
|
1096 |
+
cursor: pointer;
|
1097 |
+
display: inline-block;
|
1098 |
+
font-size: 11px;
|
1099 |
+
margin-left: 10px;
|
1100 |
+
height: 20px;
|
1101 |
+
text-align: center;
|
1102 |
+
line-height: 22px;
|
1103 |
+
margin-top: 8px;
|
1104 |
+
width: 20px;
|
1105 |
+
position: relative;
|
1106 |
+
}
|
1107 |
+
|
1108 |
+
.dslca-add-new-tab-hook .dslca-icon {
|
1109 |
+
position: absolute;
|
1110 |
+
line-height: 1;
|
1111 |
+
top: 5px;
|
1112 |
+
right: 6px;
|
1113 |
+
}
|
1114 |
+
|
1115 |
+
.dslca-delete-tab-hook {
|
1116 |
+
color: #E55F5F;
|
1117 |
+
cursor: pointer;
|
1118 |
+
display: inline-block;
|
1119 |
+
font-size: 12px;
|
1120 |
+
margin-left: 10px;
|
1121 |
+
line-height: 1;
|
1122 |
+
vertical-align: top;
|
1123 |
+
}
|
1124 |
+
|
1125 |
+
/* Responsive */
|
1126 |
+
|
1127 |
+
.dslc-tabs-content .dslc-tabs-nav-hook {
|
1128 |
+
display: none !important;
|
1129 |
+
}
|
1130 |
+
|
1131 |
+
body.dslc-res-phone .dslc-tabs-nav {
|
1132 |
+
display: none;
|
1133 |
+
}
|
1134 |
+
|
1135 |
+
body.dslc-res-phone .dslc-tabs-tab-content {
|
1136 |
+
display: block !important;
|
1137 |
+
}
|
1138 |
+
|
1139 |
+
body.dslc-res-phone .dslc-tabs-content .dslc-tabs-nav-hook {
|
1140 |
+
display: block !important;
|
1141 |
+
float: none !important;
|
1142 |
+
margin-bottom: 20px;
|
1143 |
+
}
|
1144 |
+
|
1145 |
+
/**
|
1146 |
+
* TESTIMONIALS MODULE
|
1147 |
+
*/
|
1148 |
+
|
1149 |
+
#dslc-content .dslc-testimonials {
|
1150 |
+
border: 0px solid transparent;
|
1151 |
+
}
|
1152 |
+
|
1153 |
+
#dslc-content .dslc-testimonial {
|
1154 |
+
|
1155 |
+
}
|
1156 |
+
|
1157 |
+
#dslc-content .dslc-testimonial-main {
|
1158 |
+
border: 0 solid transparent;
|
1159 |
+
border-radius: 4px;
|
1160 |
+
padding: 25px;
|
1161 |
+
overflow: hidden;
|
1162 |
+
}
|
1163 |
+
|
1164 |
+
#dslc-content .dslc-testimonial-quote {
|
1165 |
+
border-bottom: 0 solid transparent;
|
1166 |
+
}
|
1167 |
+
|
1168 |
+
#dslc-content .dslc-testimonial-author {
|
1169 |
+
|
1170 |
+
}
|
1171 |
+
|
1172 |
+
#dslc-content .dslc-testimonial-author-pos-outside-left {
|
1173 |
+
float: left;
|
1174 |
+
}
|
1175 |
+
|
1176 |
+
#dslc-content .dslc-testimonial-author-pos-outside-right {
|
1177 |
+
float: right;
|
1178 |
+
}
|
1179 |
+
|
1180 |
+
#dslc-content .dslc-testimonial-author-avatar {
|
1181 |
+
border: 0 transparent solid;
|
1182 |
+
float: left;
|
1183 |
+
}
|
1184 |
+
|
1185 |
+
#dslc-content .dslc-testimonial-author-avatar img {
|
1186 |
+
display: block;
|
1187 |
+
height: auto;
|
1188 |
+
}
|
1189 |
+
|
1190 |
+
#dslc-content .dslc-testimonial-author-main {
|
1191 |
+
overflow: hidden;
|
1192 |
+
float: left;
|
1193 |
+
}
|
1194 |
+
|
1195 |
+
#dslc-content .dslc-testimonial-author-name {
|
1196 |
+
line-height: 1;
|
1197 |
+
}
|
1198 |
+
|
1199 |
+
#dslc-content .dslc-testimonial-author-position {
|
1200 |
+
line-height: 1.1;
|
1201 |
+
}
|
1202 |
+
|
1203 |
+
|
1204 |
+
|
1205 |
+
/**
|
1206 |
+
* TEXT MODULE
|
1207 |
+
*/
|
1208 |
+
|
1209 |
+
.dslc-text-module-content {
|
1210 |
+
border: 0px solid transparent;
|
1211 |
+
}
|
1212 |
+
|
1213 |
+
/**
|
1214 |
+
* WIDGETS MODULE
|
1215 |
+
*/
|
1216 |
+
|
1217 |
+
#dslc-content .dslc-widgets {
|
1218 |
+
|
1219 |
+
}
|
1220 |
+
|
1221 |
+
#dslc-content .dslc-widgets-wrap {
|
1222 |
+
border: 0px solid transparent;
|
1223 |
+
}
|
1224 |
+
|
1225 |
+
#dslc-content .dslc-widget {
|
1226 |
+
margin-bottom: 30px;
|
1227 |
+
width: 100%;
|
1228 |
+
}
|
1229 |
+
|
1230 |
+
#dslc-content .dslc-widget:last-child {
|
1231 |
+
margin-bottom: 0 !important;
|
1232 |
+
}
|
1233 |
+
|
1234 |
+
#dslc-content .dslc-widget-wrap {
|
1235 |
+
border: 0 solid transparent;
|
1236 |
+
}
|
1237 |
+
|
1238 |
+
#dslc-content .dslc-widget-title {
|
1239 |
+
font-size: 15px;
|
1240 |
+
font-weight: 600;
|
1241 |
+
border-bottom: 1px solid #e5e5e5;
|
1242 |
+
margin-bottom: 10px;
|
1243 |
+
padding-bottom: 10px;
|
1244 |
+
line-height: 1;
|
1245 |
+
}
|
1246 |
+
|
1247 |
+
#dslc-content .dslc-widget-title-inner {
|
1248 |
+
display: block;
|
1249 |
+
}
|
1250 |
+
|
1251 |
+
#dslc-content .dslc-widgets-2-col .dslc-col { width: 14.89361%; }
|
1252 |
+
#dslc-content .dslc-widgets-3-col .dslc-col { width: 23.40425%; }
|
1253 |
+
#dslc-content .dslc-widgets-4-col .dslc-col { width: 31.91489%; }
|
1254 |
+
#dslc-content .dslc-widgets-5-col .dslc-col { width: 40.42553%; }
|
1255 |
+
#dslc-content .dslc-widgets-6-col .dslc-col { width: 48.93617%; }
|
1256 |
+
#dslc-content .dslc-widgets-7-col .dslc-col { width: 57.4468%; }
|
1257 |
+
#dslc-content .dslc-widgets-8-col .dslc-col { width: 65.95744%; }
|
1258 |
+
#dslc-content .dslc-widgets-9-col .dslc-col { width: 74.46808%; }
|
1259 |
+
#dslc-content .dslc-widgets-10-col .dslc-col { width: 82.97872%; }
|
1260 |
+
#dslc-content .dslc-widgets-11-col .dslc-col { width: 91.48936%; }
|
1261 |
+
#dslc-content .dslc-widgets-12-col .dslc-col { width: 100%; margin-right: 0; }
|
1262 |
+
|
1263 |
+
#dslc-content .dslc-widgets-6-col .dslc-col:nth-child(2n),
|
1264 |
+
#dslc-content .dslc-widgets-4-col .dslc-col:nth-child(3n),
|
1265 |
+
#dslc-content .dslc-widgets-3-col .dslc-col:nth-child(4n),
|
1266 |
+
#dslc-content .dslc-widgets-2-col .dslc-col:nth-child(6n) {
|
1267 |
+
margin-right: 0;
|
1268 |
+
}
|
1269 |
+
|
1270 |
+
#dslc-content .dslc-widget li {
|
1271 |
+
border-style: solid;
|
1272 |
+
}
|
1273 |
+
|
1274 |
+
/**
|
1275 |
+
* PRODUCTS MODULE
|
1276 |
+
*/
|
1277 |
+
|
1278 |
+
#dslc-content .dslc-products {
|
1279 |
+
|
1280 |
+
}
|
1281 |
+
|
1282 |
+
#dslc-content .dslc-product {
|
1283 |
+
|
1284 |
+
}
|
1285 |
+
|
1286 |
+
#dslc-content .dslc-product-thumb {
|
1287 |
+
position: relative;
|
1288 |
+
line-height: 0;
|
1289 |
+
}
|
1290 |
+
|
1291 |
+
#dslc-content .dslc-product-thumb-inner {
|
1292 |
+
bottom: 0 solid transparent;
|
1293 |
+
overflow: hidden;
|
1294 |
+
}
|
1295 |
+
|
1296 |
+
#dslc-content .dslc-product-thumb a {
|
1297 |
+
display: inline-block;
|
1298 |
+
max-width: 100%;
|
1299 |
+
}
|
1300 |
+
|
1301 |
+
#dslc-content .dslc-product-thumb img {
|
1302 |
+
border-radius: 0;
|
1303 |
+
-moz-box-shadow: none;
|
1304 |
+
-webkit-box-shadow:none;
|
1305 |
+
box-shadow: none;
|
1306 |
+
display: block;
|
1307 |
+
border-radius: 3px 3px 0 0;
|
1308 |
+
box-shadow: none;
|
1309 |
+
max-width: 100%;
|
1310 |
+
height: auto;
|
1311 |
+
}
|
1312 |
+
|
1313 |
+
#dslc-content .dslc-product-thumb .dslc-product-price {
|
1314 |
+
background: transparent;
|
1315 |
+
color: #fff;
|
1316 |
+
display: block;
|
1317 |
+
font-weight: 400;
|
1318 |
+
font-size: 25px;
|
1319 |
+
font-family: "Oswald";
|
1320 |
+
left: 35%;
|
1321 |
+
line-height: 1;
|
1322 |
+
position: absolute;
|
1323 |
+
top: 40%;
|
1324 |
+
text-decoration: none;
|
1325 |
+
text-align: center;
|
1326 |
+
}
|
1327 |
+
|
1328 |
+
#dslc-content .dslc-product-price-bg {
|
1329 |
+
background: transparent;
|
1330 |
+
border: 0px solid transparent;
|
1331 |
+
position: absolute;
|
1332 |
+
top: 0;
|
1333 |
+
left: 0;
|
1334 |
+
right: 0;
|
1335 |
+
bottom: 0;
|
1336 |
+
}
|
1337 |
+
|
1338 |
+
#dslc-content .dslc-product-price-main {
|
1339 |
+
position: relative;
|
1340 |
+
}
|
1341 |
+
|
1342 |
+
#dslc-content .dslc-product-thumb .dslc-product-price del {
|
1343 |
+
display: none;
|
1344 |
+
}
|
1345 |
+
|
1346 |
+
#dslc-content .dslc-product-thumb .dslc-product-price ins {
|
1347 |
+
text-decoration: none;
|
1348 |
+
background: transparent;
|
1349 |
+
}
|
1350 |
+
|
1351 |
+
#dslc-content .dslc-product-thumb .dslc-product-price .from {
|
1352 |
+
display: none;
|
1353 |
+
}
|
1354 |
+
|
1355 |
+
#dslc-content .dslc-product-thumb .dslc-product-price .amount {
|
1356 |
+
vertical-align: middle;
|
1357 |
+
}
|
1358 |
+
|
1359 |
+
#dslc-content .dslc-products .dslc-product-thumb .dslc-product-main {
|
1360 |
+
position: absolute;
|
1361 |
+
top: 0;
|
1362 |
+
left: 0;
|
1363 |
+
bottom: 0;
|
1364 |
+
right: 0;
|
1365 |
+
}
|
1366 |
+
|
1367 |
+
#dslc-content .dslc-products .dslc-product-thumb .dslc-product-main.dslc-product-main-visible {
|
1368 |
+
opacity: 1 !important;
|
1369 |
+
}
|
1370 |
+
|
1371 |
+
#dslc-content .dslc-products .dslc-product-thumb .dslc-product-main .dslc-init-center {
|
1372 |
+
position: relative;
|
1373 |
+
}
|
1374 |
+
|
1375 |
+
#dslc-content .dslc-products .dslc-product-thumb:hover .dslc-product-main {
|
1376 |
+
|
1377 |
+
}
|
1378 |
+
|
1379 |
+
body.dslca-enabled #dslc-content .dslc-products .dslc-post:first-child .dslc-product-thumb .dslc-product-main {
|
1380 |
+
opacity: 1;
|
1381 |
+
}
|
1382 |
+
|
1383 |
+
#dslc-content .dslc-product-main {
|
1384 |
+
background: #1d1d1d;
|
1385 |
+
border-radius: 0 0 3px 3px;
|
1386 |
+
padding: 20px;
|
1387 |
+
text-align: center;
|
1388 |
+
border: 0px solid transparent;
|
1389 |
+
}
|
1390 |
+
|
1391 |
+
#dslc-content .dslc-product-title {
|
1392 |
+
margin-bottom: 15px;
|
1393 |
+
}
|
1394 |
+
|
1395 |
+
#dslc-content .dslc-product-price-secondary {
|
1396 |
+
color: #fff;
|
1397 |
+
float: left;
|
1398 |
+
font-size: 20px;
|
1399 |
+
line-height: 1;
|
1400 |
+
font-family: "Oswald";
|
1401 |
+
}
|
1402 |
+
|
1403 |
+
#dslc-content .dslc-product-price-secondary ins {
|
1404 |
+
text-decoration: none;
|
1405 |
+
background: transparent;
|
1406 |
+
}
|
1407 |
+
|
1408 |
+
#dslc-content .dslc-product-title h2 {
|
1409 |
+
clear: none;
|
1410 |
+
font-size: 11px;
|
1411 |
+
font-family: "Brawler";
|
1412 |
+
line-height: 1;
|
1413 |
+
vertical-align: middle;
|
1414 |
+
margin: 0;
|
1415 |
+
padding: 0;
|
1416 |
+
}
|
1417 |
+
|
1418 |
+
#dslc-content .dslc-product-title h2 a {
|
1419 |
+
display: block;
|
1420 |
+
color: #7d7d7d;
|
1421 |
+
text-decoration: none;
|
1422 |
+
}
|
1423 |
+
|
1424 |
+
#dslc-content .dslc-product-excerpt {
|
1425 |
+
border-bottom: 0 solid transparent;
|
1426 |
+
}
|
1427 |
+
|
1428 |
+
#dslc-content .dslc-product-sep {
|
1429 |
+
display: block;
|
1430 |
+
border-bottom: 1px solid #4a4a4a;
|
1431 |
+
height: 1px;
|
1432 |
+
margin-bottom: 15px;
|
1433 |
+
}
|
1434 |
+
|
1435 |
+
#dslc-content .dslc-product-extra {
|
1436 |
+
|
1437 |
+
}
|
1438 |
+
|
1439 |
+
#dslc-content .dslc-product-extra .dslc-product-add-to-cart {
|
1440 |
+
color: #8d8d8d;
|
1441 |
+
font-size: 12px;
|
1442 |
+
line-height: 1;
|
1443 |
+
text-decoration: none;
|
1444 |
+
float: left;
|
1445 |
+
}
|
1446 |
+
|
1447 |
+
#dslc-content .dslc-product-extra .dslc-product-details {
|
1448 |
+
color: #8d8d8d;
|
1449 |
+
font-size: 12px;
|
1450 |
+
text-decoration: none;
|
1451 |
+
line-height: 1;
|
1452 |
+
float: right;
|
1453 |
+
}
|
1454 |
+
|
1455 |
+
#dslc-content .dslc-product-extra .dslc-icon {
|
1456 |
+
margin-right: 5px;
|
1457 |
+
}
|
1458 |
+
|
1459 |
+
#dslc-content .dslc-tp-title {
|
1460 |
+
border: 0 solid transparent;
|
1461 |
+
}
|
1462 |
+
|
1463 |
+
#dslc-content .dslc-tp-title h1 {
|
1464 |
+
border: 0 solid transparent;
|
1465 |
+
}
|
1466 |
+
|
1467 |
+
#dslc-content .dslc-tp-content {
|
1468 |
+
border: 0 solid transparent;
|
1469 |
+
}
|
1470 |
+
|
1471 |
+
#dslc-content .dslc-tp-meta {
|
1472 |
+
border: 0 solid transparent;
|
1473 |
+
}
|
1474 |
+
|
1475 |
+
#dslc-content .dslc-tp-meta ul {
|
1476 |
+
margin: 0;
|
1477 |
+
list-style-type: none;
|
1478 |
+
font-size: 0;
|
1479 |
+
}
|
1480 |
+
|
1481 |
+
#dslc-content .dslc-tp-meta-horizontal li {
|
1482 |
+
display: inline-block;
|
1483 |
+
margin-top: 0 !important;
|
1484 |
+
margin-bottom: 0 !important;
|
1485 |
+
list-style-type: none;
|
1486 |
+
}
|
1487 |
+
|
1488 |
+
#dslc-content .dslc-tp-meta-horizontal li:first-child {
|
1489 |
+
margin-left: 0 !important;
|
1490 |
+
}
|
1491 |
+
|
1492 |
+
#dslc-content .dslc-tp-meta-horizontal li:last-child {
|
1493 |
+
margin-right: 0 !important;
|
1494 |
+
}
|
1495 |
+
|
1496 |
+
#dslc-content .dslc-tp-meta-vertical li {
|
1497 |
+
margin-left: 0 !important;
|
1498 |
+
margin-right: 0 !important;
|
1499 |
+
}
|
1500 |
+
|
1501 |
+
#dslc-content .dslc-tp-meta-vertical li:first-child {
|
1502 |
+
margin-top: 0 !important;
|
1503 |
+
}
|
1504 |
+
|
1505 |
+
#dslc-content .dslc-tp-meta-vertical li:last-child {
|
1506 |
+
margin-bottom: 0 !important;
|
1507 |
+
}
|
1508 |
+
|
1509 |
+
#dslc-content .dslc-tp-meta-avatar {
|
1510 |
+
margin-right: 10px;
|
1511 |
+
width: 30px;
|
1512 |
+
display: inline-block;
|
1513 |
+
}
|
1514 |
+
|
1515 |
+
#dslc-content .dslc-tp-meta-avatar img {
|
1516 |
+
vertical-align: middle;
|
1517 |
+
width: 100%;
|
1518 |
+
border-radius: 50%;
|
1519 |
+
}
|
1520 |
+
|
1521 |
+
#dslc-content .dslc-tp-download-button a {
|
1522 |
+
border: 0px solid transparent;
|
1523 |
+
display: block;
|
1524 |
+
line-height: 1;
|
1525 |
+
text-decoration: none;
|
1526 |
+
text-align: center;
|
1527 |
+
}
|
1528 |
+
|
1529 |
+
#dslc-content .dslc-tp-thumbnail {
|
1530 |
+
bottom: 0 solid transparent;
|
1531 |
+
overflow: hidden;
|
1532 |
+
}
|
1533 |
+
|
1534 |
+
#dslc-content .dslc-tp-thumbnail img {
|
1535 |
+
display: inline-block;
|
1536 |
+
vertical-align: middle;
|
1537 |
+
max-width: 100%;
|
1538 |
+
height: auto;
|
1539 |
+
}
|
1540 |
+
|
1541 |
+
#dslc-content .dslc-tp-gallery-slider {
|
1542 |
+
border: 0 solid transparent;
|
1543 |
+
}
|
1544 |
+
|
1545 |
+
#dslc-content .dslc-tp-gallery-slider-main {
|
1546 |
+
border: 0 solid transparent;
|
1547 |
+
}
|
1548 |
+
|
1549 |
+
#dslc-content .dslc-tp-gallery-slider-main li {
|
1550 |
+
overflow: hidden;
|
1551 |
+
}
|
1552 |
+
|
1553 |
+
#dslc-content .dslc-tp-gallery-slider-nav {
|
1554 |
+
border: 0 solid transparent;
|
1555 |
+
}
|
1556 |
+
|
1557 |
+
#dslc-content .dslc-tp-gallery-slider-nav li {
|
1558 |
+
margin-right: 10px;
|
1559 |
+
padding: 5px;
|
1560 |
+
border: 1px solid red;
|
1561 |
+
cursor: pointer;
|
1562 |
+
opacity: 0.7;
|
1563 |
+
}
|
1564 |
+
|
1565 |
+
#dslc-content .dslc-tp-gallery-slider-nav li.flex-active-slide {
|
1566 |
+
opacity: 1;
|
1567 |
+
}
|
1568 |
+
|
1569 |
+
#dslc-content .dslc-tp-gallery-slider-arrows {
|
1570 |
+
|
1571 |
+
}
|
1572 |
+
|
1573 |
+
/**
|
1574 |
+
* Social
|
1575 |
+
*/
|
1576 |
+
|
1577 |
+
#dslc-content ul.dslc-social {
|
1578 |
+
margin: 0;
|
1579 |
+
padding: 0;
|
1580 |
+
list-style-type: none;
|
1581 |
+
font-size: 0;
|
1582 |
+
line-height: 1;
|
1583 |
+
}
|
1584 |
+
|
1585 |
+
#dslc-content ul.dslc-social li {
|
1586 |
+
margin: 0;
|
1587 |
+
padding: 0;
|
1588 |
+
line-height: 1;
|
1589 |
+
display: inline-block;
|
1590 |
+
margin-right: 10px;
|
1591 |
+
overflow: hidden;
|
1592 |
+
}
|
1593 |
+
|
1594 |
+
#dslc-content ul.dslc-social a.dslc-social-icon {
|
1595 |
+
border: 0 solid transparent;
|
1596 |
+
display: block;
|
1597 |
+
background: #40bde6;
|
1598 |
+
text-decoration: none;
|
1599 |
+
color: #fff;
|
1600 |
+
width: 30px;
|
1601 |
+
height: 30px;
|
1602 |
+
border-radius: 15px;
|
1603 |
+
text-align: center;
|
1604 |
+
font-size: 15px;
|
1605 |
+
position: relative;
|
1606 |
+
float: left;
|
1607 |
+
}
|
1608 |
+
|
1609 |
+
#dslc-content ul.dslc-social .dslc-icon {
|
1610 |
+
line-height: 1;
|
1611 |
+
position: absolute;
|
1612 |
+
}
|
1613 |
+
|
1614 |
+
#dslc-content ul.dslc-social .dslc-social-label {
|
1615 |
+
float: left;
|
1616 |
+
display: block;
|
1617 |
+
}
|
1618 |
+
|
1619 |
+
/**
|
1620 |
+
* Staff Social
|
1621 |
+
*/
|
1622 |
+
|
1623 |
+
#dslc-content ul.dslc-staff-social {
|
1624 |
+
margin: 0;
|
1625 |
+
padding: 0;
|
1626 |
+
list-style-type: none;
|
1627 |
+
font-size: 0;
|
1628 |
+
line-height: 1;
|
1629 |
+
}
|
1630 |
+
|
1631 |
+
#dslc-content ul.dslc-staff-social li {
|
1632 |
+
margin: 0;
|
1633 |
+
padding: 0;
|
1634 |
+
line-height: 1;
|
1635 |
+
display: inline-block;
|
1636 |
+
overflow: hidden;
|
1637 |
+
}
|
1638 |
+
|
1639 |
+
#dslc-content ul.dslc-staff-social a {
|
1640 |
+
border: 0 solid transparent;
|
1641 |
+
display: block;
|
1642 |
+
text-decoration: none;
|
1643 |
+
text-align: center;
|
1644 |
+
position: relative;
|
1645 |
+
float: left;
|
1646 |
+
}
|
1647 |
+
|
1648 |
+
#dslc-content ul.dslc-staff-social .dslc-icon {
|
1649 |
+
line-height: 1;
|
1650 |
+
position: absolute;
|
1651 |
+
}
|
1652 |
+
|
1653 |
+
#dslc-content ul.dslc-staff-social .dslc-social-label {
|
1654 |
+
float: left;
|
1655 |
+
display: block;
|
1656 |
+
}
|
1657 |
+
|
1658 |
+
/**
|
1659 |
+
* Notification
|
1660 |
+
*/
|
1661 |
+
|
1662 |
+
#dslc-content .dslc-notification-box {
|
1663 |
+
background: #f65757;
|
1664 |
+
padding: 15px;
|
1665 |
+
border: 1px solid #e43737;
|
1666 |
+
border-radius: 3px;
|
1667 |
+
color: #fff;
|
1668 |
+
}
|
1669 |
+
|
1670 |
+
.dslc-notification-box-has-timeout {
|
1671 |
+
display: none;
|
1672 |
+
}
|
1673 |
+
|
1674 |
+
body.dslca-enabled .dslc-notification-box-has-timeout {
|
1675 |
+
display: block;
|
1676 |
+
}
|
1677 |
+
|
1678 |
+
#dslc-content .dslc-notification-box-content {
|
1679 |
+
|
1680 |
+
}
|
1681 |
+
|
1682 |
+
#dslc-content .dslc-notification-box-content p:last-child {
|
1683 |
+
margin-bottom: 0;
|
1684 |
+
}
|
1685 |
+
|
1686 |
+
#dslc-content .dslc-notification-box-close {
|
1687 |
+
position: absolute;
|
1688 |
+
right: 15px;
|
1689 |
+
top: 20px;
|
1690 |
+
cursor: pointer;
|
1691 |
+
background: #ffffff;
|
1692 |
+
color: #f65757;
|
1693 |
+
border-radius: 50%;
|
1694 |
+
width: 15px;
|
1695 |
+
height: 15px;
|
1696 |
+
}
|
1697 |
+
|
1698 |
+
#dslc-content .dslc-notification-box-close .dslc-icon {
|
1699 |
+
color: #f65757;
|
1700 |
+
position: absolute;
|
1701 |
+
font-size: 12px;
|
1702 |
+
}
|
1703 |
+
|
1704 |
+
/**
|
1705 |
+
* Button
|
1706 |
+
*/
|
1707 |
+
|
1708 |
+
#dslc-content .dslc-button {
|
1709 |
+
overflow: hidden;
|
1710 |
+
}
|
1711 |
+
|
1712 |
+
#dslc-content .dslc-button a {
|
1713 |
+
display: inline-block;
|
1714 |
+
text-decoration: none;
|
1715 |
+
line-height: 1;
|
1716 |
+
}
|
1717 |
+
|
1718 |
+
/**
|
1719 |
+
* Comments
|
1720 |
+
*/
|
1721 |
+
|
1722 |
+
|
1723 |
+
.dslc-tp-comments ul,
|
1724 |
+
.dslc-tp-comments ol,
|
1725 |
+
.dslc-tp-comments li {
|
1726 |
+
list-style-type: none;
|
1727 |
+
}
|
1728 |
+
|
1729 |
+
.dslc-tp-comments ol {
|
1730 |
+
margin-left: 0;
|
1731 |
+
}
|
1732 |
+
|
1733 |
+
.dslc-tp-comments {
|
1734 |
+
border: 0 solid transparent;
|
1735 |
+
}
|
1736 |
+
|
1737 |
+
.dslc-comment {
|
1738 |
+
border: 0 solid transparent;
|
1739 |
+
margin: 0;
|
1740 |
+
}
|
1741 |
+
|
1742 |
+
.dslc-comment-inner {
|
1743 |
+
border: 1px solid #ddd;
|
1744 |
+
padding: 10px;
|
1745 |
+
margin-bottom: 20px;
|
1746 |
+
}
|
1747 |
+
|
1748 |
+
.dslc-comment-info {
|
1749 |
+
margin-bottom: 10px;
|
1750 |
+
border-bottom: 1px solid #ddd;
|
1751 |
+
}
|
1752 |
+
|
1753 |
+
.dslc-comment-meta {
|
1754 |
+
float: left;
|
1755 |
+
margin: 0;
|
1756 |
+
}
|
1757 |
+
|
1758 |
+
.dslc-comment-meta-author {
|
1759 |
+
display: inline-block;
|
1760 |
+
margin-right: 15px;
|
1761 |
+
line-height: 1;
|
1762 |
+
}
|
1763 |
+
|
1764 |
+
.dslc-comment-author-avatar {
|
1765 |
+
margin-right: 5px;
|
1766 |
+
}
|
1767 |
+
|
1768 |
+
.dslc-comment-author-avatar img {
|
1769 |
+
vertical-align: middle;
|
1770 |
+
}
|
1771 |
+
|
1772 |
+
.dslc-comment-meta-date {
|
1773 |
+
display: inline-block;
|
1774 |
+
line-height: 1;
|
1775 |
+
}
|
1776 |
+
|
1777 |
+
.dslc-comment-reply {
|
1778 |
+
float: right;
|
1779 |
+
}
|
1780 |
+
|
1781 |
+
.dslc-comment-reply a {
|
1782 |
+
text-decoration: none;
|
1783 |
+
}
|
1784 |
+
|
1785 |
+
.dslc-comment-main {
|
1786 |
+
|
1787 |
+
}
|
1788 |
+
|
1789 |
+
.dslc-comment .dslc-comment {
|
1790 |
+
margin-left: 50px;
|
1791 |
+
}
|
1792 |
+
|
1793 |
+
.dslc-res-phone .dslc-comment .dslc-comment {
|
1794 |
+
margin-left: 0;
|
1795 |
+
}
|
1796 |
+
|
1797 |
+
.dslc-res-phone .dslc-comment .children {
|
1798 |
+
margin-left: 0;
|
1799 |
+
padding-left: 0;
|
1800 |
+
}
|
1801 |
+
|
1802 |
+
.dslc-tp-comment-form {
|
1803 |
+
border: 0 solid transparent;
|
1804 |
+
}
|
1805 |
+
|
1806 |
+
.dslc-tp-comment-form input[type="text"] {
|
1807 |
+
line-height: 1;
|
1808 |
+
}
|
1809 |
+
|
1810 |
+
.dslc-tp-comment-form input,
|
1811 |
+
.dslc-tp-comment-form textarea {
|
1812 |
+
border: 0 solid transparent;
|
1813 |
+
}
|
1814 |
+
|
1815 |
+
.dslc-tp-comment-form textarea {
|
1816 |
+
width: 100%;
|
1817 |
+
height: 130px;
|
1818 |
+
-moz-box-sizing: border-box;
|
1819 |
+
-webkit-box-sizing: border-box;
|
1820 |
+
box-sizing: border-box;
|
1821 |
+
}
|
1822 |
+
|
1823 |
+
.dslc-tp-comment-form .logged-in-as {
|
1824 |
+
margin-bottom: 15px;
|
1825 |
+
}
|
1826 |
+
|
1827 |
+
.dslc-tp-comment-form #submit {
|
1828 |
+
cursor: pointer;
|
1829 |
+
}
|
1830 |
+
|
1831 |
+
|
1832 |
+
/**
|
1833 |
+
* Image Module
|
1834 |
+
*/
|
1835 |
+
|
1836 |
+
.dslc-image {
|
1837 |
+
|
1838 |
+
}
|
1839 |
+
|
1840 |
+
.dslc-image img {
|
1841 |
+
max-width: 100%;
|
1842 |
+
display: inline-block;
|
1843 |
+
vertical-align: middle;
|
1844 |
+
}
|
1845 |
+
|
1846 |
+
/**
|
1847 |
+
* Progress Bar
|
1848 |
+
*/
|
1849 |
+
|
1850 |
+
.dslc-progress-bar {
|
1851 |
+
border: 0 solid transparent;
|
1852 |
+
}
|
1853 |
+
|
1854 |
+
.dslc-progress-bar-label {
|
1855 |
+
margin: 0;
|
1856 |
+
padding: 0;
|
1857 |
+
line-height: 1;
|
1858 |
+
}
|
1859 |
+
|
1860 |
+
.dslc-progress-bar-loader {
|
1861 |
+
background: #666;
|
1862 |
+
display: block;
|
1863 |
+
height: 18px;
|
1864 |
+
}
|
1865 |
+
|
1866 |
+
.dslc-progress-bar-loader-inner {
|
1867 |
+
display: block;
|
1868 |
+
float: left;
|
1869 |
+
overflow: hidden;
|
1870 |
+
white-space: nowrap;
|
1871 |
+
}
|
1872 |
+
|
1873 |
+
.dslc-progress-bar-animated .dslc-progress-bar-loader-inner {
|
1874 |
+
opacity: 0;
|
1875 |
+
}
|
1876 |
+
|
1877 |
+
.dslca-enabled .dslc-progress-bar-animated .dslc-progress-bar-loader-inner {
|
1878 |
+
opacity: 1;
|
1879 |
+
}
|
1880 |
+
|
1881 |
+
/**
|
1882 |
+
* Accordion
|
1883 |
+
*/
|
1884 |
+
|
1885 |
+
.dslc-accordion {
|
1886 |
+
border: 0 solid transparent;
|
1887 |
+
}
|
1888 |
+
|
1889 |
+
.dslc-accordion-item {
|
1890 |
+
|
1891 |
+
}
|
1892 |
+
|
1893 |
+
.dslc-accordion-item:first-child {
|
1894 |
+
margin-top: 0 !important;
|
1895 |
+
}
|
1896 |
+
|
1897 |
+
.dslc-accordion-header {
|
1898 |
+
border: 0 solid transparent;
|
1899 |
+
display: block;
|
1900 |
+
font-size: 11px;
|
1901 |
+
font-family: "Open Sans";
|
1902 |
+
font-weight: bold;
|
1903 |
+
font-size: 11px;
|
1904 |
+
line-height: 1;
|
1905 |
+
position: relative;
|
1906 |
+
}
|
1907 |
+
|
1908 |
+
.dslc-accordion-title {
|
1909 |
+
border: 0 solid transparent;
|
1910 |
+
display: block;
|
1911 |
+
}
|
1912 |
+
|
1913 |
+
.dslc-accordion-hook {
|
1914 |
+
cursor: pointer;
|
1915 |
+
}
|
1916 |
+
|
1917 |
+
.dslc-accordion-toggle {
|
1918 |
+
display: block;
|
1919 |
+
position: absolute;
|
1920 |
+
left: 0;
|
1921 |
+
top: 0;
|
1922 |
+
bottom: 0;
|
1923 |
+
}
|
1924 |
+
|
1925 |
+
.dslc-accordion-content {
|
1926 |
+
position: relative;
|
1927 |
+
border: 0 solid transparent;
|
1928 |
+
}
|
1929 |
+
|
1930 |
+
.dslca-add-accordion {
|
1931 |
+
text-align: center;
|
1932 |
+
}
|
1933 |
+
|
1934 |
+
.dslca-add-accordion-hook {
|
1935 |
+
background: #78CA4F;
|
1936 |
+
border-radius: 50%;
|
1937 |
+
color: #fff;
|
1938 |
+
cursor: pointer;
|
1939 |
+
display: inline-block;
|
1940 |
+
font-size: 12px;
|
1941 |
+
height: 20px;
|
1942 |
+
text-align: center;
|
1943 |
+
line-height: 22px;
|
1944 |
+
width: 20px;
|
1945 |
+
position: relative;
|
1946 |
+
margin-top: 10px;
|
1947 |
+
}
|
1948 |
+
|
1949 |
+
.dslca-add-accordion-hook .dslca-icon {
|
1950 |
+
position: absolute;
|
1951 |
+
line-height: 1;
|
1952 |
+
top: 5px;
|
1953 |
+
right: 6px;
|
1954 |
+
}
|
1955 |
+
|
1956 |
+
.dslca-accordion-action-hooks {
|
1957 |
+
position: absolute;
|
1958 |
+
right: 14px;
|
1959 |
+
top: 14px;
|
1960 |
+
}
|
1961 |
+
|
1962 |
+
.dslca-move-up-accordion-hook,
|
1963 |
+
.dslca-move-down-accordion-hook {
|
1964 |
+
color: #5890e5;
|
1965 |
+
}
|
1966 |
+
|
1967 |
+
.dslca-move-up-accordion-hook:hover,
|
1968 |
+
.dslca-move-down-accordion-hook:hover {
|
1969 |
+
color: #3b6fbe;
|
1970 |
+
}
|
1971 |
+
|
1972 |
+
.dslca-delete-accordion-hook {
|
1973 |
+
color: #E55F5F;
|
1974 |
+
cursor: pointer;
|
1975 |
+
display: inline-block;
|
1976 |
+
font-size: 12px;
|
1977 |
+
margin-left: 10px;
|
1978 |
+
line-height: 1;
|
1979 |
+
vertical-align: top;
|
1980 |
+
}
|
1981 |
+
|
1982 |
+
/**
|
1983 |
+
* Icon
|
1984 |
+
*/
|
1985 |
+
|
1986 |
+
.dslc-icon-module {
|
1987 |
+
position: relative;
|
1988 |
+
display: inline-block;
|
1989 |
+
}
|
1990 |
+
|
1991 |
+
.dslc-icon-module .dslc-icon {
|
1992 |
+
|
1993 |
+
}
|
1994 |
+
|
1995 |
+
/**
|
1996 |
+
* Navigation
|
1997 |
+
*/
|
1998 |
+
|
1999 |
+
.dslc-navigation {
|
2000 |
+
z-index: 99998;
|
2001 |
+
position: relative;
|
2002 |
+
text-align: right;
|
2003 |
+
font-size: 0;
|
2004 |
+
}
|
2005 |
+
|
2006 |
+
.dslc-navigation-inner {
|
2007 |
+
display: inline-block;
|
2008 |
+
}
|
2009 |
+
|
2010 |
+
.dslc-navigation .menu {
|
2011 |
+
list-style: none;
|
2012 |
+
margin: 0;
|
2013 |
+
padding: 0;
|
2014 |
+
}
|
2015 |
+
|
2016 |
+
/* Top level menu li */
|
2017 |
+
.dslc-navigation .menu > li {
|
2018 |
+
display: inline-block;
|
2019 |
+
position: relative;
|
2020 |
+
z-index: 99998;
|
2021 |
+
}
|
2022 |
+
|
2023 |
+
/* Top level horizontal menu li */
|
2024 |
+
.dslc-navigation.dslc-navigation-orientation-horizontal .menu > li {
|
2025 |
+
margin-top: 0 !important
|
2026 |
+
}
|
2027 |
+
|
2028 |
+
/* Top level vertical menu li */
|
2029 |
+
.dslc-navigation.dslc-navigation-orientation-vertical .menu > li {
|
2030 |
+
display: block;
|
2031 |
+
margin-left: 0 !important;
|
2032 |
+
}
|
2033 |
+
|
2034 |
+
/* Top level first menu li */
|
2035 |
+
.dslc-navigation .menu > li:first-child {
|
2036 |
+
margin-left: 0 !important;
|
2037 |
+
}
|
2038 |
+
|
2039 |
+
/* Top level vertical menu li */
|
2040 |
+
.dslc-navigation.dslc-navigation-orientation-vertical .menu > li:first-child {
|
2041 |
+
margin-top: 0 !important;
|
2042 |
+
}
|
2043 |
+
|
2044 |
+
/* Top level menu a */
|
2045 |
+
.dslc-navigation .menu > li > a {
|
2046 |
+
display: inline-block;
|
2047 |
+
text-decoration: none;
|
2048 |
+
vertical-align: middle;
|
2049 |
+
}
|
2050 |
+
|
2051 |
+
/* Nav arrow ( submenu indicator ) */
|
2052 |
+
.dslc-navigation-arrow {
|
2053 |
+
display: inline-block;
|
2054 |
+
margin-left: 5px;
|
2055 |
+
vertical-align: middle;
|
2056 |
+
}
|
2057 |
+
|
2058 |
+
/* Inner level menu ul */
|
2059 |
+
.dslc-navigation .menu ul {
|
2060 |
+
border-style: solid;
|
2061 |
+
display: none;
|
2062 |
+
list-style-type: none;
|
2063 |
+
margin: 0;
|
2064 |
+
opacity: 0;
|
2065 |
+
position: absolute;
|
2066 |
+
top: 100%;
|
2067 |
+
left: -28px;
|
2068 |
+
}
|
2069 |
+
|
2070 |
+
/* Left position menu */
|
2071 |
+
.dslc-navigation.dslc-navigation-sub-position-left .menu ul {
|
2072 |
+
left: 0;
|
2073 |
+
right: auto;
|
2074 |
+
}
|
2075 |
+
|
2076 |
+
/* Right position menu */
|
2077 |
+
.dslc-navigation.dslc-navigation-sub-position-right .menu ul {
|
2078 |
+
right: 0;
|
2079 |
+
left: auto;
|
2080 |
+
}
|
2081 |
+
|
2082 |
+
/* Center position menu */
|
2083 |
+
.dslc-navigation.dslc-navigation-sub-position-center .menu ul {
|
2084 |
+
left: auto;
|
2085 |
+
right: auto;
|
2086 |
+
}
|
2087 |
+
|
2088 |
+
/* Inner level vertical menu ul */
|
2089 |
+
.dslc-navigation-orientation-vertical .menu ul {
|
2090 |
+
top: 0;
|
2091 |
+
left: 100%;
|
2092 |
+
}
|
2093 |
+
|
2094 |
+
/* Inner level menu inverted */
|
2095 |
+
.dslc-navigation .menu ul.dslc-navigation-invert-subnav {
|
2096 |
+
left: auto;
|
2097 |
+
right: 0;
|
2098 |
+
}
|
2099 |
+
|
2100 |
+
/* Inner level menu li */
|
2101 |
+
.dslc-navigation .menu ul li {
|
2102 |
+
display: block;
|
2103 |
+
white-space: nowrap;
|
2104 |
+
margin: 0;
|
2105 |
+
}
|
2106 |
+
|
2107 |
+
/* Inner level menu a */
|
2108 |
+
.dslc-navigation .menu ul li a {
|
2109 |
+
display: block;
|
2110 |
+
line-height: 1;
|
2111 |
+
text-decoration: none;
|
2112 |
+
}
|
2113 |
+
|
2114 |
+
/* Inner level menu last item a */
|
2115 |
+
.dslc-navigation .menu ul li:last-child a {
|
2116 |
+
border-bottom: 0 !important;
|
2117 |
+
}
|
2118 |
+
|
2119 |
+
/* Inner level nav arrow ( submenu indicator ) */
|
2120 |
+
.dslc-navigation .dt-icon.dt-subnav-arrow {
|
2121 |
+
display: none;
|
2122 |
+
color: #bfbfbf;
|
2123 |
+
font-size: 8px;
|
2124 |
+
margin-left: 10px;
|
2125 |
+
vertical-align: middle;
|
2126 |
+
position: relative;
|
2127 |
+
top: -3px;
|
2128 |
+
margin-right: 0;
|
2129 |
+
}
|
2130 |
+
|
2131 |
+
/* Inner level nav arrow current menu item */
|
2132 |
+
.dslc-navigation li.current-menu-item .dt-icon.dt-subnav-arrow {
|
2133 |
+
color: #878787;
|
2134 |
+
}
|
2135 |
+
|
2136 |
+
/* Second Level menu ul */
|
2137 |
+
.dslc-navigation .menu ul ul {
|
2138 |
+
left: 100%;
|
2139 |
+
margin-left: -10px;
|
2140 |
+
top: -1px;
|
2141 |
+
}
|
2142 |
+
|
2143 |
+
/* Second level menu inverted */
|
2144 |
+
.dslc-navigation .menu ul ul.dslc-navigation-invert-subnav {
|
2145 |
+
left: auto;
|
2146 |
+
right: 100%;
|
2147 |
+
}
|
2148 |
+
|
2149 |
+
/* Inner level menu show */
|
2150 |
+
.dslc-navigation .menu li:hover > ul {
|
2151 |
+
display: block;
|
2152 |
+
}
|
2153 |
+
|
2154 |
+
/**
|
2155 |
+
* Mobile Navigation
|
2156 |
+
*/
|
2157 |
+
|
2158 |
+
.dslc-mobile-navigation {
|
2159 |
+
position: relative;
|
2160 |
+
text-align: right;
|
2161 |
+
display: none;
|
2162 |
+
}
|
2163 |
+
|
2164 |
+
.dslc-mobile-navigation select {
|
2165 |
+
cursor: pointer;
|
2166 |
+
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
|
2167 |
+
opacity: 0;
|
2168 |
+
position: absolute;
|
2169 |
+
right: 0;
|
2170 |
+
top: 0;
|
2171 |
+
padding-top: 0;
|
2172 |
+
padding-bottom: 0;
|
2173 |
+
z-index: 10;
|
2174 |
+
height: 38px;
|
2175 |
+
width: 100%;
|
2176 |
+
}
|
2177 |
+
|
2178 |
+
.dslc-mobile-navigation-hook {
|
2179 |
+
color: #555;
|
2180 |
+
font-size: 24px;
|
2181 |
+
line-height: 22px;
|
2182 |
+
}
|
2183 |
+
|
2184 |
+
.dslc-res-tablet .dslc-mobile-navigation.dslc-navigation-res-t-enabled,
|
2185 |
+
.dslc-res-phone .dslc-mobile-navigation.dslc-navigation-res-p-enabled {
|
2186 |
+
display: block;
|
2187 |
+
}
|
2188 |
+
|
2189 |
+
.dslc-res-tablet .dslc-navigation.dslc-navigation-res-t-enabled,
|
2190 |
+
.dslc-res-phone .dslc-navigation.dslc-navigation-res-p-enabled {
|
2191 |
+
display: none;
|
2192 |
+
}
|
2193 |
+
|
2194 |
+
/**
|
2195 |
+
* All Posts Related Modules
|
2196 |
+
*/
|
2197 |
+
|
2198 |
+
.dslc-post-main-inner-link-cover {
|
2199 |
+
display: none;
|
2200 |
+
position: absolute;
|
2201 |
+
top: 0;
|
2202 |
+
left: 0;
|
2203 |
+
right: 0;
|
2204 |
+
bottom: 0;
|
2205 |
+
}
|
2206 |
+
|
2207 |
+
body.dslc-res-tablet .dslc-post-main-inner-link-cover,
|
2208 |
+
body.dslc-res-phone .dslc-post-main-inner-link-cover {
|
2209 |
+
display: block;
|
2210 |
+
}
|
2211 |
+
|
2212 |
+
.dslc-posts-social-share {
|
2213 |
+
line-height: 1;
|
2214 |
+
}
|
2215 |
+
|
2216 |
+
.dslc-posts-social-share a:last-child {
|
2217 |
+
margin-right: 0 !important;
|
2218 |
+
}
|
2219 |
+
|
2220 |
+
.dslc-posts-social-share-count {
|
2221 |
+
display: inline-block;
|
2222 |
+
border-style: solid;
|
2223 |
}
|
ds-live-composer.php
CHANGED
@@ -1,140 +1,174 @@
|
|
1 |
-
<?php
|
2 |
-
/*
|
3 |
-
Plugin Name: Live Composer
|
4 |
-
Plugin URI: http://www.livecomposerplugin.com
|
5 |
-
Description:
|
6 |
-
Author:
|
7 |
-
Version: 1.0.
|
8 |
-
Author URI: http://livecomposerplugin.com
|
9 |
-
License: GPL2
|
10 |
-
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
11 |
-
Text Domain: live-composer-page-builder
|
12 |
-
Domain Path: /lang
|
13 |
-
*/
|
14 |
-
|
15 |
-
/**
|
16 |
-
* Constants
|
17 |
-
*/
|
18 |
-
|
19 |
-
define( 'DS_LIVE_COMPOSER_VER', '1.0.
|
20 |
-
define( 'DS_LIVE_COMPOSER_LOAD_MINIFIED', true );
|
21 |
-
|
22 |
-
define( '
|
23 |
-
define( '
|
24 |
-
define( '
|
25 |
-
define( '
|
26 |
-
define( '
|
27 |
-
|
28 |
-
|
29 |
-
define( '
|
30 |
-
define( '
|
31 |
-
|
32 |
-
|
33 |
-
$
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
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 |
-
include DS_LIVE_COMPOSER_ABS . '/includes/other-functions.php';
|
68 |
-
include DS_LIVE_COMPOSER_ABS . '/includes/functions.php';
|
69 |
-
include DS_LIVE_COMPOSER_ABS . '/includes/display-functions.php';
|
70 |
-
include DS_LIVE_COMPOSER_ABS . '/includes/row-system/init.php';
|
71 |
-
include DS_LIVE_COMPOSER_ABS . '/includes/ajax.php';
|
72 |
-
include DS_LIVE_COMPOSER_ABS . '/includes/shortcodes.php';
|
73 |
-
include DS_LIVE_COMPOSER_ABS . '/includes/scripts.php';
|
74 |
-
include DS_LIVE_COMPOSER_ABS . '/includes/post-options-framework/post-options-framework.php';
|
75 |
-
include DS_LIVE_COMPOSER_ABS . '/includes/plugin-options-framework/plugin-options-framework.php';
|
76 |
-
include DSLC_ST_FRAMEWORK_ABS . '/single-templates-framework.php';
|
77 |
-
include DS_LIVE_COMPOSER_ABS . '/includes/access-control.php';
|
78 |
-
include DS_LIVE_COMPOSER_ABS . '/includes/performance.php';
|
79 |
-
include DS_LIVE_COMPOSER_ABS . '/includes/archive-templates.php';
|
80 |
-
include DS_LIVE_COMPOSER_ABS . '/includes/
|
81 |
-
include DS_LIVE_COMPOSER_ABS . '/includes/
|
82 |
-
include DS_LIVE_COMPOSER_ABS . '/includes/
|
83 |
-
include DS_LIVE_COMPOSER_ABS . '/includes/
|
84 |
-
include DS_LIVE_COMPOSER_ABS . '/includes/
|
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 |
-
include DS_LIVE_COMPOSER_ABS . '/
|
113 |
-
include DS_LIVE_COMPOSER_ABS . '/modules/
|
114 |
-
include DS_LIVE_COMPOSER_ABS . '/modules/
|
115 |
-
include DS_LIVE_COMPOSER_ABS . '/modules/
|
116 |
-
include DS_LIVE_COMPOSER_ABS . '/modules/
|
117 |
-
include DS_LIVE_COMPOSER_ABS . '/modules/
|
118 |
-
include DS_LIVE_COMPOSER_ABS . '/modules/
|
119 |
-
include DS_LIVE_COMPOSER_ABS . '/modules/
|
120 |
-
include DS_LIVE_COMPOSER_ABS . '/modules/
|
121 |
-
include DS_LIVE_COMPOSER_ABS . '/modules/
|
122 |
-
include DS_LIVE_COMPOSER_ABS . '/modules/
|
123 |
-
include DS_LIVE_COMPOSER_ABS . '/modules/
|
124 |
-
include DS_LIVE_COMPOSER_ABS . '/modules/
|
125 |
-
include DS_LIVE_COMPOSER_ABS . '/modules/
|
126 |
-
include DS_LIVE_COMPOSER_ABS . '/modules/
|
127 |
-
include DS_LIVE_COMPOSER_ABS . '/modules/
|
128 |
-
include DS_LIVE_COMPOSER_ABS . '/modules/
|
129 |
-
include DS_LIVE_COMPOSER_ABS . '/modules/
|
130 |
-
include DS_LIVE_COMPOSER_ABS . '/modules/
|
131 |
-
include DS_LIVE_COMPOSER_ABS . '/modules/
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/*
|
3 |
+
Plugin Name: Page Builder: Live Composer – drag and drop website builder (visual front end site editor)
|
4 |
+
Plugin URI: http://www.livecomposerplugin.com
|
5 |
+
Description: Front-end page builder for WordPress with drag and drop editing. Build PRO responsive websites and landing pages. Visually customize any page element.
|
6 |
+
Author: Live Composer Team
|
7 |
+
Version: 1.0.7
|
8 |
+
Author URI: http://livecomposerplugin.com
|
9 |
+
License: GPL2
|
10 |
+
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
11 |
+
Text Domain: live-composer-page-builder
|
12 |
+
Domain Path: /lang
|
13 |
+
*/
|
14 |
+
|
15 |
+
/**
|
16 |
+
* Constants
|
17 |
+
*/
|
18 |
+
|
19 |
+
define( 'DS_LIVE_COMPOSER_VER', '1.0.7' );
|
20 |
+
define( 'DS_LIVE_COMPOSER_LOAD_MINIFIED', true );
|
21 |
+
|
22 |
+
define( 'DS_LIVE_COMPOSER_SHORTNAME', __('Live Composer', 'live-composer-page-builder') );
|
23 |
+
define( 'DS_LIVE_COMPOSER_BASENAME', plugin_basename( __FILE__ ) );
|
24 |
+
define( 'DS_LIVE_COMPOSER_URL', plugin_dir_url( __FILE__ ) );
|
25 |
+
define( 'DS_LIVE_COMPOSER_DIR_NAME', dirname( plugin_basename( __FILE__ ) ) );
|
26 |
+
define( 'DS_LIVE_COMPOSER_ABS', dirname(__FILE__) );
|
27 |
+
define( 'DS_LIVE_COMPOSER_DEV_MODE', false );
|
28 |
+
|
29 |
+
define( 'DSLC_PO_FRAMEWORK_ABS', DS_LIVE_COMPOSER_ABS . '/includes/plugin-options-framework' );
|
30 |
+
define( 'DSLC_ST_FRAMEWORK_ABS', DS_LIVE_COMPOSER_ABS . '/includes/single-templates-framework' );
|
31 |
+
define( 'DSLC_ROW_SYSTEM_ABS', DS_LIVE_COMPOSER_ABS . '/includes/row-system' );
|
32 |
+
|
33 |
+
$dslc_var_image_option_bckp = array();
|
34 |
+
$dslc_var_row_options = array();
|
35 |
+
|
36 |
+
/**
|
37 |
+
* Is live composer currently active?
|
38 |
+
*/
|
39 |
+
|
40 |
+
if ( isset( $_REQUEST['dslc'] ) && $_REQUEST['dslc'] === 'active' ) {
|
41 |
+
$dslc_active = true;
|
42 |
+
define( 'DS_LIVE_COMPOSER_ACTIVE', true );
|
43 |
+
} else {
|
44 |
+
$dslc_active = false;
|
45 |
+
define( 'DS_LIVE_COMPOSER_ACTIVE', false );
|
46 |
+
}
|
47 |
+
|
48 |
+
/**
|
49 |
+
* Global Variables
|
50 |
+
*/
|
51 |
+
|
52 |
+
$dslc_var_modules = array(); // Will hold modules information
|
53 |
+
$dslc_var_templates = array(); // Will hold templates information
|
54 |
+
$dslc_var_post_options = array(); // Will hold post options information
|
55 |
+
$dslc_var_icons = array(); // Will hold available icons array
|
56 |
+
|
57 |
+
$dslc_css_fonts = '';
|
58 |
+
$dslc_css_style = '';
|
59 |
+
$dslc_googlefonts_array = array();
|
60 |
+
$dslc_all_googlefonts_array = array( "ABeeZee","Abel","Abril Fatface","Aclonica","Acme","Actor","Adamina","Advent Pro","Aguafina Script","Akronim","Aladin","Aldrich","Alef","Alegreya","Alegreya SC","Alex Brush","Alfa Slab One","Alice","Alike","Alike Angular","Allan","Allerta","Allerta Stencil","Allura","Almendra","Almendra Display","Almendra SC","Amarante","Amaranth","Amatic SC","Amethysta","Anaheim","Andada","Andika","Annie Use Your Telescope","Anonymous Pro","Antic","Antic Didone","Antic Slab","Anton","Arapey","Arbutus","Arbutus Slab","Architects Daughter","Archivo Black","Archivo Narrow","Arimo","Arizonia","Armata","Artifika","Arvo","Asap","Asset","Astloch","Asul","Atomic Age","Aubrey","Audiowide","Autour One","Average","Average Sans","Averia Gruesa Libre","Averia Libre","Averia Sans Libre","Averia Serif Libre","Bad Script","Balthazar","Bangers","Basic","Baumans","Belgrano","Belleza","BenchNine","Bentham","Berkshire Swash","Bevan","Bigelow Rules","Bigshot One","Bilbo","Bilbo Swash Caps","Bitter","Black Ops One","Bonbon","Boogaloo","Bowlby One","Bowlby One SC","Brawler","Bree Serif","Bubblegum Sans","Bubbler One","Buda","Buenard","Butcherman","Butterfly Kids","Cabin","Cabin Condensed","Cabin Sketch","Caesar Dressing","Cagliostro","Calligraffitti","Cambo","Candal","Cantarell","Cantata One","Cantora One","Capriola","Cardo","Carme","Carrois Gothic","Carrois Gothic SC","Carter One","Caudex","Cedarville Cursive","Ceviche One","Changa One","Chango","Chau Philomene One","Chela One","Chelsea Market","Cherry Cream Soda","Cherry Swash","Chewy","Chicle","Chivo","Cinzel","Cinzel Decorative","Clicker Script","Coda","Coda Caption","Codystar","Combo","Comfortaa","Coming Soon","Concert One","Condiment","Contrail One","Convergence","Cookie","Copse","Corben","Courgette","Cousine","Coustard","Covered By Your Grace","Crafty Girls","Creepster","Crete Round","Crimson Text","Croissant One","Crushed","Cuprum","Cutive","Cutive Mono","Damion","Dancing Script", "Dawning of a New Day","Days One","Delius","Delius Swash Caps","Delius Unicase","Della Respira","Denk One","Devonshire","Didact Gothic","Diplomata","Diplomata SC","Domine","Donegal One","Doppio One","Dorsa","Dosis","Dr Sugiyama","Droid Sans","Droid Sans Mono","Droid Serif","Duru Sans","Dynalight","Eagle Lake","Eater","EB Garamond","Economica","Electrolize","Elsie","Elsie Swash Caps","Emblema One","Emilys Candy","Engagement","Englebert","Enriqueta","Erica One","Esteban","Euphoria Script","Ewert","Exo","Expletus Sans","Fanwood Text","Fascinate","Fascinate Inline","Faster One","Fauna One","Federant","Federo","Felipa","Fenix","Finger Paint","Fjalla One","Fjord One","Flamenco","Flavors","Fondamento","Fontdiner Swanky","Forum","Francois One","Freckle Face","Fredericka the Great","Fredoka One","Fresca","Frijole","Fruktur","Fugaz One","Gabriela","Gafata","Galdeano","Galindo","Gentium Basic","Gentium Book Basic","Geo","Geostar","Geostar Fill","Germania One","GFS Didot","GFS Neohellenic","Gilda Display","Give You Glory","Glass Antiqua","Glegoo","Gloria Hallelujah","Goblin One","Gochi Hand","Gorditas","Goudy Bookletter 1911","Graduate","Grand Hotel","Gravitas One","Great Vibes","Griffy","Gruppo","Gudea","Habibi","Hammersmith One","Hanalei","Hanalei Fill","Handlee","Happy Monkey","Headland One","Henny Penny","Herr Von Muellerhoff","Holtwood One SC","Homemade Apple","Homenaje","Iceberg","Iceland","IM Fell Double Pica","IM Fell Double Pica SC","IM Fell DW Pica","IM Fell DW Pica SC","IM Fell English","IM Fell English SC","IM Fell French Canon","IM Fell French Canon SC","IM Fell Great Primer","IM Fell Great Primer SC","Imprima","Inconsolata","Inder","Indie Flower","Inika","Irish Grover","Istok Web","Italiana","Italianno","Jacques Francois","Jacques Francois Shadow","Jim Nightshade","Jockey One","Jolly Lodger","Josefin Sans","Josefin Slab","Joti One","Judson","Julee","Julius Sans One","Junge","Jura","Just Another Hand","Just Me Again Down Here","Kameron","Karla","Kaushan Script","Kavoon","Keania One","Kelly Slab","Kenia","Kite One","Knewave","Kotta One","Kranky","Kreon","Kristi","Krona One","La Belle Aurore","Lancelot","Lato","League Script","Leckerli One","Ledger","Lekton","Lemon","Libre Baskerville","Life Savers","Lilita One","Lily Script One","Limelight","Linden Hill","Lobster","Lobster Two","Londrina Outline","Londrina Shadow","Londrina Sketch","Londrina Solid","Lora","Love Ya Like A Sister","Loved by the King","Lovers Quarrel","Luckiest Guy","Lusitana","Lustria","Macondo","Macondo Swash Caps","Magra","Maiden Orange","Mako","Marcellus","Marcellus SC","Marck Script","Margarine","Marko One","Marmelad","Marvel","Mate","Mate SC","Maven Pro","McLaren","Meddon","MedievalSharp","Medula One","Megrim","Meie Script","Merienda","Merienda One","Merriweather","Merriweather Sans","Metal Mania","Metamorphous","Metrophobic","Michroma","Milonga","Miltonian","Miltonian Tattoo","Miniver","Miss Fajardose","Modern Antiqua","Molengo","Molle","Monda","Monofett","Monoton","Monsieur La Doulaise","Montaga","Montez","Montserrat","Montserrat Alternates","Montserrat Subrayada","Mountains of Christmas","Mouse Memoirs","Mr Bedfort","Mr Dafoe","Mr De Haviland","Mrs Saint Delafield","Mrs Sheppards","Muli","Mystery Quest","Neucha","Neuton","New Rocker","News Cycle","Niconne","Nixie One","Nobile","Norican","Nosifer","Nothing You Could Do","Noticia Text","Noto Sans","Noto Serif","Nova Cut","Nova Flat","Nova Mono","Nova Oval","Nova Round","Nova Script","Nova Slim","Nova Square","Numans","Nunito","Offside","Old Standard TT","Oldenburg","Oleo Script","Oleo Script Swash Caps","Open Sans","Open Sans Condensed","Oranienbaum","Orbitron","Oregano","Orienta","Original Surfer","Oswald","Over the Rainbow","Overlock","Overlock SC","Ovo","Oxygen","Oxygen Mono","Pacifico","Paprika","Parisienne","Passero One","Passion One","Pathway Gothic One","Patrick Hand","Patrick Hand SC","Patua One","Paytone One","Peralta","Permanent Marker","Petit Formal Script","Petrona","Philosopher","Piedra","Pinyon Script","Pirata One","Plaster","Play","Playball","Playfair Display","Playfair Display SC","Podkova","Poiret One","Poller One","Poly","Pompiere","Poppins","Pontano Sans","Port Lligat Sans","Port Lligat Slab","Prata","Press Start 2P","Princess Sofia","Prociono","Prosto One","PT Mono","PT Sans","PT Sans Caption","PT Sans Narrow","PT Serif","PT Serif Caption","Puritan","Purple Purse","Quando","Quantico","Quattrocento","Quattrocento Sans","Questrial","Quicksand","Quintessential","Qwigley","Racing Sans One","Radley","Raleway","Raleway Dots","Rambla","Rammetto One","Ranchers","Rancho","Rationale","Redressed","Reenie Beanie","Revalia","Ribeye","Ribeye Marrow","Righteous","Risque","Roboto","Roboto Condensed","Roboto Slab","Rochester","Rock Salt","Rokkitt","Romanesco","Ropa Sans","Rosario","Rosarivo","Rouge Script","Ruda","Rufina","Ruge Boogie","Ruluko","Rum Raisin","Ruslan Display","Russo One","Ruthie","Rye","Sacramento","Sail","Salsa","Sanchez","Sancreek","Sansita One","Sarina","Satisfy","Scada","Schoolbell","Seaweed Script","Sevillana","Seymour One","Shadows Into Light","Shadows Into Light Two","Shanti","Share","Share Tech","Share Tech Mono","Shojumaru","Short Stack","Sigmar One","Signika","Signika Negative","Simonetta","Sintony","Sirin Stencil","Six Caps","Skranji","Slackey","Smokum","Smythe","Sniglet","Snippet","Snowburst One","Sofadi One","Sofia","Sonsie One","Sorts Mill Goudy","Source Code Pro","Source Sans Pro","Special Elite","Spicy Rice","Spinnaker","Spirax","Squada One","Stalemate","Stalinist One","Stardos Stencil","Stint Ultra Condensed","Stint Ultra Expanded","Stoke","Strait","Sue Ellen Francisco","Sunshiney","Supermercado One","Swanky and Moo Moo","Syncopate","Tangerine","Tauri","Telex","Tenor Sans","Text Me One","The Girl Next Door","Tienne","Tinos","Titan One","Titillium Web","Trade Winds","Trocchi","Trochut","Trykker","Tulpen One","Ubuntu","Ubuntu Condensed","Ubuntu Mono","Ultra","Uncial Antiqua","Underdog","Unica One","UnifrakturCook","UnifrakturMaguntia","Unkempt","Unlock","Unna","Vampiro One","Varela","Varela Round","Vast Shadow","Vibur","Vidaloka","Viga","Voces","Volkhov","Vollkorn","Voltaire","VT323","Waiting for the Sunrise","Wallpoet","Walter Turncoat","Warnes","Wellfleet","Wendy One","Wire One","Yanone Kaffeesatz","Yellowtail","Yeseva One","Yesteryear","Zeyada" );
|
61 |
+
$dslc_should_filter = true;
|
62 |
+
|
63 |
+
/**
|
64 |
+
* Include all the files
|
65 |
+
*/
|
66 |
+
|
67 |
+
include DS_LIVE_COMPOSER_ABS . '/includes/other-functions.php';
|
68 |
+
include DS_LIVE_COMPOSER_ABS . '/includes/functions.php';
|
69 |
+
include DS_LIVE_COMPOSER_ABS . '/includes/display-functions.php';
|
70 |
+
include DS_LIVE_COMPOSER_ABS . '/includes/row-system/init.php';
|
71 |
+
include DS_LIVE_COMPOSER_ABS . '/includes/ajax.php';
|
72 |
+
include DS_LIVE_COMPOSER_ABS . '/includes/shortcodes.php';
|
73 |
+
include DS_LIVE_COMPOSER_ABS . '/includes/scripts.php';
|
74 |
+
include DS_LIVE_COMPOSER_ABS . '/includes/post-options-framework/post-options-framework.php';
|
75 |
+
include DS_LIVE_COMPOSER_ABS . '/includes/plugin-options-framework/plugin-options-framework.php';
|
76 |
+
include DSLC_ST_FRAMEWORK_ABS . '/single-templates-framework.php';
|
77 |
+
include DS_LIVE_COMPOSER_ABS . '/includes/access-control.php';
|
78 |
+
include DS_LIVE_COMPOSER_ABS . '/includes/performance.php';
|
79 |
+
include DS_LIVE_COMPOSER_ABS . '/includes/archive-templates.php';
|
80 |
+
include DS_LIVE_COMPOSER_ABS . '/includes/styling-presets.php';
|
81 |
+
include DS_LIVE_COMPOSER_ABS . '/includes/header-footer.php';
|
82 |
+
include DS_LIVE_COMPOSER_ABS . '/includes/search-filter.php';
|
83 |
+
include DS_LIVE_COMPOSER_ABS . '/includes/post-templates.php';
|
84 |
+
include DS_LIVE_COMPOSER_ABS . '/includes/other.php';
|
85 |
+
|
86 |
+
/**
|
87 |
+
* Tutorials disabled by default
|
88 |
+
*
|
89 |
+
* Use the next call to activate tutorilas form your theme
|
90 |
+
* add_filter( 'dslc_tutorials', '__return_true' );
|
91 |
+
*
|
92 |
+
* @since 1.0.7
|
93 |
+
*/
|
94 |
+
|
95 |
+
add_action( 'after_setup_theme', 'dslc_tutorials_load');
|
96 |
+
function dslc_tutorials_load() {
|
97 |
+
$dslc_tutorials = false;
|
98 |
+
if ( apply_filters( 'dslc_tutorials', $dslc_tutorials ) ) {
|
99 |
+
include DS_LIVE_COMPOSER_ABS . '/includes/tutorials/tutorial.php';
|
100 |
+
}
|
101 |
+
}
|
102 |
+
|
103 |
+
$cap_page = dslc_get_option( 'lc_min_capability_page', 'dslc_plugin_options_access_control' );
|
104 |
+
if ( ! $cap_page ) $cap_page = 'publish_posts';
|
105 |
+
define( 'DS_LIVE_COMPOSER_CAPABILITY', $cap_page );
|
106 |
+
define( 'DS_LIVE_COMPOSER_CAPABILITY_SAVE', $cap_page );
|
107 |
+
|
108 |
+
/**
|
109 |
+
* Include Modules
|
110 |
+
*/
|
111 |
+
|
112 |
+
include DS_LIVE_COMPOSER_ABS . '/includes/class.module.php';
|
113 |
+
include DS_LIVE_COMPOSER_ABS . '/modules/posts/module.php';
|
114 |
+
include DS_LIVE_COMPOSER_ABS . '/modules/blog/module.php';
|
115 |
+
include DS_LIVE_COMPOSER_ABS . '/modules/projects/module.php';
|
116 |
+
include DS_LIVE_COMPOSER_ABS . '/modules/galleries/module.php';
|
117 |
+
include DS_LIVE_COMPOSER_ABS . '/modules/infobox/module.php';
|
118 |
+
include DS_LIVE_COMPOSER_ABS . '/modules/staff/module.php';
|
119 |
+
include DS_LIVE_COMPOSER_ABS . '/modules/woocommerce/module.php';
|
120 |
+
include DS_LIVE_COMPOSER_ABS . '/modules/separator/module.php';
|
121 |
+
include DS_LIVE_COMPOSER_ABS . '/modules/downloads/module.php';
|
122 |
+
include DS_LIVE_COMPOSER_ABS . '/modules/testimonials/module.php';
|
123 |
+
include DS_LIVE_COMPOSER_ABS . '/modules/text-simple/module.php';
|
124 |
+
include DS_LIVE_COMPOSER_ABS . '/modules/html/module.php';
|
125 |
+
include DS_LIVE_COMPOSER_ABS . '/modules/tabs/module.php';
|
126 |
+
include DS_LIVE_COMPOSER_ABS . '/modules/sliders/module.php';
|
127 |
+
include DS_LIVE_COMPOSER_ABS . '/modules/partners/module.php';
|
128 |
+
include DS_LIVE_COMPOSER_ABS . '/modules/widgets/module.php';
|
129 |
+
include DS_LIVE_COMPOSER_ABS . '/modules/social/module.php';
|
130 |
+
include DS_LIVE_COMPOSER_ABS . '/modules/notification/module.php';
|
131 |
+
include DS_LIVE_COMPOSER_ABS . '/modules/button/module.php';
|
132 |
+
include DS_LIVE_COMPOSER_ABS . '/modules/image/module.php';
|
133 |
+
include DS_LIVE_COMPOSER_ABS . '/modules/progress-bars/module.php';
|
134 |
+
include DS_LIVE_COMPOSER_ABS . '/modules/accordion/module.php';
|
135 |
+
include DS_LIVE_COMPOSER_ABS . '/modules/tp-title/module.php';
|
136 |
+
include DS_LIVE_COMPOSER_ABS . '/modules/tp-content/module.php';
|
137 |
+
include DS_LIVE_COMPOSER_ABS . '/modules/tp-excerpt/module.php';
|
138 |
+
include DS_LIVE_COMPOSER_ABS . '/modules/tp-meta/module.php';
|
139 |
+
include DS_LIVE_COMPOSER_ABS . '/modules/tp-downloads-button/module.php';
|
140 |
+
include DS_LIVE_COMPOSER_ABS . '/modules/tp-thumbnail/module.php';
|
141 |
+
include DS_LIVE_COMPOSER_ABS . '/modules/tp-gallery-slider/module.php';
|
142 |
+
include DS_LIVE_COMPOSER_ABS . '/modules/tp-project-slider/module.php';
|
143 |
+
include DS_LIVE_COMPOSER_ABS . '/modules/tp-comments/module.php';
|
144 |
+
include DS_LIVE_COMPOSER_ABS . '/modules/tp-comments-form/module.php';
|
145 |
+
include DS_LIVE_COMPOSER_ABS . '/modules/tp-staff-social/module.php';
|
146 |
+
include DS_LIVE_COMPOSER_ABS . '/modules/icon/module.php';
|
147 |
+
include DS_LIVE_COMPOSER_ABS . '/modules/navigation/module.php';
|
148 |
+
|
149 |
+
/**
|
150 |
+
* Activation Hook
|
151 |
+
*/
|
152 |
+
|
153 |
+
function dslc_on_activation() {
|
154 |
+
|
155 |
+
set_transient( '_dslc_activation_redirect_1', true, 60 );
|
156 |
+
|
157 |
+
} register_activation_hook( __FILE__, 'dslc_on_activation' );
|
158 |
+
|
159 |
+
add_action( 'admin_init', 'welcome' );
|
160 |
+
function welcome() {
|
161 |
+
|
162 |
+
// Bail if no activation redirect
|
163 |
+
if ( ! get_transient( '_dslc_activation_redirect_1' ) )
|
164 |
+
return;
|
165 |
+
|
166 |
+
// Delete the redirect transient
|
167 |
+
delete_transient( '_dslc_activation_redirect_1' );
|
168 |
+
|
169 |
+
// Bail if activating from network, or bulk
|
170 |
+
if ( is_network_admin() || isset( $_GET['activate-multi'] ) )
|
171 |
+
return;
|
172 |
+
|
173 |
+
wp_safe_redirect( admin_url( 'admin.php?page=dslc_getting_started' ) ); exit;
|
174 |
+
}
|
includes/access-control.php
CHANGED
@@ -1,95 +1,95 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
/**
|
4 |
-
* Table of Contents
|
5 |
-
*
|
6 |
-
* dslc_access_control_init ( Register options )
|
7 |
-
*/
|
8 |
-
|
9 |
-
|
10 |
-
/**
|
11 |
-
* Register options
|
12 |
-
*
|
13 |
-
* @since 1.0
|
14 |
-
*/
|
15 |
-
|
16 |
-
function dslc_access_control_init() {
|
17 |
-
|
18 |
-
global $dslc_plugin_options;
|
19 |
-
global $dslc_var_modules;
|
20 |
-
|
21 |
-
$capability_opts = array(
|
22 |
-
array(
|
23 |
-
'label' => __( 'Administrators', 'live-composer-page-builder' ),
|
24 |
-
'value' => 'manage_options'
|
25 |
-
),
|
26 |
-
array(
|
27 |
-
'label' => __( 'Editors', 'live-composer-page-builder' ),
|
28 |
-
'value' => 'publish_pages'
|
29 |
-
),
|
30 |
-
array(
|
31 |
-
'label' => __( 'Authors', 'live-composer-page-builder' ),
|
32 |
-
'value' => 'publish_posts'
|
33 |
-
),
|
34 |
-
array(
|
35 |
-
'label' => __( 'Contributors', 'live-composer-page-builder' ),
|
36 |
-
'value' => 'edit_posts'
|
37 |
-
),
|
38 |
-
);
|
39 |
-
|
40 |
-
$dslc_plugin_options['dslc_plugin_options_access_control'] = array(
|
41 |
-
'title' => __( 'Access Control', 'live-composer-page-builder' ),
|
42 |
-
'options' => array(
|
43 |
-
'lc_min_capability_page' => array(
|
44 |
-
'label' => __( 'Front-End Editor', 'live-composer-page-builder' ),
|
45 |
-
'std' => 'publish_posts',
|
46 |
-
'type' => 'select',
|
47 |
-
'descr' => __( 'Who can use Live Composer in the front-end? This will also affect who can manage post templates.', 'live-composer-page-builder' ),
|
48 |
-
'choices' => $capability_opts
|
49 |
-
),
|
50 |
-
'lc_min_capability_projects_m' => array(
|
51 |
-
'label' => __( 'Projects Management', 'live-composer-page-builder' ),
|
52 |
-
'std' => 'publish_posts',
|
53 |
-
'type' => 'select',
|
54 |
-
'descr' => __( 'Who can manage projects ( add, edit, trash... )?', 'live-composer-page-builder' ),
|
55 |
-
'choices' => $capability_opts
|
56 |
-
),
|
57 |
-
'lc_min_capability_galleries_m' => array(
|
58 |
-
'label' => __( 'Galleries Management', 'live-composer-page-builder' ),
|
59 |
-
'std' => 'publish_posts',
|
60 |
-
'type' => 'select',
|
61 |
-
'descr' => __( 'Who can manage galleries ( add, edit, trash... )?', 'live-composer-page-builder' ),
|
62 |
-
'choices' => $capability_opts
|
63 |
-
),
|
64 |
-
'lc_min_capability_staff_m' => array(
|
65 |
-
'label' => __( 'Staff Management', 'live-composer-page-builder' ),
|
66 |
-
'std' => 'publish_posts',
|
67 |
-
'type' => 'select',
|
68 |
-
'descr' => __( 'Who can manage staff ( add, edit, trash... )?', 'live-composer-page-builder' ),
|
69 |
-
'choices' => $capability_opts
|
70 |
-
),
|
71 |
-
'lc_min_capability_downloads_m' => array(
|
72 |
-
'label' => __( 'Downloads Management', 'live-composer-page-builder' ),
|
73 |
-
'std' => 'publish_posts',
|
74 |
-
'type' => 'select',
|
75 |
-
'descr' => __( 'Who can manage downloads ( add, edit, trash... )?', 'live-composer-page-builder' ),
|
76 |
-
'choices' => $capability_opts
|
77 |
-
),
|
78 |
-
'lc_min_capability_testimonials_m' => array(
|
79 |
-
'label' => __( 'Testimonials Management', 'live-composer-page-builder' ),
|
80 |
-
'std' => 'publish_posts',
|
81 |
-
'type' => 'select',
|
82 |
-
'descr' => __( 'Who can manage testimonials ( add, edit, trash... )?', 'live-composer-page-builder' ),
|
83 |
-
'choices' => $capability_opts
|
84 |
-
),
|
85 |
-
'lc_min_capability_partners_m' => array(
|
86 |
-
'label' => __( 'Partners Management', 'live-composer-page-builder' ),
|
87 |
-
'std' => 'publish_posts',
|
88 |
-
'type' => 'select',
|
89 |
-
'descr' => __( 'Who can manage partners ( add, edit, trash... )?', 'live-composer-page-builder' ),
|
90 |
-
'choices' => $capability_opts
|
91 |
-
),
|
92 |
-
)
|
93 |
-
);
|
94 |
-
|
95 |
} add_action( 'dslc_hook_register_options', 'dslc_access_control_init' );
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* Table of Contents
|
5 |
+
*
|
6 |
+
* dslc_access_control_init ( Register options )
|
7 |
+
*/
|
8 |
+
|
9 |
+
|
10 |
+
/**
|
11 |
+
* Register options
|
12 |
+
*
|
13 |
+
* @since 1.0
|
14 |
+
*/
|
15 |
+
|
16 |
+
function dslc_access_control_init() {
|
17 |
+
|
18 |
+
global $dslc_plugin_options;
|
19 |
+
global $dslc_var_modules;
|
20 |
+
|
21 |
+
$capability_opts = array(
|
22 |
+
array(
|
23 |
+
'label' => __( 'Administrators', 'live-composer-page-builder' ),
|
24 |
+
'value' => 'manage_options'
|
25 |
+
),
|
26 |
+
array(
|
27 |
+
'label' => __( 'Editors', 'live-composer-page-builder' ),
|
28 |
+
'value' => 'publish_pages'
|
29 |
+
),
|
30 |
+
array(
|
31 |
+
'label' => __( 'Authors', 'live-composer-page-builder' ),
|
32 |
+
'value' => 'publish_posts'
|
33 |
+
),
|
34 |
+
array(
|
35 |
+
'label' => __( 'Contributors', 'live-composer-page-builder' ),
|
36 |
+
'value' => 'edit_posts'
|
37 |
+
),
|
38 |
+
);
|
39 |
+
|
40 |
+
$dslc_plugin_options['dslc_plugin_options_access_control'] = array(
|
41 |
+
'title' => __( 'Access Control', 'live-composer-page-builder' ),
|
42 |
+
'options' => array(
|
43 |
+
'lc_min_capability_page' => array(
|
44 |
+
'label' => __( 'Front-End Editor', 'live-composer-page-builder' ),
|
45 |
+
'std' => 'publish_posts',
|
46 |
+
'type' => 'select',
|
47 |
+
'descr' => __( 'Who can use Live Composer in the front-end? This will also affect who can manage post templates.', 'live-composer-page-builder' ),
|
48 |
+
'choices' => $capability_opts
|
49 |
+
),
|
50 |
+
'lc_min_capability_projects_m' => array(
|
51 |
+
'label' => __( 'Projects Management', 'live-composer-page-builder' ),
|
52 |
+
'std' => 'publish_posts',
|
53 |
+
'type' => 'select',
|
54 |
+
'descr' => __( 'Who can manage projects ( add, edit, trash... )?', 'live-composer-page-builder' ),
|
55 |
+
'choices' => $capability_opts
|
56 |
+
),
|
57 |
+
'lc_min_capability_galleries_m' => array(
|
58 |
+
'label' => __( 'Galleries Management', 'live-composer-page-builder' ),
|
59 |
+
'std' => 'publish_posts',
|
60 |
+
'type' => 'select',
|
61 |
+
'descr' => __( 'Who can manage galleries ( add, edit, trash... )?', 'live-composer-page-builder' ),
|
62 |
+
'choices' => $capability_opts
|
63 |
+
),
|
64 |
+
'lc_min_capability_staff_m' => array(
|
65 |
+
'label' => __( 'Staff Management', 'live-composer-page-builder' ),
|
66 |
+
'std' => 'publish_posts',
|
67 |
+
'type' => 'select',
|
68 |
+
'descr' => __( 'Who can manage staff ( add, edit, trash... )?', 'live-composer-page-builder' ),
|
69 |
+
'choices' => $capability_opts
|
70 |
+
),
|
71 |
+
'lc_min_capability_downloads_m' => array(
|
72 |
+
'label' => __( 'Downloads Management', 'live-composer-page-builder' ),
|
73 |
+
'std' => 'publish_posts',
|
74 |
+
'type' => 'select',
|
75 |
+
'descr' => __( 'Who can manage downloads ( add, edit, trash... )?', 'live-composer-page-builder' ),
|
76 |
+
'choices' => $capability_opts
|
77 |
+
),
|
78 |
+
'lc_min_capability_testimonials_m' => array(
|
79 |
+
'label' => __( 'Testimonials Management', 'live-composer-page-builder' ),
|
80 |
+
'std' => 'publish_posts',
|
81 |
+
'type' => 'select',
|
82 |
+
'descr' => __( 'Who can manage testimonials ( add, edit, trash... )?', 'live-composer-page-builder' ),
|
83 |
+
'choices' => $capability_opts
|
84 |
+
),
|
85 |
+
'lc_min_capability_partners_m' => array(
|
86 |
+
'label' => __( 'Partners Management', 'live-composer-page-builder' ),
|
87 |
+
'std' => 'publish_posts',
|
88 |
+
'type' => 'select',
|
89 |
+
'descr' => __( 'Who can manage partners ( add, edit, trash... )?', 'live-composer-page-builder' ),
|
90 |
+
'choices' => $capability_opts
|
91 |
+
),
|
92 |
+
)
|
93 |
+
);
|
94 |
+
|
95 |
} add_action( 'dslc_hook_register_options', 'dslc_access_control_init' );
|
includes/ajax.php
CHANGED
@@ -1,1227 +1,1227 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
/**
|
4 |
-
* Table of contents
|
5 |
-
*
|
6 |
-
* - dslc_ajax_add_modules_section ( Echo new modules section HTML )
|
7 |
-
* - dslc_ajax_add_modules_area ( Echo new modules area HTML )
|
8 |
-
* - dslc_ajax_add_module ( Load the module's front ened output)
|
9 |
-
* - dslc_ajax_display_module_options ( Display options for a specific module )
|
10 |
-
* - dslc_ajax_save_composer ( Save the composer code )
|
11 |
-
* - dslc_ajax_save_draft_composer ( Save changes as draft )
|
12 |
-
* - dslc_ajax_load_template ( Loads front end output of a specific template )
|
13 |
-
* - dslc_ajax_import_template ( Loads front ened output of an exported template )
|
14 |
-
* - dslc_ajax_save_template ( Save template for future use )
|
15 |
-
* - dslc_ajax_delete_template ( Deletes a saved template )
|
16 |
-
* - dslc_ajax_get_new_module_id ( Returns a new unique ID, similar to post ID )
|
17 |
-
* - dslc_ajax_import_modules_section ( Loads front-end output for exported section )
|
18 |
-
* - dslc_ajax_dm_module_defaults_code ( Returns the code to alter the defaults for the module options )
|
19 |
-
* - dslc_ajax_save_preset ( Save module styling preset )
|
20 |
-
*/
|
21 |
-
|
22 |
-
/**
|
23 |
-
* Add a new module section
|
24 |
-
*
|
25 |
-
* @since 1.0
|
26 |
-
*/
|
27 |
-
|
28 |
-
function dslc_ajax_add_modules_section( $atts ) {
|
29 |
-
|
30 |
-
// Allowed to do this?
|
31 |
-
if ( is_user_logged_in() && current_user_can( DS_LIVE_COMPOSER_CAPABILITY ) ) {
|
32 |
-
|
33 |
-
// The array we'll pass back to the AJAX call
|
34 |
-
$response = array();
|
35 |
-
|
36 |
-
// Allows devs to add classes
|
37 |
-
$filter_classes = array();
|
38 |
-
$filter_classes = apply_filters( 'dslc_row_class', $filter_classes );
|
39 |
-
$extra_classes = '';
|
40 |
-
if ( count( $filter_classes ) > 0 ) {
|
41 |
-
foreach ( $filter_classes as $filter_class ) {
|
42 |
-
$extra_classes .= $filter_class . ' ';
|
43 |
-
}
|
44 |
-
}
|
45 |
-
|
46 |
-
// The output
|
47 |
-
$output = '<div class="dslc-modules-section dslc-modules-section-empty ' . $extra_classes . '" style="' . dslc_row_get_style() . '">
|
48 |
-
<div class="dslc-bg-video"><div class="dslc-bg-video-inner"></div><div class="dslc-bg-video-overlay"></div></div>
|
49 |
-
<div class="dslc-modules-section-wrapper">
|
50 |
-
<div class="dslc-modules-section-inner dslc-clearfix">
|
51 |
-
<div class="dslc-modules-area dslc-col dslc-12-col" data-size="12">
|
52 |
-
<div class="dslc-modules-area-inner">
|
53 |
-
<div class="dslca-modules-area-manage">
|
54 |
-
<div class="dslca-modules-area-manage-inner">
|
55 |
-
<span class="dslca-manage-action dslca-copy-modules-area-hook"><span class="dslca-icon dslc-icon-copy"></span></span>
|
56 |
-
<span class="dslca-manage-action dslca-move-modules-area-hook"><span class="dslca-icon dslc-icon-move"></span></span>
|
57 |
-
<span class="dslca-manage-action dslca-change-width-modules-area-hook">
|
58 |
-
<span class="dslca-icon dslc-icon-columns"></span>
|
59 |
-
<div class="dslca-change-width-modules-area-options">
|
60 |
-
<span data-size="1">1/12</span><span data-size="2">2/12</span>
|
61 |
-
<span data-size="3">3/12</span><span data-size="4">4/12</span>
|
62 |
-
<span data-size="5">5/12</span><span data-size="6">6/12</span>
|
63 |
-
<span data-size="7">7/12</span><span data-size="8">8/12</span>
|
64 |
-
<span data-size="9">9/12</span><span data-size="10">10/12</span>
|
65 |
-
<span data-size="11">11/12</span><span data-size="12">12/12</span>
|
66 |
-
</div>
|
67 |
-
</span>
|
68 |
-
<span class="dslca-manage-action dslca-delete-modules-area-hook"><span class="dslca-icon dslc-icon-remove"></span></span>
|
69 |
-
</div>
|
70 |
-
</div>
|
71 |
-
<div class="dslca-no-content">
|
72 |
-
<span class="dslca-no-content-primary"><span class="dslca-icon dslc-icon-download-alt"></span><span class="dslca-no-content-help-text">' . __( 'Drop modules here', 'live-composer-page-builder' ) . '</span></span>
|
73 |
-
</div>
|
74 |
-
<div class="dslca-module-loading"><div class="dslca-module-loading-inner"></div></div>
|
75 |
-
</div>
|
76 |
-
</div>
|
77 |
-
</div><!-- .dslc-module-section-inner -->
|
78 |
-
<div class="dslca-modules-section-manage">
|
79 |
-
<div class="dslca-modules-section-manage-inner">
|
80 |
-
<span class="dslca-manage-action dslca-edit-modules-section-hook"><span class="dslca-icon dslc-icon-cog"></span></span>
|
81 |
-
<span class="dslca-manage-action dslca-copy-modules-section-hook"><span class="dslca-icon dslc-icon-copy"></span></span>
|
82 |
-
<span class="dslca-manage-action dslca-move-modules-section-hook"><span class="dslca-icon dslc-icon-move"></span></span>
|
83 |
-
<span class="dslca-manage-action dslca-export-modules-section-hook"><span class="dslca-icon dslc-icon-upload-alt"></span></span>
|
84 |
-
<span class="dslca-manage-action dslca-delete-modules-section-hook"><span class="dslca-icon dslc-icon-remove"></span></span>
|
85 |
-
</div>
|
86 |
-
</div>
|
87 |
-
<div class="dslca-modules-section-settings">' . dslc_row_get_options_fields() . '</div><!-- .dslca-module-section-settings -->
|
88 |
-
<div class="dslca-module-loading dslca-modules-area-loading"><div class="dslca-module-loading-inner"></div></div>
|
89 |
-
</div><!-- .dslc-module-section-wrapper -->
|
90 |
-
</div>';
|
91 |
-
|
92 |
-
// Set the output
|
93 |
-
$response['output'] = $output;
|
94 |
-
|
95 |
-
// Encode response
|
96 |
-
$response_json = json_encode( $response );
|
97 |
-
|
98 |
-
// Send the response
|
99 |
-
header( "Content-Type: application/json" );
|
100 |
-
echo $response_json;
|
101 |
-
|
102 |
-
// Good night
|
103 |
-
exit;
|
104 |
-
|
105 |
-
}
|
106 |
-
|
107 |
-
} add_action( 'wp_ajax_dslc-ajax-add-modules-section', 'dslc_ajax_add_modules_section' );
|
108 |
-
|
109 |
-
/**
|
110 |
-
* Add a new modules area
|
111 |
-
*
|
112 |
-
* @since 1.0
|
113 |
-
*/
|
114 |
-
|
115 |
-
function dslc_ajax_add_modules_area( $atts ) {
|
116 |
-
|
117 |
-
// Allowed to do this?
|
118 |
-
if ( is_user_logged_in() && current_user_can( DS_LIVE_COMPOSER_CAPABILITY ) ) {
|
119 |
-
|
120 |
-
// The array we'll pass back to the AJAX call
|
121 |
-
$response = array();
|
122 |
-
|
123 |
-
// The output
|
124 |
-
$output = '<div class="dslc-modules-area dslc-col dslc-12-col" data-size="12">
|
125 |
-
<div class="dslca-modules-area-manage">
|
126 |
-
<div class="dslca-modules-area-manage-inner">
|
127 |
-
<span class="dslca-manage-action dslca-copy-modules-area-hook"><span class="dslca-icon dslc-icon-copy"></span></span>
|
128 |
-
<span class="dslca-manage-action dslca-move-modules-area-hook"><span class="dslca-icon dslc-icon-move"></span></span>
|
129 |
-
<span class="dslca-manage-action dslca-change-width-modules-area-hook">
|
130 |
-
<span class="dslca-icon dslc-icon-columns"></span>
|
131 |
-
<div class="dslca-change-width-modules-area-options">
|
132 |
-
<span data-size="1">1/12</span><span data-size="2">2/12</span>
|
133 |
-
<span data-size="3">3/12</span><span data-size="4">4/12</span>
|
134 |
-
<span data-size="5">5/12</span><span data-size="6">6/12</span>
|
135 |
-
<span data-size="7">7/12</span><span data-size="8">8/12</span>
|
136 |
-
<span data-size="9">9/12</span><span data-size="10">10/12</span>
|
137 |
-
<span data-size="11">11/12</span><span data-size="12">12/12</span>
|
138 |
-
</div>
|
139 |
-
</span>
|
140 |
-
<span class="dslca-manage-action dslca-delete-modules-area-hook"><span class="dslca-icon dslc-icon-remove"></span></span>
|
141 |
-
</div>
|
142 |
-
</div>
|
143 |
-
<div class="dslca-no-content">
|
144 |
-
<span class="dslca-no-content-primary"><span class="dslca-icon dslc-icon-download-alt"></span><span class="dslca-no-content-help-text">' . __( 'Drop modules here', 'live-composer-page-builder' ) . '</span></span>
|
145 |
-
</div>
|
146 |
-
<div class="dslca-module-loading"><div class="dslca-module-loading-inner"></div></div>
|
147 |
-
</div>';
|
148 |
-
|
149 |
-
// Set the output
|
150 |
-
$response['output'] = $output;
|
151 |
-
|
152 |
-
// Encode response
|
153 |
-
$response_json = json_encode( $response );
|
154 |
-
|
155 |
-
// Send the response
|
156 |
-
header( "Content-Type: application/json" );
|
157 |
-
echo $response_json;
|
158 |
-
|
159 |
-
// Good night
|
160 |
-
exit;
|
161 |
-
|
162 |
-
}
|
163 |
-
|
164 |
-
} add_action( 'wp_ajax_dslc-ajax-add-modules-area', 'dslc_ajax_add_modules_area' );
|
165 |
-
|
166 |
-
/**
|
167 |
-
* Add a new module
|
168 |
-
*
|
169 |
-
* @since 1.0
|
170 |
-
*/
|
171 |
-
|
172 |
-
function dslc_ajax_add_module( $atts ) {
|
173 |
-
|
174 |
-
// Allowed to do this?
|
175 |
-
if ( is_user_logged_in() && current_user_can( DS_LIVE_COMPOSER_CAPABILITY ) ) {
|
176 |
-
|
177 |
-
// The array we'll pass back to the AJAX call
|
178 |
-
$response = array();
|
179 |
-
|
180 |
-
// The ID of the module to add
|
181 |
-
$module_id = $_POST['dslc_module_id'];
|
182 |
-
$post_id = $_POST['dslc_post_id'];
|
183 |
-
if ( isset( $_POST['dslc_preload_preset'] ) && $_POST['dslc_preload_preset'] == 'enabled' )
|
184 |
-
$preload_preset = 'enabled';
|
185 |
-
else
|
186 |
-
$preload_preset = 'disabled';
|
187 |
-
|
188 |
-
// If post ID is not numberic stop execution
|
189 |
-
if ( ! is_numeric( $post_id ) )
|
190 |
-
return;
|
191 |
-
|
192 |
-
/**
|
193 |
-
* The instance ID for this specific module
|
194 |
-
*/
|
195 |
-
|
196 |
-
// If it is not a new module ( already has ID )
|
197 |
-
if ( isset( $_POST['dslc_module_instance_id'] ) ) {
|
198 |
-
|
199 |
-
$module_instance_id = $_POST['dslc_module_instance_id'];
|
200 |
-
|
201 |
-
// If it is a new module ( no ID )
|
202 |
-
} else {
|
203 |
-
|
204 |
-
// Get current count
|
205 |
-
$module_id_count = get_option( 'dslc_module_id_count' );
|
206 |
-
|
207 |
-
// If not the first one
|
208 |
-
if ( $module_id_count ) {
|
209 |
-
|
210 |
-
// Increment by one
|
211 |
-
$module_instance_id = $module_id_count + 1;
|
212 |
-
|
213 |
-
// Update the count
|
214 |
-
update_option( 'dslc_module_id_count', $module_instance_id );
|
215 |
-
|
216 |
-
// If it is the first one
|
217 |
-
} else {
|
218 |
-
|
219 |
-
// Set 1 as the ID
|
220 |
-
$module_instance_id = 1;
|
221 |
-
|
222 |
-
// Update the count
|
223 |
-
update_option( 'dslc_module_id_count', $module_instance_id );
|
224 |
-
|
225 |
-
}
|
226 |
-
|
227 |
-
}
|
228 |
-
|
229 |
-
// If module instance ID not numeric stop execution
|
230 |
-
if ( ! is_numeric( $module_instance_id ) )
|
231 |
-
return;
|
232 |
-
|
233 |
-
// Instanciate the module class
|
234 |
-
$module_instance = new $module_id();
|
235 |
-
|
236 |
-
// Generate settings
|
237 |
-
$all_opts = $module_instance->options();
|
238 |
-
$module_settings = dslc_module_settings( $all_opts );
|
239 |
-
|
240 |
-
// Append ID to settings
|
241 |
-
$module_settings['module_instance_id'] = $module_instance_id;
|
242 |
-
|
243 |
-
// Append post ID to settings
|
244 |
-
$module_settings['post_id'] = $post_id;
|
245 |
-
|
246 |
-
// Start output fetching
|
247 |
-
ob_start();
|
248 |
-
|
249 |
-
// Load preset if there was no preset before
|
250 |
-
if ( $preload_preset == 'enabled' )
|
251 |
-
$module_settings = apply_filters( 'dslc_filter_settings', $module_settings );
|
252 |
-
|
253 |
-
// Transform image ID to URL
|
254 |
-
global $dslc_var_image_option_bckp;
|
255 |
-
$dslc_var_image_option_bckp = array();
|
256 |
-
foreach ( $all_opts as $all_opt ) {
|
257 |
-
if ( $all_opt['type'] == 'image' ) {
|
258 |
-
if ( isset( $module_settings[$all_opt['id']] ) && ! empty( $module_settings[$all_opt['id']] ) && is_numeric( $module_settings[$all_opt['id']] ) ) {
|
259 |
-
$dslc_var_image_option_bckp[$all_opt['id']] = $module_settings[$all_opt['id']];
|
260 |
-
$image_info = wp_get_attachment_image_src( $module_settings[$all_opt['id']], 'full' );
|
261 |
-
$module_settings[$all_opt['id']] = $image_info[0];
|
262 |
-
}
|
263 |
-
}
|
264 |
-
}
|
265 |
-
|
266 |
-
// Module size
|
267 |
-
if ( isset( $_POST['dslc_m_size'] ) )
|
268 |
-
$module_settings['dslc_m_size'] = $_POST['dslc_m_size'];
|
269 |
-
else
|
270 |
-
$module_settings['dslc_m_size'] = '12';
|
271 |
-
|
272 |
-
// Output
|
273 |
-
$module_instance->output( $module_settings );
|
274 |
-
|
275 |
-
// Get the output and stop fetching
|
276 |
-
$output = ob_get_contents();
|
277 |
-
ob_end_clean();
|
278 |
-
|
279 |
-
// Set the output
|
280 |
-
$response['output'] = $output;
|
281 |
-
|
282 |
-
// Encode response
|
283 |
-
$response_json = json_encode( $response );
|
284 |
-
|
285 |
-
// Send the response
|
286 |
-
header( "Content-Type: application/json" );
|
287 |
-
echo $response_json;
|
288 |
-
|
289 |
-
// Good night
|
290 |
-
exit;
|
291 |
-
|
292 |
-
}
|
293 |
-
|
294 |
-
} add_action( 'wp_ajax_dslc-ajax-add-module', 'dslc_ajax_add_module' );
|
295 |
-
|
296 |
-
|
297 |
-
/**
|
298 |
-
* Display module options
|
299 |
-
*
|
300 |
-
* @since 1.0
|
301 |
-
*/
|
302 |
-
|
303 |
-
function dslc_ajax_display_module_options( $atts ) {
|
304 |
-
|
305 |
-
// Allowed to do this?
|
306 |
-
if ( is_user_logged_in() && current_user_can( DS_LIVE_COMPOSER_CAPABILITY ) ) {
|
307 |
-
|
308 |
-
// The array we'll pass back to the AJAX call
|
309 |
-
$response = array();
|
310 |
-
|
311 |
-
// This will hold the output
|
312 |
-
$response['output'] = '';
|
313 |
-
$response['output_tabs'] = '';
|
314 |
-
|
315 |
-
// The ID of the module
|
316 |
-
$module_id = $_POST['dslc_module_id'];
|
317 |
-
|
318 |
-
// Instanciate the module class
|
319 |
-
$module_instance = new $module_id();
|
320 |
-
|
321 |
-
// Get the module options
|
322 |
-
$module_options = $module_instance->options();
|
323 |
-
|
324 |
-
// Tabs
|
325 |
-
$tabs = array();
|
326 |
-
|
327 |
-
ob_start();
|
328 |
-
|
329 |
-
// Go through each option, generate the option HTML and append to output
|
330 |
-
foreach ( $module_options as $module_option ) {
|
331 |
-
|
332 |
-
$curr_value = $module_option['std'];
|
333 |
-
|
334 |
-
if ( isset( $_POST[ $module_option['id'] ] ) )
|
335 |
-
$curr_value = $_POST[ $module_option['id'] ];
|
336 |
-
|
337 |
-
/**
|
338 |
-
* Visibility
|
339 |
-
*/
|
340 |
-
|
341 |
-
if ( isset( $module_option['visibility'] ) )
|
342 |
-
$visibility = false;
|
343 |
-
else
|
344 |
-
$visibility = true;
|
345 |
-
|
346 |
-
if ( $module_option['type'] == 'checkbox' && count( $module_option['choices'] ) < 2 )
|
347 |
-
$visibility = false;
|
348 |
-
|
349 |
-
/**
|
350 |
-
* Refresh on change
|
351 |
-
*/
|
352 |
-
|
353 |
-
if ( isset( $module_option['refresh_on_change'] ) ) {
|
354 |
-
|
355 |
-
if ( $module_option['refresh_on_change'] )
|
356 |
-
$refresh_on_change = 'active';
|
357 |
-
else
|
358 |
-
$refresh_on_change = 'inactive';
|
359 |
-
|
360 |
-
} else {
|
361 |
-
$refresh_on_change = 'active';
|
362 |
-
}
|
363 |
-
|
364 |
-
// Force refresh on change for images ( due to the URL -> ID change )
|
365 |
-
if ( $module_option['type'] == 'image' )
|
366 |
-
$refresh_on_change = 'active';
|
367 |
-
|
368 |
-
/**
|
369 |
-
* Section (functionality and styling)
|
370 |
-
*/
|
371 |
-
|
372 |
-
if ( isset( $module_option['section'] ) )
|
373 |
-
$section = $module_option['section'];
|
374 |
-
else
|
375 |
-
$section = 'functionality';
|
376 |
-
|
377 |
-
/**
|
378 |
-
* Tab
|
379 |
-
*/
|
380 |
-
|
381 |
-
if ( ! isset( $module_option['tab'] ) ) {
|
382 |
-
|
383 |
-
if ( $section == 'functionality' ) {
|
384 |
-
$tabs['general_functionality'] = array(
|
385 |
-
'title' => __( 'General', 'live-composer-page-builder' ),
|
386 |
-
'id' => 'general_functionality',
|
387 |
-
'section' => 'functionality'
|
388 |
-
);
|
389 |
-
} else {
|
390 |
-
$tabs['general_styling'] = array(
|
391 |
-
'title' => __( 'General', 'live-composer-page-builder' ),
|
392 |
-
'id' => 'general_styling',
|
393 |
-
'section' => 'styling'
|
394 |
-
);
|
395 |
-
}
|
396 |
-
|
397 |
-
$tab_ID = 'general_' . $section;
|
398 |
-
|
399 |
-
}
|
400 |
-
|
401 |
-
if ( isset( $module_option['tab'] ) ) {
|
402 |
-
|
403 |
-
// Lowercase it
|
404 |
-
$tab_ID = strtolower( $module_option['tab'] );
|
405 |
-
|
406 |
-
// Replace spaces with _
|
407 |
-
$tab_ID = str_replace( ' ', '_', $tab_ID );
|
408 |
-
|
409 |
-
// Add section ID append
|
410 |
-
$tab_ID .= '_' . $section;
|
411 |
-
|
412 |
-
// If not already in the tabs array
|
413 |
-
if ( ! in_array( $tab_ID, $tabs ) ) {
|
414 |
-
|
415 |
-
// Add it to the tabs array
|
416 |
-
$tabs[$tab_ID] = array(
|
417 |
-
'title' => $module_option['tab'],
|
418 |
-
'id' => $tab_ID,
|
419 |
-
'section' => $section
|
420 |
-
);
|
421 |
-
|
422 |
-
}
|
423 |
-
|
424 |
-
}
|
425 |
-
|
426 |
-
$ext = ' ';
|
427 |
-
if ( isset( $module_option['ext'] ) )
|
428 |
-
$ext = $module_option['ext'];
|
429 |
-
|
430 |
-
$affect_on_change_append = '';
|
431 |
-
if ( isset( $module_option['affect_on_change_el'] ) && isset( $module_option['affect_on_change_rule'] ) )
|
432 |
-
$affect_on_change_append = 'data-affect-on-change-el="' . $module_option['affect_on_change_el'] . '" data-affect-on-change-rule="' . $module_option['affect_on_change_rule'] . '"';
|
433 |
-
|
434 |
-
|
435 |
-
?>
|
436 |
-
|
437 |
-
<div class="dslca-module-edit-option dslca-module-edit-option-<?php echo $module_option['type']; ?> dslca-module-edit-option-<?php echo $module_option['id']; ?> <?php if ( ! $visibility ) echo 'dslca-module-edit-option-hidden'; ?>" data-id="<?php echo $module_option['id']; ?>" data-refresh-on-change="<?php echo $refresh_on_change; ?>" data-section="<?php echo $section; ?>" data-tab="<?php echo $tab_ID; ?>">
|
438 |
-
|
439 |
-
<?php if ( isset( $module_option['help'] ) ) : ?>
|
440 |
-
<div class="dslca-module-edit-field-ttip-content"><?php echo $module_option['help']; ?></div>
|
441 |
-
<?php endif; ?>
|
442 |
-
|
443 |
-
<span class="dslca-module-edit-label">
|
444 |
-
<?php echo $module_option['label']; ?>
|
445 |
-
<?php if ( $module_option['type'] == 'icon' ): ?>
|
446 |
-
<span class="dslca-module-edit-field-icon-ttip-hook"><span class="dslca-icon dslc-icon-info"></span></span>
|
447 |
-
<span class="dslca-module-edit-field-icon-switch-set"><span class="dslca-module-edit-field-icon-curr-set"><?php echo dslc_icons_current_set( $curr_value ); ?></span><span class="dslca-icon dslc-icon-cog"></span></span>
|
448 |
-
<?php endif; ?>
|
449 |
-
<?php if ( isset( $module_option['help'] ) ) : ?>
|
450 |
-
<span class="dslca-module-edit-field-ttip-hook"><span class="dslca-icon dslc-icon-info"></span></span>
|
451 |
-
<?php endif; ?>
|
452 |
-
</span>
|
453 |
-
|
454 |
-
<?php if ( $module_option['type'] == 'text' ) : ?>
|
455 |
-
|
456 |
-
<input type="text" class="dslca-module-edit-field" name="<?php echo $module_option['id']; ?>" data-id="<?php echo $module_option['id']; ?>" value="<?php echo esc_attr( stripslashes( $curr_value ) ); ?>" data-starting-val="<?php echo esc_attr( stripslashes( $curr_value ) ); ?>" <?php echo $affect_on_change_append ?> />
|
457 |
-
|
458 |
-
<?php elseif ( $module_option['type'] == 'textarea' ) : ?>
|
459 |
-
|
460 |
-
<textarea class="dslca-module-edit-field" name="<?php echo $module_option['id']; ?>" data-id="<?php echo $module_option['id']; ?>" <?php echo $affect_on_change_append ?>><?php echo stripslashes( $curr_value ); ?></textarea>
|
461 |
-
|
462 |
-
<?php elseif ( $module_option['type'] == 'select' ) : ?>
|
463 |
-
|
464 |
-
<select class="dslca-module-edit-field" name="<?php echo $module_option['id']; ?>" data-id="<?php echo $module_option['id']; ?>" <?php echo $affect_on_change_append ?> >
|
465 |
-
<?php foreach( $module_option['choices'] as $select_option ) : ?>
|
466 |
-
<option value="<?php echo $select_option['value']; ?>" <?php if ( $curr_value == $select_option['value'] ) echo 'selected="selected"'; ?>><?php echo $select_option['label']; ?></option>
|
467 |
-
<?php endforeach; ?>
|
468 |
-
</select>
|
469 |
-
|
470 |
-
<?php elseif ( $module_option['type'] == 'checkbox' ) : ?>
|
471 |
-
|
472 |
-
<?php
|
473 |
-
|
474 |
-
// Current Value Array
|
475 |
-
if ( empty( $curr_value ) )
|
476 |
-
$curr_value = array();
|
477 |
-
else
|
478 |
-
$curr_value = explode( ' ', trim( $curr_value ) );
|
479 |
-
|
480 |
-
// Determined brakepoints
|
481 |
-
$chck_amount = count ( $module_option['choices'] );
|
482 |
-
$chck_breakpoint = ceil( $chck_amount / 1 );
|
483 |
-
$chck_count = 0;
|
484 |
-
|
485 |
-
?>
|
486 |
-
|
487 |
-
<div class="dslca-module-edit-option-checkbox-wrapper">
|
488 |
-
<?php foreach ( $module_option['choices'] as $checkbox_option ) : $chck_count++; ?>
|
489 |
-
<div class="dslca-module-edit-option-checkbox-single">
|
490 |
-
<span class="dslca-module-edit-option-checkbox-hook"><span class="dslca-icon <?php if ( in_array( $checkbox_option['value'], $curr_value ) ) echo 'dslc-icon-check'; else echo 'dslc-icon-check-empty'; ?>"></span><?php echo $checkbox_option['label']; ?></span>
|
491 |
-
<input type="checkbox" class="dslca-module-edit-field dslca-module-edit-field-checkbox" data-id="<?php echo $module_option['id']; ?>" name="<?php echo $module_option['id']; ?>" value="<?php echo $checkbox_option['value']; ?>" <?php if ( in_array( $checkbox_option['value'], $curr_value ) ) echo 'checked="checked"'; ?> <?php echo $affect_on_change_append ?> />
|
492 |
-
</div><!-- .dslca-module-edit-option-checkbox-single -->
|
493 |
-
<?php if ( $chck_count == $chck_breakpoint ) { echo '<br>'; $chck_count = 0; } ?>
|
494 |
-
<?php endforeach; ?>
|
495 |
-
</div><!-- .dslca-module-edit-option-checkbox-wrapper -->
|
496 |
-
|
497 |
-
<?php elseif ( $module_option['type'] == 'radio' ) : ?>
|
498 |
-
|
499 |
-
<div class="dslca-module-edit-option-radio-wrapper">
|
500 |
-
<?php foreach ( $module_option['choices'] as $checkbox_option ) : ?>
|
501 |
-
<div class="dslca-module-edit-option-radio-single">
|
502 |
-
<input type="radio" class="dslca-module-edit-field" data-id="<?php echo $module_option['id']; ?>" name="<?php echo $module_option['id']; ?>" value="<?php echo $checkbox_option['value']; ?>" /> <?php echo $checkbox_option['label']; ?><br>
|
503 |
-
</div><!-- .dslca-module-edit-option-radio-single -->
|
504 |
-
<?php endforeach; ?>
|
505 |
-
</div><!-- .dslca-module-edit-option-radio-wrapper -->
|
506 |
-
|
507 |
-
<?php elseif ( $module_option['type'] == 'color' ) : ?>
|
508 |
-
|
509 |
-
<?php
|
510 |
-
$default_value = false;
|
511 |
-
if ( isset( $module_option['std'] ) )
|
512 |
-
$default_value = $module_option['std'];
|
513 |
-
?>
|
514 |
-
|
515 |
-
<input type="text" class="dslca-module-edit-field dslca-module-edit-field-colorpicker" name="<?php echo $module_option['id']; ?>" data-id="<?php echo $module_option['id']; ?>" value="<?php echo $curr_value; ?>" data-affect-on-change-el="<?php echo $module_option['affect_on_change_el']; ?>" data-affect-on-change-rule="<?php echo $module_option['affect_on_change_rule']; ?>" <?php if ( $default_value ) : ?> data-default="<?php echo $default_value; ?>" <?php endif; ?> />
|
516 |
-
|
517 |
-
<?php elseif ( $module_option['type'] == 'slider' ) : ?>
|
518 |
-
|
519 |
-
<?php
|
520 |
-
|
521 |
-
$slider_min = 0;
|
522 |
-
$slider_max = 100;
|
523 |
-
$slider_increment = 1;
|
524 |
-
|
525 |
-
if ( isset( $module_option['min'] ) )
|
526 |
-
$slider_min = $module_option['min'];
|
527 |
-
|
528 |
-
if ( isset( $module_option['max'] ) )
|
529 |
-
$slider_max = $module_option['max'];
|
530 |
-
|
531 |
-
if ( isset( $module_option['increment'] ) )
|
532 |
-
$slider_increment = $module_option['increment'];
|
533 |
-
|
534 |
-
$numeric_option_type = dslc_get_option( 'lc_numeric_opt_type', 'dslc_plugin_options_other' );
|
535 |
-
if ( empty( $numeric_option_type ) )
|
536 |
-
$numeric_option_type = 'slider';
|
537 |
-
|
538 |
-
?>
|
539 |
-
|
540 |
-
<?php if ( $numeric_option_type == 'slider' ) : ?>
|
541 |
-
|
542 |
-
<div class="dslca-module-edit-field-slider"></div>
|
543 |
-
<span class="dslca-module-edit-field-slider-tooltip"><?php echo $curr_value; ?></span>
|
544 |
-
<input type="hidden" class="dslca-module-edit-field" name="<?php echo $module_option['id']; ?>" data-id="<?php echo $module_option['id']; ?>" value="<?php echo $curr_value; ?>" data-affect-on-change-el="<?php echo $module_option['affect_on_change_el']; ?>" data-affect-on-change-rule="<?php echo $module_option['affect_on_change_rule']; ?>" data-min="<?php echo $slider_min; ?>" data-max="<?php echo $slider_max; ?>" data-ext="<?php echo $ext; ?>" data-increment="<?php echo $slider_increment; ?>" />
|
545 |
-
|
546 |
-
<?php else : ?>
|
547 |
-
|
548 |
-
<div class="dslca-module-edit-field-numeric-wrap">
|
549 |
-
<input type="text" class="dslca-module-edit-field dslca-module-edit-field-numeric" name="<?php echo $module_option['id']; ?>" data-id="<?php echo $module_option['id']; ?>" value="<?php echo $curr_value; ?>" data-starting-val="<?php echo $curr_value; ?>" data-ext="<?php echo $ext; ?>" <?php echo $affect_on_change_append ?> />
|
550 |
-
<span class="dslca-module-edit-field-numeric-ext"><?php echo $module_option['ext']; ?></span>
|
551 |
-
</div>
|
552 |
-
|
553 |
-
|
554 |
-
<?php endif; ?>
|
555 |
-
|
556 |
-
<?php elseif ( $module_option['type'] == 'font' ) : ?>
|
557 |
-
|
558 |
-
<div class="dslca-module-edit-field-font-wrapper">
|
559 |
-
<input type="text" class="dslca-module-edit-field dslca-module-edit-field-font" name="<?php echo $module_option['id']; ?>" data-id="<?php echo $module_option['id']; ?>" value="<?php echo $curr_value; ?>" <?php echo $affect_on_change_append ?> />
|
560 |
-
<span class="dslca-module-edit-field-font-suggest"></span>
|
561 |
-
</div>
|
562 |
-
<span class="dslca-module-edit-field-font-prev"><span class="dslca-icon dslc-icon-chevron-left"></span></span>
|
563 |
-
<span class="dslca-module-edit-field-font-next"><span class="dslca-icon dslc-icon-chevron-right"></span></span>
|
564 |
-
|
565 |
-
<?php elseif ( $module_option['type'] == 'icon' ) : ?>
|
566 |
-
|
567 |
-
<div class="dslca-module-edit-field-icon-wrapper">
|
568 |
-
<input type="text" class="dslca-module-edit-field dslca-module-edit-field-icon" name="<?php echo $module_option['id']; ?>" data-id="<?php echo $module_option['id']; ?>" value="<?php echo $curr_value; ?>" <?php echo $affect_on_change_append ?> />
|
569 |
-
<span class="dslca-module-edit-field-icon-suggest"></span>
|
570 |
-
</div>
|
571 |
-
<span class="dslca-module-edit-field-icon-prev"><span class="dslca-icon dslc-icon-chevron-left"></span></span>
|
572 |
-
<span class="dslca-module-edit-field-icon-next"><span class="dslca-icon dslc-icon-chevron-right"></span></span>
|
573 |
-
|
574 |
-
<?php elseif ( $module_option['type'] == 'image' ) : ?>
|
575 |
-
|
576 |
-
<span class="dslca-module-edit-field-image-add-hook" <?php if ( $curr_value != '' ) echo 'style="display: none;"'; ?>><span class="dslca-icon dslc-icon-cloud-upload"></span><?php _e( 'Upload Image', 'live-composer-page-builder' ); ?></span>
|
577 |
-
<span class="dslca-module-edit-field-image-remove-hook" <?php if ( $curr_value == '' ) echo 'style="display: none;"'; ?>><span class="dslca-icon dslc-icon-remove"></span><?php _e( 'Remove Image', 'live-composer-page-builder' ); ?></span>
|
578 |
-
<input type="hidden" class="dslca-module-edit-field dslca-module-edit-field-image" name="<?php echo $module_option['id']; ?>" data-id="<?php echo $module_option['id']; ?>" value="<?php echo $curr_value; ?>" <?php echo $affect_on_change_append ?> />
|
579 |
-
|
580 |
-
<?php elseif ( $module_option['type'] == 'text_align' ) : ?>
|
581 |
-
|
582 |
-
<div class="dslca-module-edit-option-text-align-wrapper">
|
583 |
-
<div class="dslca-module-edit-option-text-align-single dslca-module-edit-option-text-align-hook <?php if ( $curr_value == 'inherit' ) echo 'dslca-active'; ?>" data-val="inherit">
|
584 |
-
<span class="dslca-icon dslc-icon-remove"></span>
|
585 |
-
</div>
|
586 |
-
<div class="dslca-module-edit-option-text-align-single dslca-module-edit-option-text-align-hook <?php if ( $curr_value == 'left' ) echo 'dslca-active'; ?>" data-val="left">
|
587 |
-
<span class="dslca-icon dslc-icon-align-left"></span>
|
588 |
-
</div>
|
589 |
-
<div class="dslca-module-edit-option-text-align-single dslca-module-edit-option-text-align-hook <?php if ( $curr_value == 'center' ) echo 'dslca-active'; ?>" data-val="center">
|
590 |
-
<span class="dslca-icon dslc-icon-align-center"></span>
|
591 |
-
</div>
|
592 |
-
<div class="dslca-module-edit-option-text-align-single dslca-module-edit-option-text-align-hook <?php if ( $curr_value == 'right' ) echo 'dslca-active'; ?>" data-val="right">
|
593 |
-
<span class="dslca-icon dslc-icon-align-right"></span>
|
594 |
-
</div>
|
595 |
-
<div class="dslca-module-edit-option-text-align-single dslca-module-edit-option-text-align-hook <?php if ( $curr_value == 'justify' ) echo 'dslca-active'; ?>" data-val="justify">
|
596 |
-
<span class="dslca-icon dslc-icon-align-justify"></span>
|
597 |
-
</div>
|
598 |
-
</div>
|
599 |
-
|
600 |
-
<input type="hidden" class="dslca-module-edit-field dslca-module-edit-field-text-align" name="<?php echo $module_option['id']; ?>" data-id="<?php echo $module_option['id']; ?>" value="<?php echo $curr_value; ?>" <?php echo $affect_on_change_append ?> />
|
601 |
-
|
602 |
-
<?php elseif ( $module_option['type'] == 'box_shadow' ) : ?>
|
603 |
-
|
604 |
-
<?php
|
605 |
-
$box_shadow_hor_val = 0;
|
606 |
-
$box_shadow_ver_val = 0;
|
607 |
-
$box_shadow_blur_val = 0;
|
608 |
-
$box_shadow_spread_val = 0;
|
609 |
-
$box_shadow_color_val = 'transparent';
|
610 |
-
$box_shadow_inset_val = 'outset';
|
611 |
-
$box_shadow_val = false;
|
612 |
-
if ( $curr_value !== '' ) {
|
613 |
-
$box_shadow_val = explode( ' ', $curr_value );
|
614 |
-
}
|
615 |
-
if ( is_array( $box_shadow_val ) ) {
|
616 |
-
$box_shadow_hor_val = str_replace('px', '', $box_shadow_val[0] );
|
617 |
-
$box_shadow_ver_val = str_replace('px', '', $box_shadow_val[1] );
|
618 |
-
$box_shadow_blur_val = str_replace('px', '', $box_shadow_val[2] );
|
619 |
-
$box_shadow_spread_val = str_replace('px', '', $box_shadow_val[3] );
|
620 |
-
$box_shadow_color_val = str_replace('px', '', $box_shadow_val[4] );
|
621 |
-
if ( isset( $box_shadow_val[5] ) ) {
|
622 |
-
$box_shadow_inset_val = $box_shadow_val[5];
|
623 |
-
}
|
624 |
-
}
|
625 |
-
?>
|
626 |
-
|
627 |
-
<div class="dslca-module-edit-option-box-shadow-wrapper">
|
628 |
-
|
629 |
-
<div class="dslca-module-edit-option-box-shadow-single">
|
630 |
-
<span class="dslca-module-edit-option-checkbox-hook"><?php _e( 'Inner', 'live-composer-page-builder' ); ?><span class="dslca-icon <?php if ( $box_shadow_inset_val == 'inset' ) echo 'dslc-icon-check'; else echo 'dslc-icon-check-empty'; ?>"></span></span>
|
631 |
-
<input type="checkbox" class="dslca-module-edit-field-checkbox dslca-module-edit-option-box-shadow-inset" <?php if ( $box_shadow_inset_val == 'inset' ) echo 'checked="checked"'; ?> />
|
632 |
-
</div>
|
633 |
-
<div class="dslca-module-edit-option-box-shadow-single">
|
634 |
-
<span><?php _e( 'Hor', 'live-composer-page-builder' ); ?></span><input class="dslca-module-edit-option-box-shadow-hor" step="0.1" type="number" value="<?php echo $box_shadow_hor_val; ?>" />
|
635 |
-
</div>
|
636 |
-
<div class="dslca-module-edit-option-box-shadow-single">
|
637 |
-
<span><?php _e( 'Ver', 'live-composer-page-builder' ); ?></span><input class="dslca-module-edit-option-box-shadow-ver" step="0.1" type="number" value="<?php echo $box_shadow_ver_val; ?>" />
|
638 |
-
</div>
|
639 |
-
<div class="dslca-module-edit-option-box-shadow-single">
|
640 |
-
<span><?php _e( 'Blur', 'live-composer-page-builder' ); ?></span><input class="dslca-module-edit-option-box-shadow-blur" step="0.1" type="number" value="<?php echo $box_shadow_blur_val; ?>" />
|
641 |
-
</div>
|
642 |
-
<div class="dslca-module-edit-option-box-shadow-single">
|
643 |
-
<span><?php _e( 'Spread', 'live-composer-page-builder' ); ?></span><input class="dslca-module-edit-option-box-shadow-spread" step="0.1" type="number" value="<?php echo $box_shadow_spread_val; ?>" />
|
644 |
-
</div>
|
645 |
-
<div class="dslca-module-edit-option-box-shadow-single">
|
646 |
-
<span><?php _e( 'Color', 'live-composer-page-builder' ); ?></span><input class="dslca-module-edit-option-box-shadow-color" type="text" value="<?php echo $box_shadow_color_val; ?>" />
|
647 |
-
</div>
|
648 |
-
|
649 |
-
<input type="hidden" class="dslca-module-edit-field dslca-module-edit-field-box-shadow" name="<?php echo $module_option['id']; ?>" data-id="<?php echo $module_option['id']; ?>" value="<?php echo $curr_value; ?>" <?php echo $affect_on_change_append ?> />
|
650 |
-
|
651 |
-
</div><!-- .dslca-module-edit-option-box-shadow-wrapper -->
|
652 |
-
|
653 |
-
<?php elseif ( $module_option['type'] == 'text_shadow' ) : ?>
|
654 |
-
|
655 |
-
<?php
|
656 |
-
$text_shadow_hor_val = 0;
|
657 |
-
$text_shadow_ver_val = 0;
|
658 |
-
$text_shadow_blur_val = 0;
|
659 |
-
$text_shadow_color_val = 'transparent';
|
660 |
-
|
661 |
-
$text_shadow_val = false;
|
662 |
-
if ( $curr_value !== '' ) {
|
663 |
-
$text_shadow_val = explode( ' ', $curr_value );
|
664 |
-
}
|
665 |
-
|
666 |
-
if ( is_array( $text_shadow_val ) ) {
|
667 |
-
$text_shadow_hor_val = str_replace('px', '', $text_shadow_val[0] );
|
668 |
-
$text_shadow_ver_val = str_replace('px', '', $text_shadow_val[1] );
|
669 |
-
$text_shadow_blur_val = str_replace('px', '', $text_shadow_val[2] );
|
670 |
-
$text_shadow_color_val = str_replace('px', '', $text_shadow_val[4] );
|
671 |
-
}
|
672 |
-
?>
|
673 |
-
|
674 |
-
<div class="dslca-module-edit-option-text-shadow-wrapper">
|
675 |
-
|
676 |
-
<div class="dslca-module-edit-option-text-shadow-single">
|
677 |
-
<span><?php _e( 'Hor', 'live-composer-page-builder' ); ?></span><input class="dslca-module-edit-option-text-shadow-hor" step="0.1" type="number" value="<?php echo $text_shadow_hor_val; ?>" />
|
678 |
-
</div>
|
679 |
-
<div class="dslca-module-edit-option-text-shadow-single">
|
680 |
-
<span><?php _e( 'Ver', 'live-composer-page-builder' ); ?></span><input class="dslca-module-edit-option-text-shadow-ver" step="0.1" type="number" value="<?php echo $text_shadow_ver_val; ?>" />
|
681 |
-
</div>
|
682 |
-
<div class="dslca-module-edit-option-text-shadow-single">
|
683 |
-
<span><?php _e( 'Blur', 'live-composer-page-builder' ); ?></span><input class="dslca-module-edit-option-text-shadow-blur" step="0.1" type="number" value="<?php echo $text_shadow_blur_val; ?>" />
|
684 |
-
</div>
|
685 |
-
<div class="dslca-module-edit-option-text-shadow-single">
|
686 |
-
<span><?php _e( 'Color', 'live-composer-page-builder' ); ?></span><input class="dslca-module-edit-option-text-shadow-color" type="text" value="<?php echo $text_shadow_color_val; ?>" />
|
687 |
-
</div>
|
688 |
-
|
689 |
-
<input type="hidden" class="dslca-module-edit-field dslca-module-edit-field-text-shadow" name="<?php echo $module_option['id']; ?>" data-id="<?php echo $module_option['id']; ?>" value="<?php echo $curr_value; ?>" <?php echo $affect_on_change_append ?> />
|
690 |
-
|
691 |
-
</div><!-- .dslca-module-edit-option-text-shadow-wrapper -->
|
692 |
-
|
693 |
-
<?php else : ?>
|
694 |
-
|
695 |
-
<?php if ( has_action( 'dslc_custom_option_type_' . $module_option['type'] ) ) : ?>
|
696 |
-
|
697 |
-
<?php do_action( 'dslc_custom_option_type_' . $module_option['type'], $module_option, $curr_value, $affect_on_change_append ); ?>
|
698 |
-
|
699 |
-
<?php else : ?>
|
700 |
-
|
701 |
-
<input type="text" class="dslca-module-edit-field" name="<?php echo $module_option['id']; ?>" data-id="<?php echo $module_option['id']; ?>" value="<?php echo $curr_value; ?>" data-starting-val="<?php echo $curr_value; ?>" <?php echo $affect_on_change_append ?> />
|
702 |
-
|
703 |
-
<?php endif; ?>
|
704 |
-
|
705 |
-
<?php endif; ?>
|
706 |
-
|
707 |
-
</div><!-- .dslc-module-edit-option -->
|
708 |
-
|
709 |
-
<?php
|
710 |
-
|
711 |
-
}
|
712 |
-
|
713 |
-
$output_fields = ob_get_contents();
|
714 |
-
ob_end_clean();
|
715 |
-
|
716 |
-
// Output Start
|
717 |
-
$output_start = '<div class="dslca-module-edit-options-wrapper dslc-clearfix">';
|
718 |
-
|
719 |
-
// Output End
|
720 |
-
$output_end = '</div>';
|
721 |
-
|
722 |
-
// Output Tabs
|
723 |
-
$output_tabs = '';
|
724 |
-
foreach ( $tabs as $tab ) {
|
725 |
-
$output_tabs .= '<span class="dslca-module-edit-options-tab-hook" data-section="' . $tab['section'] . '" data-id="'. $tab['id'] .'">' . $tab['title'] . '</span>';
|
726 |
-
}
|
727 |
-
|
728 |
-
// Combine output
|
729 |
-
$response['output_tabs'] .= $output_tabs;
|
730 |
-
$response['output'] .= $output_start;
|
731 |
-
$response['output'] .= $output_fields;
|
732 |
-
$response['output'] .= $output_end;
|
733 |
-
|
734 |
-
// Encode response
|
735 |
-
$response_json = json_encode( $response );
|
736 |
-
|
737 |
-
// Send the response
|
738 |
-
header( "Content-Type: application/json" );
|
739 |
-
echo $response_json;
|
740 |
-
|
741 |
-
// Auf wiedersehen
|
742 |
-
exit;
|
743 |
-
|
744 |
-
}
|
745 |
-
|
746 |
-
} add_action( 'wp_ajax_dslc-ajax-display-module-options', 'dslc_ajax_display_module_options' );
|
747 |
-
|
748 |
-
|
749 |
-
/**
|
750 |
-
* Save composer code
|
751 |
-
*
|
752 |
-
* @since 1.0
|
753 |
-
*/
|
754 |
-
|
755 |
-
function dslc_ajax_save_composer( $atts ) {
|
756 |
-
|
757 |
-
// Allowed to do this?
|
758 |
-
if ( is_user_logged_in() && current_user_can( DS_LIVE_COMPOSER_CAPABILITY_SAVE ) ) {
|
759 |
-
|
760 |
-
// The array we'll pass back to the AJAX call
|
761 |
-
$response = array();
|
762 |
-
|
763 |
-
// The composer code
|
764 |
-
$composer_code = $_POST['dslc_code'];
|
765 |
-
|
766 |
-
// The content for search
|
767 |
-
$content_for_search = $_POST['dslc_content_for_search'];
|
768 |
-
|
769 |
-
// The ID of the post/page
|
770 |
-
$post_id = $_POST['dslc_post_id'];
|
771 |
-
|
772 |
-
// Add/update the post/page with the composer code
|
773 |
-
if ( update_post_meta( $post_id, 'dslc_code', $composer_code ) )
|
774 |
-
$response['status'] = 'success';
|
775 |
-
else
|
776 |
-
$response['status'] = 'failed';
|
777 |
-
|
778 |
-
// Add/update the post/page with the content for search
|
779 |
-
if ( update_post_meta( $post_id, 'dslc_content_for_search', $content_for_search ) )
|
780 |
-
$response['status'] = 'success';
|
781 |
-
|
782 |
-
// Delete draft code
|
783 |
-
delete_post_meta( $post_id, 'dslc_code_draft' );
|
784 |
-
|
785 |
-
// Encode response
|
786 |
-
$response_json = json_encode( $response );
|
787 |
-
|
788 |
-
// Send the response
|
789 |
-
header( "Content-Type: application/json" );
|
790 |
-
echo $response_json;
|
791 |
-
|
792 |
-
// Refresh cache
|
793 |
-
if ( function_exists( 'wp_cache_post_change' ) ) {
|
794 |
-
$GLOBALS['super_cache_enabled'] = 1;
|
795 |
-
wp_cache_post_change( $post_id );
|
796 |
-
}
|
797 |
-
|
798 |
-
// Au revoir
|
799 |
-
exit;
|
800 |
-
|
801 |
-
}
|
802 |
-
|
803 |
-
} add_action( 'wp_ajax_dslc-ajax-save-composer', 'dslc_ajax_save_composer' );
|
804 |
-
|
805 |
-
/**
|
806 |
-
* Save composer code
|
807 |
-
*
|
808 |
-
* @since 1.0
|
809 |
-
*/
|
810 |
-
|
811 |
-
function dslc_ajax_save_draft_composer( $atts ) {
|
812 |
-
|
813 |
-
// Allowed to do this?
|
814 |
-
if ( is_user_logged_in() && current_user_can( DS_LIVE_COMPOSER_CAPABILITY_SAVE ) ) {
|
815 |
-
|
816 |
-
// The array we'll pass back to the AJAX call
|
817 |
-
$response = array();
|
818 |
-
|
819 |
-
// The composer code
|
820 |
-
$composer_code = $_POST['dslc_code'];
|
821 |
-
|
822 |
-
// The ID of the post/page
|
823 |
-
$post_id = $_POST['dslc_post_id'];
|
824 |
-
|
825 |
-
// Add/update the post/page with the composer code
|
826 |
-
if ( update_post_meta( $post_id, 'dslc_code_draft', $composer_code ) )
|
827 |
-
$response['status'] = 'success';
|
828 |
-
else
|
829 |
-
$response['status'] = 'failed';
|
830 |
-
|
831 |
-
// Encode response
|
832 |
-
$response_json = json_encode( $response );
|
833 |
-
|
834 |
-
// Send the response
|
835 |
-
header( "Content-Type: application/json" );
|
836 |
-
echo $response_json;
|
837 |
-
|
838 |
-
// Refresh cache
|
839 |
-
if ( function_exists( 'wp_cache_post_change' ) ) {
|
840 |
-
$GLOBALS['super_cache_enabled'] = 1;
|
841 |
-
wp_cache_post_change( $post_id );
|
842 |
-
}
|
843 |
-
|
844 |
-
// Au revoir
|
845 |
-
exit;
|
846 |
-
|
847 |
-
}
|
848 |
-
|
849 |
-
} add_action( 'wp_ajax_dslc-ajax-save-draft-composer', 'dslc_ajax_save_draft_composer' );
|
850 |
-
|
851 |
-
/**
|
852 |
-
* Load a template
|
853 |
-
*
|
854 |
-
* @since 1.0
|
855 |
-
*/
|
856 |
-
|
857 |
-
function dslc_ajax_load_template( $atts ) {
|
858 |
-
|
859 |
-
// Allowed to do this?
|
860 |
-
if ( is_user_logged_in() && current_user_can( DS_LIVE_COMPOSER_CAPABILITY ) ) {
|
861 |
-
|
862 |
-
// The array that holds active templates
|
863 |
-
$templates = dslc_get_templates();
|
864 |
-
|
865 |
-
// The array we'll pass back to the AJAX call
|
866 |
-
$response = array();
|
867 |
-
|
868 |
-
// The ID of the template to load
|
869 |
-
$template_id = $_POST['dslc_template_id'];
|
870 |
-
|
871 |
-
// The code of the template to load
|
872 |
-
$template_code = $templates[$template_id]['code'];
|
873 |
-
|
874 |
-
// Apply for new ID
|
875 |
-
$template_code = str_replace( '[dslc_module ', '[dslc_module give_new_id="true" ', $template_code);
|
876 |
-
$template_code = str_replace( '[dslc_module]', '[dslc_module give_new_id="true"]', $template_code);
|
877 |
-
|
878 |
-
// Get the front-end output
|
879 |
-
$response['output'] = do_shortcode ( $template_code );
|
880 |
-
|
881 |
-
// Encode response
|
882 |
-
$response_json = json_encode( $response );
|
883 |
-
|
884 |
-
// Send the response
|
885 |
-
header( "Content-Type: application/json" );
|
886 |
-
echo $response_json;
|
887 |
-
|
888 |
-
// Cheers
|
889 |
-
exit;
|
890 |
-
|
891 |
-
}
|
892 |
-
|
893 |
-
} add_action( 'wp_ajax_dslc-ajax-load-template', 'dslc_ajax_load_template' );
|
894 |
-
|
895 |
-
|
896 |
-
|
897 |
-
/**
|
898 |
-
* Import a template
|
899 |
-
*
|
900 |
-
* @since 1.0
|
901 |
-
*/
|
902 |
-
|
903 |
-
function dslc_ajax_import_template( $atts ) {
|
904 |
-
|
905 |
-
// Allowed to do this?
|
906 |
-
if ( is_user_logged_in() && current_user_can( DS_LIVE_COMPOSER_CAPABILITY ) ) {
|
907 |
-
|
908 |
-
// The array we'll pass back to the AJAX call
|
909 |
-
$response = array();
|
910 |
-
|
911 |
-
// The code of the template
|
912 |
-
$template_code = stripslashes( $_POST['dslc_template_code'] );
|
913 |
-
|
914 |
-
// Apply for new ID
|
915 |
-
$template_code = str_replace( '[dslc_module ', '[dslc_module give_new_id="true" ', $template_code);
|
916 |
-
$template_code = str_replace( '[dslc_module]', '[dslc_module give_new_id="true"]', $template_code);
|
917 |
-
|
918 |
-
// Get the front-end output
|
919 |
-
$response['output'] = do_shortcode ( $template_code );
|
920 |
-
|
921 |
-
// Encode response
|
922 |
-
$response_json = json_encode( $response );
|
923 |
-
|
924 |
-
// Send the response
|
925 |
-
header( "Content-Type: application/json" );
|
926 |
-
echo $response_json;
|
927 |
-
|
928 |
-
// Bye bye
|
929 |
-
exit;
|
930 |
-
|
931 |
-
}
|
932 |
-
|
933 |
-
} add_action( 'wp_ajax_dslc-ajax-import-template', 'dslc_ajax_import_template' );
|
934 |
-
|
935 |
-
|
936 |
-
/**
|
937 |
-
* Save a custom template
|
938 |
-
*
|
939 |
-
* @since 1.0
|
940 |
-
*/
|
941 |
-
|
942 |
-
function dslc_ajax_save_template( $atts ) {
|
943 |
-
|
944 |
-
// Allowed to do this?
|
945 |
-
if ( is_user_logged_in() && current_user_can( DS_LIVE_COMPOSER_CAPABILITY_SAVE ) ) {
|
946 |
-
|
947 |
-
// Response to the AJAX call
|
948 |
-
$response = array();
|
949 |
-
|
950 |
-
// To let the AJAX know how it went (all good for now)
|
951 |
-
$response['status'] = 'success';
|
952 |
-
|
953 |
-
// Get new template data
|
954 |
-
$template_title = stripslashes( $_POST['dslc_template_title'] );
|
955 |
-
$template_id = strtolower( str_replace( ' ', '-', $template_title) );
|
956 |
-
$template_code = stripslashes( $_POST['dslc_template_code'] );
|
957 |
-
|
958 |
-
// Get current templates
|
959 |
-
$templates = get_option( 'dslc_templates' );
|
960 |
-
|
961 |
-
// No templates = make empty array OR templates found = unserialize
|
962 |
-
if ( $templates === false )
|
963 |
-
$templates = array();
|
964 |
-
else
|
965 |
-
$templates = maybe_unserialize( $templates );
|
966 |
-
|
967 |
-
// Append new template to templates array
|
968 |
-
$templates[$template_id] = array(
|
969 |
-
'title' => $template_title,
|
970 |
-
'id' => $template_id,
|
971 |
-
'code' => $template_code,
|
972 |
-
'section' => 'user'
|
973 |
-
);
|
974 |
-
|
975 |
-
// Save new templates array to db
|
976 |
-
update_option( 'dslc_templates', maybe_serialize( $templates ) );
|
977 |
-
|
978 |
-
// Generate response
|
979 |
-
$response['output'] = $templates;
|
980 |
-
|
981 |
-
// Encode response
|
982 |
-
$response_json = json_encode( $response );
|
983 |
-
|
984 |
-
// AJAX phone home
|
985 |
-
header( "Content-Type: application/json" );
|
986 |
-
echo $response_json;
|
987 |
-
|
988 |
-
// Asta la vista
|
989 |
-
exit;
|
990 |
-
|
991 |
-
}
|
992 |
-
|
993 |
-
} add_action( 'wp_ajax_dslc-ajax-save-template', 'dslc_ajax_save_template' );
|
994 |
-
|
995 |
-
/**
|
996 |
-
* Delete a custom template
|
997 |
-
*
|
998 |
-
* @since 1.0
|
999 |
-
*/
|
1000 |
-
|
1001 |
-
function dslc_ajax_delete_template( $atts ) {
|
1002 |
-
|
1003 |
-
// Allowed to do this?
|
1004 |
-
if ( is_user_logged_in() && current_user_can( DS_LIVE_COMPOSER_CAPABILITY_SAVE ) ) {
|
1005 |
-
|
1006 |
-
$response = array();
|
1007 |
-
$response['status'] = 'success';
|
1008 |
-
|
1009 |
-
// ID of the template to delete
|
1010 |
-
$template_id = $_POST['dslc_template_id'];
|
1011 |
-
|
1012 |
-
// Get all templates
|
1013 |
-
$templates = maybe_unserialize( get_option( 'dslc_templates' ) );
|
1014 |
-
|
1015 |
-
// Remove the template
|
1016 |
-
unset( $templates[$template_id] );
|
1017 |
-
|
1018 |
-
// Save new templates array to db
|
1019 |
-
update_option( 'dslc_templates', maybe_serialize( $templates ) );
|
1020 |
-
|
1021 |
-
// Generate response
|
1022 |
-
$response['output'] = $templates;
|
1023 |
-
|
1024 |
-
// Encode response
|
1025 |
-
$response_json = json_encode( $response );
|
1026 |
-
|
1027 |
-
// AJAX phone home
|
1028 |
-
header( "Content-Type: application/json" );
|
1029 |
-
echo $response_json;
|
1030 |
-
|
1031 |
-
// Asta la vista
|
1032 |
-
exit;
|
1033 |
-
|
1034 |
-
}
|
1035 |
-
|
1036 |
-
} add_action( 'wp_ajax_dslc-ajax-delete-template', 'dslc_ajax_delete_template' );
|
1037 |
-
|
1038 |
-
/**
|
1039 |
-
* Get new module ID
|
1040 |
-
*
|
1041 |
-
* @since 1.0
|
1042 |
-
*/
|
1043 |
-
|
1044 |
-
function dslc_ajax_get_new_module_id() {
|
1045 |
-
|
1046 |
-
// Allowed to do this?
|
1047 |
-
if ( is_user_logged_in() && current_user_can( DS_LIVE_COMPOSER_CAPABILITY_SAVE ) ) {
|
1048 |
-
|
1049 |
-
$response = array();
|
1050 |
-
$response['status'] = 'success';
|
1051 |
-
|
1052 |
-
// Get current count
|
1053 |
-
$module_id_count = get_option( 'dslc_module_id_count' );
|
1054 |
-
|
1055 |
-
// Increment by one
|
1056 |
-
$module_instance_id = $module_id_count + 1;
|
1057 |
-
|
1058 |
-
// Update the count
|
1059 |
-
update_option( 'dslc_module_id_count', $module_instance_id );
|
1060 |
-
|
1061 |
-
// Generate response
|
1062 |
-
$response['output'] = $module_instance_id;
|
1063 |
-
|
1064 |
-
// Encode response
|
1065 |
-
$response_json = json_encode( $response );
|
1066 |
-
|
1067 |
-
// AJAX phone home
|
1068 |
-
header( "Content-Type: application/json" );
|
1069 |
-
echo $response_json;
|
1070 |
-
|
1071 |
-
// Asta la vista
|
1072 |
-
exit;
|
1073 |
-
|
1074 |
-
}
|
1075 |
-
|
1076 |
-
} add_action( 'wp_ajax_dslc-ajax-get-new-module-id', 'dslc_ajax_get_new_module_id' );
|
1077 |
-
|
1078 |
-
/**
|
1079 |
-
* Import a modules section
|
1080 |
-
*
|
1081 |
-
* @since 1.0
|
1082 |
-
*/
|
1083 |
-
|
1084 |
-
function dslc_ajax_import_modules_section( $atts ) {
|
1085 |
-
|
1086 |
-
// Allowed to do this?
|
1087 |
-
if ( is_user_logged_in() && current_user_can( DS_LIVE_COMPOSER_CAPABILITY ) ) {
|
1088 |
-
|
1089 |
-
// The array we'll pass back to the AJAX call
|
1090 |
-
$response = array();
|
1091 |
-
|
1092 |
-
// The code of the modules section
|
1093 |
-
$modules_code = stripslashes( $_POST['dslc_modules_section_code'] );
|
1094 |
-
|
1095 |
-
// Apply for new ID
|
1096 |
-
$modules_code = str_replace( '[dslc_module ', '[dslc_module give_new_id="true" ', $modules_code);
|
1097 |
-
$modules_code = str_replace( '[dslc_module]', '[dslc_module give_new_id="true"]', $modules_code);
|
1098 |
-
|
1099 |
-
// Get the front-end output
|
1100 |
-
$response['output'] = do_shortcode ( $modules_code );
|
1101 |
-
|
1102 |
-
// Encode response
|
1103 |
-
$response_json = json_encode( $response );
|
1104 |
-
|
1105 |
-
// Send the response
|
1106 |
-
header( "Content-Type: application/json" );
|
1107 |
-
echo $response_json;
|
1108 |
-
|
1109 |
-
// Bye bye
|
1110 |
-
exit;
|
1111 |
-
|
1112 |
-
}
|
1113 |
-
|
1114 |
-
} add_action( 'wp_ajax_dslc-ajax-import-modules-section', 'dslc_ajax_import_modules_section' );
|
1115 |
-
|
1116 |
-
/**
|
1117 |
-
* Return the code to alter defaults for a module
|
1118 |
-
*
|
1119 |
-
* @since 1.0
|
1120 |
-
*/
|
1121 |
-
|
1122 |
-
function dslc_ajax_dm_module_defaults_code( $atts ) {
|
1123 |
-
|
1124 |
-
// Allowed to do this?
|
1125 |
-
if ( is_user_logged_in() && current_user_can( DS_LIVE_COMPOSER_CAPABILITY ) ) {
|
1126 |
-
|
1127 |
-
$code = '';
|
1128 |
-
|
1129 |
-
// The array we'll pass back to the AJAX call
|
1130 |
-
$response = array();
|
1131 |
-
|
1132 |
-
// The options serialized array
|
1133 |
-
$modules_code = stripslashes( $_POST['dslc_modules_options'] );
|
1134 |
-
|
1135 |
-
// Turn the string of settings into an array
|
1136 |
-
$settings_new = maybe_unserialize( base64_decode( $modules_code ) );
|
1137 |
-
|
1138 |
-
if ( is_array( $settings_new ) ) {
|
1139 |
-
|
1140 |
-
// The ID of the module
|
1141 |
-
$module_id = $settings_new['module_id'];
|
1142 |
-
|
1143 |
-
// Instanciate the module class
|
1144 |
-
$module_instance = new $module_id();
|
1145 |
-
|
1146 |
-
// Module output
|
1147 |
-
$settings = $module_instance->options();
|
1148 |
-
|
1149 |
-
$code .= "if ( " . '$id' ." == '" . $module_id . "' ) {
|
1150 |
-
". '$new_defaults = array(' . "
|
1151 |
-
";
|
1152 |
-
|
1153 |
-
// Fix settings when a new option added after a module is used
|
1154 |
-
foreach( $settings as $key => $setting ) {
|
1155 |
-
|
1156 |
-
if ( isset( $settings_new[ $setting['id'] ] ) ) {
|
1157 |
-
|
1158 |
-
if ( $settings_new[ $setting['id'] ] != $settings[$key]['std'] ) {
|
1159 |
-
$code .= " '" . $setting['id'] . "' => '" . $settings_new[ $setting['id'] ] . "',
|
1160 |
-
";
|
1161 |
-
}
|
1162 |
-
|
1163 |
-
}
|
1164 |
-
|
1165 |
-
}
|
1166 |
-
|
1167 |
-
$code .= ' );
|
1168 |
-
}';
|
1169 |
-
|
1170 |
-
}
|
1171 |
-
|
1172 |
-
// Get the front-end output
|
1173 |
-
$response['output'] = $code;
|
1174 |
-
|
1175 |
-
// Encode response
|
1176 |
-
$response_json = json_encode( $response );
|
1177 |
-
|
1178 |
-
// Send the response
|
1179 |
-
header( "Content-Type: application/json" );
|
1180 |
-
echo $response_json;
|
1181 |
-
|
1182 |
-
// Bye bye
|
1183 |
-
exit;
|
1184 |
-
|
1185 |
-
}
|
1186 |
-
|
1187 |
-
} add_action( 'wp_ajax_dslc-ajax-dm-module-defaults', 'dslc_ajax_dm_module_defaults_code' );
|
1188 |
-
|
1189 |
-
/**
|
1190 |
-
* Save module styling preset
|
1191 |
-
* dslc_save_preset is located in functions.php
|
1192 |
-
*
|
1193 |
-
* @since 1.0
|
1194 |
-
*/
|
1195 |
-
|
1196 |
-
function dslc_ajax_save_preset() {
|
1197 |
-
|
1198 |
-
// Allowed to do this?
|
1199 |
-
if ( is_user_logged_in() && current_user_can( DS_LIVE_COMPOSER_CAPABILITY ) ) {
|
1200 |
-
|
1201 |
-
// The array we'll pass back to the AJAX call
|
1202 |
-
$response = array();
|
1203 |
-
|
1204 |
-
// Get the preset data
|
1205 |
-
$preset_name = stripslashes( $_POST['dslc_preset_name'] );
|
1206 |
-
$preset_code_raw = stripslashes( $_POST['dslc_preset_code'] );
|
1207 |
-
$module_id = stripslashes( $_POST['dslc_module_id'] );
|
1208 |
-
|
1209 |
-
// Save
|
1210 |
-
if ( dslc_save_preset( $preset_name, $preset_code_raw, $module_id ) )
|
1211 |
-
$response['status'] = 'success';
|
1212 |
-
else
|
1213 |
-
$response['status'] = 'error';
|
1214 |
-
|
1215 |
-
// Encode response
|
1216 |
-
$response_json = json_encode( $response );
|
1217 |
-
|
1218 |
-
// Send the response
|
1219 |
-
header( "Content-Type: application/json" );
|
1220 |
-
echo $response_json;
|
1221 |
-
|
1222 |
-
// Bye bye
|
1223 |
-
exit;
|
1224 |
-
|
1225 |
-
}
|
1226 |
-
|
1227 |
} add_action( 'wp_ajax_dslc-ajax-save-preset', 'dslc_ajax_save_preset' );
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* Table of contents
|
5 |
+
*
|
6 |
+
* - dslc_ajax_add_modules_section ( Echo new modules section HTML )
|
7 |
+
* - dslc_ajax_add_modules_area ( Echo new modules area HTML )
|
8 |
+
* - dslc_ajax_add_module ( Load the module's front ened output)
|
9 |
+
* - dslc_ajax_display_module_options ( Display options for a specific module )
|
10 |
+
* - dslc_ajax_save_composer ( Save the composer code )
|
11 |
+
* - dslc_ajax_save_draft_composer ( Save changes as draft )
|
12 |
+
* - dslc_ajax_load_template ( Loads front end output of a specific template )
|
13 |
+
* - dslc_ajax_import_template ( Loads front ened output of an exported template )
|
14 |
+
* - dslc_ajax_save_template ( Save template for future use )
|
15 |
+
* - dslc_ajax_delete_template ( Deletes a saved template )
|
16 |
+
* - dslc_ajax_get_new_module_id ( Returns a new unique ID, similar to post ID )
|
17 |
+
* - dslc_ajax_import_modules_section ( Loads front-end output for exported section )
|
18 |
+
* - dslc_ajax_dm_module_defaults_code ( Returns the code to alter the defaults for the module options )
|
19 |
+
* - dslc_ajax_save_preset ( Save module styling preset )
|
20 |
+
*/
|
21 |
+
|
22 |
+
/**
|
23 |
+
* Add a new module section
|
24 |
+
*
|
25 |
+
* @since 1.0
|
26 |
+
*/
|
27 |
+
|
28 |
+
function dslc_ajax_add_modules_section( $atts ) {
|
29 |
+
|
30 |
+
// Allowed to do this?
|
31 |
+
if ( is_user_logged_in() && current_user_can( DS_LIVE_COMPOSER_CAPABILITY ) ) {
|
32 |
+
|
33 |
+
// The array we'll pass back to the AJAX call
|
34 |
+
$response = array();
|
35 |
+
|
36 |
+
// Allows devs to add classes
|
37 |
+
$filter_classes = array();
|
38 |
+
$filter_classes = apply_filters( 'dslc_row_class', $filter_classes );
|
39 |
+
$extra_classes = '';
|
40 |
+
if ( count( $filter_classes ) > 0 ) {
|
41 |
+
foreach ( $filter_classes as $filter_class ) {
|
42 |
+
$extra_classes .= $filter_class . ' ';
|
43 |
+
}
|
44 |
+
}
|
45 |
+
|
46 |
+
// The output
|
47 |
+
$output = '<div class="dslc-modules-section dslc-modules-section-empty ' . $extra_classes . '" style="' . dslc_row_get_style() . '">
|
48 |
+
<div class="dslc-bg-video"><div class="dslc-bg-video-inner"></div><div class="dslc-bg-video-overlay"></div></div>
|
49 |
+
<div class="dslc-modules-section-wrapper">
|
50 |
+
<div class="dslc-modules-section-inner dslc-clearfix">
|
51 |
+
<div class="dslc-modules-area dslc-col dslc-12-col" data-size="12">
|
52 |
+
<div class="dslc-modules-area-inner">
|
53 |
+
<div class="dslca-modules-area-manage">
|
54 |
+
<div class="dslca-modules-area-manage-inner">
|
55 |
+
<span class="dslca-manage-action dslca-copy-modules-area-hook"><span class="dslca-icon dslc-icon-copy"></span></span>
|
56 |
+
<span class="dslca-manage-action dslca-move-modules-area-hook"><span class="dslca-icon dslc-icon-move"></span></span>
|
57 |
+
<span class="dslca-manage-action dslca-change-width-modules-area-hook">
|
58 |
+
<span class="dslca-icon dslc-icon-columns"></span>
|
59 |
+
<div class="dslca-change-width-modules-area-options">
|
60 |
+
<span data-size="1">1/12</span><span data-size="2">2/12</span>
|
61 |
+
<span data-size="3">3/12</span><span data-size="4">4/12</span>
|
62 |
+
<span data-size="5">5/12</span><span data-size="6">6/12</span>
|
63 |
+
<span data-size="7">7/12</span><span data-size="8">8/12</span>
|
64 |
+
<span data-size="9">9/12</span><span data-size="10">10/12</span>
|
65 |
+
<span data-size="11">11/12</span><span data-size="12">12/12</span>
|
66 |
+
</div>
|
67 |
+
</span>
|
68 |
+
<span class="dslca-manage-action dslca-delete-modules-area-hook"><span class="dslca-icon dslc-icon-remove"></span></span>
|
69 |
+
</div>
|
70 |
+
</div>
|
71 |
+
<div class="dslca-no-content">
|
72 |
+
<span class="dslca-no-content-primary"><span class="dslca-icon dslc-icon-download-alt"></span><span class="dslca-no-content-help-text">' . __( 'Drop modules here', 'live-composer-page-builder' ) . '</span></span>
|
73 |
+
</div>
|
74 |
+
<div class="dslca-module-loading"><div class="dslca-module-loading-inner"></div></div>
|
75 |
+
</div>
|
76 |
+
</div>
|
77 |
+
</div><!-- .dslc-module-section-inner -->
|
78 |
+
<div class="dslca-modules-section-manage">
|
79 |
+
<div class="dslca-modules-section-manage-inner">
|
80 |
+
<span class="dslca-manage-action dslca-edit-modules-section-hook"><span class="dslca-icon dslc-icon-cog"></span></span>
|
81 |
+
<span class="dslca-manage-action dslca-copy-modules-section-hook"><span class="dslca-icon dslc-icon-copy"></span></span>
|
82 |
+
<span class="dslca-manage-action dslca-move-modules-section-hook"><span class="dslca-icon dslc-icon-move"></span></span>
|
83 |
+
<span class="dslca-manage-action dslca-export-modules-section-hook"><span class="dslca-icon dslc-icon-upload-alt"></span></span>
|
84 |
+
<span class="dslca-manage-action dslca-delete-modules-section-hook"><span class="dslca-icon dslc-icon-remove"></span></span>
|
85 |
+
</div>
|
86 |
+
</div>
|
87 |
+
<div class="dslca-modules-section-settings">' . dslc_row_get_options_fields() . '</div><!-- .dslca-module-section-settings -->
|
88 |
+
<div class="dslca-module-loading dslca-modules-area-loading"><div class="dslca-module-loading-inner"></div></div>
|
89 |
+
</div><!-- .dslc-module-section-wrapper -->
|
90 |
+
</div>';
|
91 |
+
|
92 |
+
// Set the output
|
93 |
+
$response['output'] = $output;
|
94 |
+
|
95 |
+
// Encode response
|
96 |
+
$response_json = json_encode( $response );
|
97 |
+
|
98 |
+
// Send the response
|
99 |
+
header( "Content-Type: application/json" );
|
100 |
+
echo $response_json;
|
101 |
+
|
102 |
+
// Good night
|
103 |
+
exit;
|
104 |
+
|
105 |
+
}
|
106 |
+
|
107 |
+
} add_action( 'wp_ajax_dslc-ajax-add-modules-section', 'dslc_ajax_add_modules_section' );
|
108 |
+
|
109 |
+
/**
|
110 |
+
* Add a new modules area
|
111 |
+
*
|
112 |
+
* @since 1.0
|
113 |
+
*/
|
114 |
+
|
115 |
+
function dslc_ajax_add_modules_area( $atts ) {
|
116 |
+
|
117 |
+
// Allowed to do this?
|
118 |
+
if ( is_user_logged_in() && current_user_can( DS_LIVE_COMPOSER_CAPABILITY ) ) {
|
119 |
+
|
120 |
+
// The array we'll pass back to the AJAX call
|
121 |
+
$response = array();
|
122 |
+
|
123 |
+
// The output
|
124 |
+
$output = '<div class="dslc-modules-area dslc-col dslc-12-col" data-size="12">
|
125 |
+
<div class="dslca-modules-area-manage">
|
126 |
+
<div class="dslca-modules-area-manage-inner">
|
127 |
+
<span class="dslca-manage-action dslca-copy-modules-area-hook"><span class="dslca-icon dslc-icon-copy"></span></span>
|
128 |
+
<span class="dslca-manage-action dslca-move-modules-area-hook"><span class="dslca-icon dslc-icon-move"></span></span>
|
129 |
+
<span class="dslca-manage-action dslca-change-width-modules-area-hook">
|
130 |
+
<span class="dslca-icon dslc-icon-columns"></span>
|
131 |
+
<div class="dslca-change-width-modules-area-options">
|
132 |
+
<span data-size="1">1/12</span><span data-size="2">2/12</span>
|
133 |
+
<span data-size="3">3/12</span><span data-size="4">4/12</span>
|
134 |
+
<span data-size="5">5/12</span><span data-size="6">6/12</span>
|
135 |
+
<span data-size="7">7/12</span><span data-size="8">8/12</span>
|
136 |
+
<span data-size="9">9/12</span><span data-size="10">10/12</span>
|
137 |
+
<span data-size="11">11/12</span><span data-size="12">12/12</span>
|
138 |
+
</div>
|
139 |
+
</span>
|
140 |
+
<span class="dslca-manage-action dslca-delete-modules-area-hook"><span class="dslca-icon dslc-icon-remove"></span></span>
|
141 |
+
</div>
|
142 |
+
</div>
|
143 |
+
<div class="dslca-no-content">
|
144 |
+
<span class="dslca-no-content-primary"><span class="dslca-icon dslc-icon-download-alt"></span><span class="dslca-no-content-help-text">' . __( 'Drop modules here', 'live-composer-page-builder' ) . '</span></span>
|
145 |
+
</div>
|
146 |
+
<div class="dslca-module-loading"><div class="dslca-module-loading-inner"></div></div>
|
147 |
+
</div>';
|
148 |
+
|
149 |
+
// Set the output
|
150 |
+
$response['output'] = $output;
|
151 |
+
|
152 |
+
// Encode response
|
153 |
+
$response_json = json_encode( $response );
|
154 |
+
|
155 |
+
// Send the response
|
156 |
+
header( "Content-Type: application/json" );
|
157 |
+
echo $response_json;
|
158 |
+
|
159 |
+
// Good night
|
160 |
+
exit;
|
161 |
+
|
162 |
+
}
|
163 |
+
|
164 |
+
} add_action( 'wp_ajax_dslc-ajax-add-modules-area', 'dslc_ajax_add_modules_area' );
|
165 |
+
|
166 |
+
/**
|
167 |
+
* Add a new module
|
168 |
+
*
|
169 |
+
* @since 1.0
|
170 |
+
*/
|
171 |
+
|
172 |
+
function dslc_ajax_add_module( $atts ) {
|
173 |
+
|
174 |
+
// Allowed to do this?
|
175 |
+
if ( is_user_logged_in() && current_user_can( DS_LIVE_COMPOSER_CAPABILITY ) ) {
|
176 |
+
|
177 |
+
// The array we'll pass back to the AJAX call
|
178 |
+
$response = array();
|
179 |
+
|
180 |
+
// The ID of the module to add
|
181 |
+
$module_id = $_POST['dslc_module_id'];
|
182 |
+
$post_id = $_POST['dslc_post_id'];
|
183 |
+
if ( isset( $_POST['dslc_preload_preset'] ) && $_POST['dslc_preload_preset'] == 'enabled' )
|
184 |
+
$preload_preset = 'enabled';
|
185 |
+
else
|
186 |
+
$preload_preset = 'disabled';
|
187 |
+
|
188 |
+
// If post ID is not numberic stop execution
|
189 |
+
if ( ! is_numeric( $post_id ) )
|
190 |
+
return;
|
191 |
+
|
192 |
+
/**
|
193 |
+
* The instance ID for this specific module
|
194 |
+
*/
|
195 |
+
|
196 |
+
// If it is not a new module ( already has ID )
|
197 |
+
if ( isset( $_POST['dslc_module_instance_id'] ) ) {
|
198 |
+
|
199 |
+
$module_instance_id = $_POST['dslc_module_instance_id'];
|
200 |
+
|
201 |
+
// If it is a new module ( no ID )
|
202 |
+
} else {
|
203 |
+
|
204 |
+
// Get current count
|
205 |
+
$module_id_count = get_option( 'dslc_module_id_count' );
|
206 |
+
|
207 |
+
// If not the first one
|
208 |
+
if ( $module_id_count ) {
|
209 |
+
|
210 |
+
// Increment by one
|
211 |
+
$module_instance_id = $module_id_count + 1;
|
212 |
+
|
213 |
+
// Update the count
|
214 |
+
update_option( 'dslc_module_id_count', $module_instance_id );
|
215 |
+
|
216 |
+
// If it is the first one
|
217 |
+
} else {
|
218 |
+
|
219 |
+
// Set 1 as the ID
|
220 |
+
$module_instance_id = 1;
|
221 |
+
|
222 |
+
// Update the count
|
223 |
+
update_option( 'dslc_module_id_count', $module_instance_id );
|
224 |
+
|
225 |
+
}
|
226 |
+
|
227 |
+
}
|
228 |
+
|
229 |
+
// If module instance ID not numeric stop execution
|
230 |
+
if ( ! is_numeric( $module_instance_id ) )
|
231 |
+
return;
|
232 |
+
|
233 |
+
// Instanciate the module class
|
234 |
+
$module_instance = new $module_id();
|
235 |
+
|
236 |
+
// Generate settings
|
237 |
+
$all_opts = $module_instance->options();
|
238 |
+
$module_settings = dslc_module_settings( $all_opts );
|
239 |
+
|
240 |
+
// Append ID to settings
|
241 |
+
$module_settings['module_instance_id'] = $module_instance_id;
|
242 |
+
|
243 |
+
// Append post ID to settings
|
244 |
+
$module_settings['post_id'] = $post_id;
|
245 |
+
|
246 |
+
// Start output fetching
|
247 |
+
ob_start();
|
248 |
+
|
249 |
+
// Load preset if there was no preset before
|
250 |
+
if ( $preload_preset == 'enabled' )
|
251 |
+
$module_settings = apply_filters( 'dslc_filter_settings', $module_settings );
|
252 |
+
|
253 |
+
// Transform image ID to URL
|
254 |
+
global $dslc_var_image_option_bckp;
|
255 |
+
$dslc_var_image_option_bckp = array();
|
256 |
+
foreach ( $all_opts as $all_opt ) {
|
257 |
+
if ( $all_opt['type'] == 'image' ) {
|
258 |
+
if ( isset( $module_settings[$all_opt['id']] ) && ! empty( $module_settings[$all_opt['id']] ) && is_numeric( $module_settings[$all_opt['id']] ) ) {
|
259 |
+
$dslc_var_image_option_bckp[$all_opt['id']] = $module_settings[$all_opt['id']];
|
260 |
+
$image_info = wp_get_attachment_image_src( $module_settings[$all_opt['id']], 'full' );
|
261 |
+
$module_settings[$all_opt['id']] = $image_info[0];
|
262 |
+
}
|
263 |
+
}
|
264 |
+
}
|
265 |
+
|
266 |
+
// Module size
|
267 |
+
if ( isset( $_POST['dslc_m_size'] ) )
|
268 |
+
$module_settings['dslc_m_size'] = $_POST['dslc_m_size'];
|
269 |
+
else
|
270 |
+
$module_settings['dslc_m_size'] = '12';
|
271 |
+
|
272 |
+
// Output
|
273 |
+
$module_instance->output( $module_settings );
|
274 |
+
|
275 |
+
// Get the output and stop fetching
|
276 |
+
$output = ob_get_contents();
|
277 |
+
ob_end_clean();
|
278 |
+
|
279 |
+
// Set the output
|
280 |
+
$response['output'] = $output;
|
281 |
+
|
282 |
+
// Encode response
|
283 |
+
$response_json = json_encode( $response );
|
284 |
+
|
285 |
+
// Send the response
|
286 |
+
header( "Content-Type: application/json" );
|
287 |
+
echo $response_json;
|
288 |
+
|
289 |
+
// Good night
|
290 |
+
exit;
|
291 |
+
|
292 |
+
}
|
293 |
+
|
294 |
+
} add_action( 'wp_ajax_dslc-ajax-add-module', 'dslc_ajax_add_module' );
|
295 |
+
|
296 |
+
|
297 |
+
/**
|
298 |
+
* Display module options
|
299 |
+
*
|
300 |
+
* @since 1.0
|
301 |
+
*/
|
302 |
+
|
303 |
+
function dslc_ajax_display_module_options( $atts ) {
|
304 |
+
|
305 |
+
// Allowed to do this?
|
306 |
+
if ( is_user_logged_in() && current_user_can( DS_LIVE_COMPOSER_CAPABILITY ) ) {
|
307 |
+
|
308 |
+
// The array we'll pass back to the AJAX call
|
309 |
+
$response = array();
|
310 |
+
|
311 |
+
// This will hold the output
|
312 |
+
$response['output'] = '';
|
313 |
+
$response['output_tabs'] = '';
|
314 |
+
|
315 |
+
// The ID of the module
|
316 |
+
$module_id = $_POST['dslc_module_id'];
|
317 |
+
|
318 |
+
// Instanciate the module class
|
319 |
+
$module_instance = new $module_id();
|
320 |
+
|
321 |
+
// Get the module options
|
322 |
+
$module_options = $module_instance->options();
|
323 |
+
|
324 |
+
// Tabs
|
325 |
+
$tabs = array();
|
326 |
+
|
327 |
+
ob_start();
|
328 |
+
|
329 |
+
// Go through each option, generate the option HTML and append to output
|
330 |
+
foreach ( $module_options as $module_option ) {
|
331 |
+
|
332 |
+
$curr_value = $module_option['std'];
|
333 |
+
|
334 |
+
if ( isset( $_POST[ $module_option['id'] ] ) )
|
335 |
+
$curr_value = $_POST[ $module_option['id'] ];
|
336 |
+
|
337 |
+
/**
|
338 |
+
* Visibility
|
339 |
+
*/
|
340 |
+
|
341 |
+
if ( isset( $module_option['visibility'] ) )
|
342 |
+
$visibility = false;
|
343 |
+
else
|
344 |
+
$visibility = true;
|
345 |
+
|
346 |
+
if ( $module_option['type'] == 'checkbox' && count( $module_option['choices'] ) < 2 )
|
347 |
+
$visibility = false;
|
348 |
+
|
349 |
+
/**
|
350 |
+
* Refresh on change
|
351 |
+
*/
|
352 |
+
|
353 |
+
if ( isset( $module_option['refresh_on_change'] ) ) {
|
354 |
+
|
355 |
+
if ( $module_option['refresh_on_change'] )
|
356 |
+
$refresh_on_change = 'active';
|
357 |
+
else
|
358 |
+
$refresh_on_change = 'inactive';
|
359 |
+
|
360 |
+
} else {
|
361 |
+
$refresh_on_change = 'active';
|
362 |
+
}
|
363 |
+
|
364 |
+
// Force refresh on change for images ( due to the URL -> ID change )
|
365 |
+
if ( $module_option['type'] == 'image' )
|
366 |
+
$refresh_on_change = 'active';
|
367 |
+
|
368 |
+
/**
|
369 |
+
* Section (functionality and styling)
|
370 |
+
*/
|
371 |
+
|
372 |
+
if ( isset( $module_option['section'] ) )
|
373 |
+
$section = $module_option['section'];
|
374 |
+
else
|
375 |
+
$section = 'functionality';
|
376 |
+
|
377 |
+
/**
|
378 |
+
* Tab
|
379 |
+
*/
|
380 |
+
|
381 |
+
if ( ! isset( $module_option['tab'] ) ) {
|
382 |
+
|
383 |
+
if ( $section == 'functionality' ) {
|
384 |
+
$tabs['general_functionality'] = array(
|
385 |
+
'title' => __( 'General', 'live-composer-page-builder' ),
|
386 |
+
'id' => 'general_functionality',
|
387 |
+
'section' => 'functionality'
|
388 |
+
);
|
389 |
+
} else {
|
390 |
+
$tabs['general_styling'] = array(
|
391 |
+
'title' => __( 'General', 'live-composer-page-builder' ),
|
392 |
+
'id' => 'general_styling',
|
393 |
+
'section' => 'styling'
|
394 |
+
);
|
395 |
+
}
|
396 |
+
|
397 |
+
$tab_ID = 'general_' . $section;
|
398 |
+
|
399 |
+
}
|
400 |
+
|
401 |
+
if ( isset( $module_option['tab'] ) ) {
|
402 |
+
|
403 |
+
// Lowercase it
|
404 |
+
$tab_ID = strtolower( $module_option['tab'] );
|
405 |
+
|
406 |
+
// Replace spaces with _
|
407 |
+
$tab_ID = str_replace( ' ', '_', $tab_ID );
|
408 |
+
|
409 |
+
// Add section ID append
|
410 |
+
$tab_ID .= '_' . $section;
|
411 |
+
|
412 |
+
// If not already in the tabs array
|
413 |
+
if ( ! in_array( $tab_ID, $tabs ) ) {
|
414 |
+
|
415 |
+
// Add it to the tabs array
|
416 |
+
$tabs[$tab_ID] = array(
|
417 |
+
'title' => $module_option['tab'],
|
418 |
+
'id' => $tab_ID,
|
419 |
+
'section' => $section
|
420 |
+
);
|
421 |
+
|
422 |
+
}
|
423 |
+
|
424 |
+
}
|
425 |
+
|
426 |
+
$ext = ' ';
|
427 |
+
if ( isset( $module_option['ext'] ) )
|
428 |
+
$ext = $module_option['ext'];
|
429 |
+
|
430 |
+
$affect_on_change_append = '';
|
431 |
+
if ( isset( $module_option['affect_on_change_el'] ) && isset( $module_option['affect_on_change_rule'] ) )
|
432 |
+
$affect_on_change_append = 'data-affect-on-change-el="' . $module_option['affect_on_change_el'] . '" data-affect-on-change-rule="' . $module_option['affect_on_change_rule'] . '"';
|
433 |
+
|
434 |
+
|
435 |
+
?>
|
436 |
+
|
437 |
+
<div class="dslca-module-edit-option dslca-module-edit-option-<?php echo $module_option['type']; ?> dslca-module-edit-option-<?php echo $module_option['id']; ?> <?php if ( ! $visibility ) echo 'dslca-module-edit-option-hidden'; ?>" data-id="<?php echo $module_option['id']; ?>" data-refresh-on-change="<?php echo $refresh_on_change; ?>" data-section="<?php echo $section; ?>" data-tab="<?php echo $tab_ID; ?>">
|
438 |
+
|
439 |
+
<?php if ( isset( $module_option['help'] ) ) : ?>
|
440 |
+
<div class="dslca-module-edit-field-ttip-content"><?php echo $module_option['help']; ?></div>
|
441 |
+
<?php endif; ?>
|
442 |
+
|
443 |
+
<span class="dslca-module-edit-label">
|
444 |
+
<?php echo $module_option['label']; ?>
|
445 |
+
<?php if ( $module_option['type'] == 'icon' ): ?>
|
446 |
+
<span class="dslca-module-edit-field-icon-ttip-hook"><span class="dslca-icon dslc-icon-info"></span></span>
|
447 |
+
<span class="dslca-module-edit-field-icon-switch-set"><span class="dslca-module-edit-field-icon-curr-set"><?php echo dslc_icons_current_set( $curr_value ); ?></span><span class="dslca-icon dslc-icon-cog"></span></span>
|
448 |
+
<?php endif; ?>
|
449 |
+
<?php if ( isset( $module_option['help'] ) ) : ?>
|
450 |
+
<span class="dslca-module-edit-field-ttip-hook"><span class="dslca-icon dslc-icon-info"></span></span>
|
451 |
+
<?php endif; ?>
|
452 |
+
</span>
|
453 |
+
|
454 |
+
<?php if ( $module_option['type'] == 'text' ) : ?>
|
455 |
+
|
456 |
+
<input type="text" class="dslca-module-edit-field" name="<?php echo $module_option['id']; ?>" data-id="<?php echo $module_option['id']; ?>" value="<?php echo esc_attr( stripslashes( $curr_value ) ); ?>" data-starting-val="<?php echo esc_attr( stripslashes( $curr_value ) ); ?>" <?php echo $affect_on_change_append ?> />
|
457 |
+
|
458 |
+
<?php elseif ( $module_option['type'] == 'textarea' ) : ?>
|
459 |
+
|
460 |
+
<textarea class="dslca-module-edit-field" name="<?php echo $module_option['id']; ?>" data-id="<?php echo $module_option['id']; ?>" <?php echo $affect_on_change_append ?>><?php echo stripslashes( $curr_value ); ?></textarea>
|
461 |
+
|
462 |
+
<?php elseif ( $module_option['type'] == 'select' ) : ?>
|
463 |
+
|
464 |
+
<select class="dslca-module-edit-field" name="<?php echo $module_option['id']; ?>" data-id="<?php echo $module_option['id']; ?>" <?php echo $affect_on_change_append ?> >
|
465 |
+
<?php foreach( $module_option['choices'] as $select_option ) : ?>
|
466 |
+
<option value="<?php echo $select_option['value']; ?>" <?php if ( $curr_value == $select_option['value'] ) echo 'selected="selected"'; ?>><?php echo $select_option['label']; ?></option>
|
467 |
+
<?php endforeach; ?>
|
468 |
+
</select>
|
469 |
+
|
470 |
+
<?php elseif ( $module_option['type'] == 'checkbox' ) : ?>
|
471 |
+
|
472 |
+
<?php
|
473 |
+
|
474 |
+
// Current Value Array
|
475 |
+
if ( empty( $curr_value ) )
|
476 |
+
$curr_value = array();
|
477 |
+
else
|
478 |
+
$curr_value = explode( ' ', trim( $curr_value ) );
|
479 |
+
|
480 |
+
// Determined brakepoints
|
481 |
+
$chck_amount = count ( $module_option['choices'] );
|
482 |
+
$chck_breakpoint = ceil( $chck_amount / 1 );
|
483 |
+
$chck_count = 0;
|
484 |
+
|
485 |
+
?>
|
486 |
+
|
487 |
+
<div class="dslca-module-edit-option-checkbox-wrapper">
|
488 |
+
<?php foreach ( $module_option['choices'] as $checkbox_option ) : $chck_count++; ?>
|
489 |
+
<div class="dslca-module-edit-option-checkbox-single">
|
490 |
+
<span class="dslca-module-edit-option-checkbox-hook"><span class="dslca-icon <?php if ( in_array( $checkbox_option['value'], $curr_value ) ) echo 'dslc-icon-check'; else echo 'dslc-icon-check-empty'; ?>"></span><?php echo $checkbox_option['label']; ?></span>
|
491 |
+
<input type="checkbox" class="dslca-module-edit-field dslca-module-edit-field-checkbox" data-id="<?php echo $module_option['id']; ?>" name="<?php echo $module_option['id']; ?>" value="<?php echo $checkbox_option['value']; ?>" <?php if ( in_array( $checkbox_option['value'], $curr_value ) ) echo 'checked="checked"'; ?> <?php echo $affect_on_change_append ?> />
|
492 |
+
</div><!-- .dslca-module-edit-option-checkbox-single -->
|
493 |
+
<?php if ( $chck_count == $chck_breakpoint ) { echo '<br>'; $chck_count = 0; } ?>
|
494 |
+
<?php endforeach; ?>
|
495 |
+
</div><!-- .dslca-module-edit-option-checkbox-wrapper -->
|
496 |
+
|
497 |
+
<?php elseif ( $module_option['type'] == 'radio' ) : ?>
|
498 |
+
|
499 |
+
<div class="dslca-module-edit-option-radio-wrapper">
|
500 |
+
<?php foreach ( $module_option['choices'] as $checkbox_option ) : ?>
|
501 |
+
<div class="dslca-module-edit-option-radio-single">
|
502 |
+
<input type="radio" class="dslca-module-edit-field" data-id="<?php echo $module_option['id']; ?>" name="<?php echo $module_option['id']; ?>" value="<?php echo $checkbox_option['value']; ?>" /> <?php echo $checkbox_option['label']; ?><br>
|
503 |
+
</div><!-- .dslca-module-edit-option-radio-single -->
|
504 |
+
<?php endforeach; ?>
|
505 |
+
</div><!-- .dslca-module-edit-option-radio-wrapper -->
|
506 |
+
|
507 |
+
<?php elseif ( $module_option['type'] == 'color' ) : ?>
|
508 |
+
|
509 |
+
<?php
|
510 |
+
$default_value = false;
|
511 |
+
if ( isset( $module_option['std'] ) )
|
512 |
+
$default_value = $module_option['std'];
|
513 |
+
?>
|
514 |
+
|
515 |
+
<input type="text" class="dslca-module-edit-field dslca-module-edit-field-colorpicker" name="<?php echo $module_option['id']; ?>" data-id="<?php echo $module_option['id']; ?>" value="<?php echo $curr_value; ?>" data-affect-on-change-el="<?php echo $module_option['affect_on_change_el']; ?>" data-affect-on-change-rule="<?php echo $module_option['affect_on_change_rule']; ?>" <?php if ( $default_value ) : ?> data-default="<?php echo $default_value; ?>" <?php endif; ?> />
|
516 |
+
|
517 |
+
<?php elseif ( $module_option['type'] == 'slider' ) : ?>
|
518 |
+
|
519 |
+
<?php
|
520 |
+
|
521 |
+
$slider_min = 0;
|
522 |
+
$slider_max = 100;
|
523 |
+
$slider_increment = 1;
|
524 |
+
|
525 |
+
if ( isset( $module_option['min'] ) )
|
526 |
+
$slider_min = $module_option['min'];
|
527 |
+
|
528 |
+
if ( isset( $module_option['max'] ) )
|
529 |
+
$slider_max = $module_option['max'];
|
530 |
+
|
531 |
+
if ( isset( $module_option['increment'] ) )
|
532 |
+
$slider_increment = $module_option['increment'];
|
533 |
+
|
534 |
+
$numeric_option_type = dslc_get_option( 'lc_numeric_opt_type', 'dslc_plugin_options_other' );
|
535 |
+
if ( empty( $numeric_option_type ) )
|
536 |
+
$numeric_option_type = 'slider';
|
537 |
+
|
538 |
+
?>
|
539 |
+
|
540 |
+
<?php if ( $numeric_option_type == 'slider' ) : ?>
|
541 |
+
|
542 |
+
<div class="dslca-module-edit-field-slider"></div>
|
543 |
+
<span class="dslca-module-edit-field-slider-tooltip"><?php echo $curr_value; ?></span>
|
544 |
+
<input type="hidden" class="dslca-module-edit-field" name="<?php echo $module_option['id']; ?>" data-id="<?php echo $module_option['id']; ?>" value="<?php echo $curr_value; ?>" data-affect-on-change-el="<?php echo $module_option['affect_on_change_el']; ?>" data-affect-on-change-rule="<?php echo $module_option['affect_on_change_rule']; ?>" data-min="<?php echo $slider_min; ?>" data-max="<?php echo $slider_max; ?>" data-ext="<?php echo $ext; ?>" data-increment="<?php echo $slider_increment; ?>" />
|
545 |
+
|
546 |
+
<?php else : ?>
|
547 |
+
|
548 |
+
<div class="dslca-module-edit-field-numeric-wrap">
|
549 |
+
<input type="text" class="dslca-module-edit-field dslca-module-edit-field-numeric" name="<?php echo $module_option['id']; ?>" data-id="<?php echo $module_option['id']; ?>" value="<?php echo $curr_value; ?>" data-starting-val="<?php echo $curr_value; ?>" data-ext="<?php echo $ext; ?>" <?php echo $affect_on_change_append ?> />
|
550 |
+
<span class="dslca-module-edit-field-numeric-ext"><?php echo $module_option['ext']; ?></span>
|
551 |
+
</div>
|
552 |
+
|
553 |
+
|
554 |
+
<?php endif; ?>
|
555 |
+
|
556 |
+
<?php elseif ( $module_option['type'] == 'font' ) : ?>
|
557 |
+
|
558 |
+
<div class="dslca-module-edit-field-font-wrapper">
|
559 |
+
<input type="text" class="dslca-module-edit-field dslca-module-edit-field-font" name="<?php echo $module_option['id']; ?>" data-id="<?php echo $module_option['id']; ?>" value="<?php echo $curr_value; ?>" <?php echo $affect_on_change_append ?> />
|
560 |
+
<span class="dslca-module-edit-field-font-suggest"></span>
|
561 |
+
</div>
|
562 |
+
<span class="dslca-module-edit-field-font-prev"><span class="dslca-icon dslc-icon-chevron-left"></span></span>
|
563 |
+
<span class="dslca-module-edit-field-font-next"><span class="dslca-icon dslc-icon-chevron-right"></span></span>
|
564 |
+
|
565 |
+
<?php elseif ( $module_option['type'] == 'icon' ) : ?>
|
566 |
+
|
567 |
+
<div class="dslca-module-edit-field-icon-wrapper">
|
568 |
+
<input type="text" class="dslca-module-edit-field dslca-module-edit-field-icon" name="<?php echo $module_option['id']; ?>" data-id="<?php echo $module_option['id']; ?>" value="<?php echo $curr_value; ?>" <?php echo $affect_on_change_append ?> />
|
569 |
+
<span class="dslca-module-edit-field-icon-suggest"></span>
|
570 |
+
</div>
|
571 |
+
<span class="dslca-module-edit-field-icon-prev"><span class="dslca-icon dslc-icon-chevron-left"></span></span>
|
572 |
+
<span class="dslca-module-edit-field-icon-next"><span class="dslca-icon dslc-icon-chevron-right"></span></span>
|
573 |
+
|
574 |
+
<?php elseif ( $module_option['type'] == 'image' ) : ?>
|
575 |
+
|
576 |
+
<span class="dslca-module-edit-field-image-add-hook" <?php if ( $curr_value != '' ) echo 'style="display: none;"'; ?>><span class="dslca-icon dslc-icon-cloud-upload"></span><?php _e( 'Upload Image', 'live-composer-page-builder' ); ?></span>
|
577 |
+
<span class="dslca-module-edit-field-image-remove-hook" <?php if ( $curr_value == '' ) echo 'style="display: none;"'; ?>><span class="dslca-icon dslc-icon-remove"></span><?php _e( 'Remove Image', 'live-composer-page-builder' ); ?></span>
|
578 |
+
<input type="hidden" class="dslca-module-edit-field dslca-module-edit-field-image" name="<?php echo $module_option['id']; ?>" data-id="<?php echo $module_option['id']; ?>" value="<?php echo $curr_value; ?>" <?php echo $affect_on_change_append ?> />
|
579 |
+
|
580 |
+
<?php elseif ( $module_option['type'] == 'text_align' ) : ?>
|
581 |
+
|
582 |
+
<div class="dslca-module-edit-option-text-align-wrapper">
|
583 |
+
<div class="dslca-module-edit-option-text-align-single dslca-module-edit-option-text-align-hook <?php if ( $curr_value == 'inherit' ) echo 'dslca-active'; ?>" data-val="inherit">
|
584 |
+
<span class="dslca-icon dslc-icon-remove"></span>
|
585 |
+
</div>
|
586 |
+
<div class="dslca-module-edit-option-text-align-single dslca-module-edit-option-text-align-hook <?php if ( $curr_value == 'left' ) echo 'dslca-active'; ?>" data-val="left">
|
587 |
+
<span class="dslca-icon dslc-icon-align-left"></span>
|
588 |
+
</div>
|
589 |
+
<div class="dslca-module-edit-option-text-align-single dslca-module-edit-option-text-align-hook <?php if ( $curr_value == 'center' ) echo 'dslca-active'; ?>" data-val="center">
|
590 |
+
<span class="dslca-icon dslc-icon-align-center"></span>
|
591 |
+
</div>
|
592 |
+
<div class="dslca-module-edit-option-text-align-single dslca-module-edit-option-text-align-hook <?php if ( $curr_value == 'right' ) echo 'dslca-active'; ?>" data-val="right">
|
593 |
+
<span class="dslca-icon dslc-icon-align-right"></span>
|
594 |
+
</div>
|
595 |
+
<div class="dslca-module-edit-option-text-align-single dslca-module-edit-option-text-align-hook <?php if ( $curr_value == 'justify' ) echo 'dslca-active'; ?>" data-val="justify">
|
596 |
+
<span class="dslca-icon dslc-icon-align-justify"></span>
|
597 |
+
</div>
|
598 |
+
</div>
|
599 |
+
|
600 |
+
<input type="hidden" class="dslca-module-edit-field dslca-module-edit-field-text-align" name="<?php echo $module_option['id']; ?>" data-id="<?php echo $module_option['id']; ?>" value="<?php echo $curr_value; ?>" <?php echo $affect_on_change_append ?> />
|
601 |
+
|
602 |
+
<?php elseif ( $module_option['type'] == 'box_shadow' ) : ?>
|
603 |
+
|
604 |
+
<?php
|
605 |
+
$box_shadow_hor_val = 0;
|
606 |
+
$box_shadow_ver_val = 0;
|
607 |
+
$box_shadow_blur_val = 0;
|
608 |
+
$box_shadow_spread_val = 0;
|
609 |
+
$box_shadow_color_val = 'transparent';
|
610 |
+
$box_shadow_inset_val = 'outset';
|
611 |
+
$box_shadow_val = false;
|
612 |
+
if ( $curr_value !== '' ) {
|
613 |
+
$box_shadow_val = explode( ' ', $curr_value );
|
614 |
+
}
|
615 |
+
if ( is_array( $box_shadow_val ) ) {
|
616 |
+
$box_shadow_hor_val = str_replace('px', '', $box_shadow_val[0] );
|
617 |
+
$box_shadow_ver_val = str_replace('px', '', $box_shadow_val[1] );
|
618 |
+
$box_shadow_blur_val = str_replace('px', '', $box_shadow_val[2] );
|
619 |
+
$box_shadow_spread_val = str_replace('px', '', $box_shadow_val[3] );
|
620 |
+
$box_shadow_color_val = str_replace('px', '', $box_shadow_val[4] );
|
621 |
+
if ( isset( $box_shadow_val[5] ) ) {
|
622 |
+
$box_shadow_inset_val = $box_shadow_val[5];
|
623 |
+
}
|
624 |
+
}
|
625 |
+
?>
|
626 |
+
|
627 |
+
<div class="dslca-module-edit-option-box-shadow-wrapper">
|
628 |
+
|
629 |
+
<div class="dslca-module-edit-option-box-shadow-single">
|
630 |
+
<span class="dslca-module-edit-option-checkbox-hook"><?php _e( 'Inner', 'live-composer-page-builder' ); ?><span class="dslca-icon <?php if ( $box_shadow_inset_val == 'inset' ) echo 'dslc-icon-check'; else echo 'dslc-icon-check-empty'; ?>"></span></span>
|
631 |
+
<input type="checkbox" class="dslca-module-edit-field-checkbox dslca-module-edit-option-box-shadow-inset" <?php if ( $box_shadow_inset_val == 'inset' ) echo 'checked="checked"'; ?> />
|
632 |
+
</div>
|
633 |
+
<div class="dslca-module-edit-option-box-shadow-single">
|
634 |
+
<span><?php _e( 'Hor', 'live-composer-page-builder' ); ?></span><input class="dslca-module-edit-option-box-shadow-hor" step="0.1" type="number" value="<?php echo $box_shadow_hor_val; ?>" />
|
635 |
+
</div>
|
636 |
+
<div class="dslca-module-edit-option-box-shadow-single">
|
637 |
+
<span><?php _e( 'Ver', 'live-composer-page-builder' ); ?></span><input class="dslca-module-edit-option-box-shadow-ver" step="0.1" type="number" value="<?php echo $box_shadow_ver_val; ?>" />
|
638 |
+
</div>
|
639 |
+
<div class="dslca-module-edit-option-box-shadow-single">
|
640 |
+
<span><?php _e( 'Blur', 'live-composer-page-builder' ); ?></span><input class="dslca-module-edit-option-box-shadow-blur" step="0.1" type="number" value="<?php echo $box_shadow_blur_val; ?>" />
|
641 |
+
</div>
|
642 |
+
<div class="dslca-module-edit-option-box-shadow-single">
|
643 |
+
<span><?php _e( 'Spread', 'live-composer-page-builder' ); ?></span><input class="dslca-module-edit-option-box-shadow-spread" step="0.1" type="number" value="<?php echo $box_shadow_spread_val; ?>" />
|
644 |
+
</div>
|
645 |
+
<div class="dslca-module-edit-option-box-shadow-single">
|
646 |
+
<span><?php _e( 'Color', 'live-composer-page-builder' ); ?></span><input class="dslca-module-edit-option-box-shadow-color" type="text" value="<?php echo $box_shadow_color_val; ?>" />
|
647 |
+
</div>
|
648 |
+
|
649 |
+
<input type="hidden" class="dslca-module-edit-field dslca-module-edit-field-box-shadow" name="<?php echo $module_option['id']; ?>" data-id="<?php echo $module_option['id']; ?>" value="<?php echo $curr_value; ?>" <?php echo $affect_on_change_append ?> />
|
650 |
+
|
651 |
+
</div><!-- .dslca-module-edit-option-box-shadow-wrapper -->
|
652 |
+
|
653 |
+
<?php elseif ( $module_option['type'] == 'text_shadow' ) : ?>
|
654 |
+
|
655 |
+
<?php
|
656 |
+
$text_shadow_hor_val = 0;
|
657 |
+
$text_shadow_ver_val = 0;
|
658 |
+
$text_shadow_blur_val = 0;
|
659 |
+
$text_shadow_color_val = 'transparent';
|
660 |
+
|
661 |
+
$text_shadow_val = false;
|
662 |
+
if ( $curr_value !== '' ) {
|
663 |
+
$text_shadow_val = explode( ' ', $curr_value );
|
664 |
+
}
|
665 |
+
|
666 |
+
if ( is_array( $text_shadow_val ) ) {
|
667 |
+
$text_shadow_hor_val = str_replace('px', '', $text_shadow_val[0] );
|
668 |
+
$text_shadow_ver_val = str_replace('px', '', $text_shadow_val[1] );
|
669 |
+
$text_shadow_blur_val = str_replace('px', '', $text_shadow_val[2] );
|
670 |
+
$text_shadow_color_val = str_replace('px', '', $text_shadow_val[4] );
|
671 |
+
}
|
672 |
+
?>
|
673 |
+
|
674 |
+
<div class="dslca-module-edit-option-text-shadow-wrapper">
|
675 |
+
|
676 |
+
<div class="dslca-module-edit-option-text-shadow-single">
|
677 |
+
<span><?php _e( 'Hor', 'live-composer-page-builder' ); ?></span><input class="dslca-module-edit-option-text-shadow-hor" step="0.1" type="number" value="<?php echo $text_shadow_hor_val; ?>" />
|
678 |
+
</div>
|
679 |
+
<div class="dslca-module-edit-option-text-shadow-single">
|
680 |
+
<span><?php _e( 'Ver', 'live-composer-page-builder' ); ?></span><input class="dslca-module-edit-option-text-shadow-ver" step="0.1" type="number" value="<?php echo $text_shadow_ver_val; ?>" />
|
681 |
+
</div>
|
682 |
+
<div class="dslca-module-edit-option-text-shadow-single">
|
683 |
+
<span><?php _e( 'Blur', 'live-composer-page-builder' ); ?></span><input class="dslca-module-edit-option-text-shadow-blur" step="0.1" type="number" value="<?php echo $text_shadow_blur_val; ?>" />
|
684 |
+
</div>
|
685 |
+
<div class="dslca-module-edit-option-text-shadow-single">
|
686 |
+
<span><?php _e( 'Color', 'live-composer-page-builder' ); ?></span><input class="dslca-module-edit-option-text-shadow-color" type="text" value="<?php echo $text_shadow_color_val; ?>" />
|
687 |
+
</div>
|
688 |
+
|
689 |
+
<input type="hidden" class="dslca-module-edit-field dslca-module-edit-field-text-shadow" name="<?php echo $module_option['id']; ?>" data-id="<?php echo $module_option['id']; ?>" value="<?php echo $curr_value; ?>" <?php echo $affect_on_change_append ?> />
|
690 |
+
|
691 |
+
</div><!-- .dslca-module-edit-option-text-shadow-wrapper -->
|
692 |
+
|
693 |
+
<?php else : ?>
|
694 |
+
|
695 |
+
<?php if ( has_action( 'dslc_custom_option_type_' . $module_option['type'] ) ) : ?>
|
696 |
+
|
697 |
+
<?php do_action( 'dslc_custom_option_type_' . $module_option['type'], $module_option, $curr_value, $affect_on_change_append ); ?>
|
698 |
+
|
699 |
+
<?php else : ?>
|
700 |
+
|
701 |
+
<input type="text" class="dslca-module-edit-field" name="<?php echo $module_option['id']; ?>" data-id="<?php echo $module_option['id']; ?>" value="<?php echo $curr_value; ?>" data-starting-val="<?php echo $curr_value; ?>" <?php echo $affect_on_change_append ?> />
|
702 |
+
|
703 |
+
<?php endif; ?>
|
704 |
+
|
705 |
+
<?php endif; ?>
|
706 |
+
|
707 |
+
</div><!-- .dslc-module-edit-option -->
|
708 |
+
|
709 |
+
<?php
|
710 |
+
|
711 |
+
}
|
712 |
+
|
713 |
+
$output_fields = ob_get_contents();
|
714 |
+
ob_end_clean();
|
715 |
+
|
716 |
+
// Output Start
|
717 |
+
$output_start = '<div class="dslca-module-edit-options-wrapper dslc-clearfix">';
|
718 |
+
|
719 |
+
// Output End
|
720 |
+
$output_end = '</div>';
|
721 |
+
|
722 |
+
// Output Tabs
|
723 |
+
$output_tabs = '';
|
724 |
+
foreach ( $tabs as $tab ) {
|
725 |
+
$output_tabs .= '<span class="dslca-module-edit-options-tab-hook" data-section="' . $tab['section'] . '" data-id="'. $tab['id'] .'">' . $tab['title'] . '</span>';
|
726 |
+
}
|
727 |
+
|
728 |
+
// Combine output
|
729 |
+
$response['output_tabs'] .= $output_tabs;
|
730 |
+
$response['output'] .= $output_start;
|
731 |
+
$response['output'] .= $output_fields;
|
732 |
+
$response['output'] .= $output_end;
|
733 |
+
|
734 |
+
// Encode response
|
735 |
+
$response_json = json_encode( $response );
|
736 |
+
|
737 |
+
// Send the response
|
738 |
+
header( "Content-Type: application/json" );
|
739 |
+
echo $response_json;
|
740 |
+
|
741 |
+
// Auf wiedersehen
|
742 |
+
exit;
|
743 |
+
|
744 |
+
}
|
745 |
+
|
746 |
+
} add_action( 'wp_ajax_dslc-ajax-display-module-options', 'dslc_ajax_display_module_options' );
|
747 |
+
|
748 |
+
|
749 |
+
/**
|
750 |
+
* Save composer code
|
751 |
+
*
|
752 |
+
* @since 1.0
|
753 |
+
*/
|
754 |
+
|
755 |
+
function dslc_ajax_save_composer( $atts ) {
|
756 |
+
|
757 |
+
// Allowed to do this?
|
758 |
+
if ( is_user_logged_in() && current_user_can( DS_LIVE_COMPOSER_CAPABILITY_SAVE ) ) {
|
759 |
+
|
760 |
+
// The array we'll pass back to the AJAX call
|
761 |
+
$response = array();
|
762 |
+
|
763 |
+
// The composer code
|
764 |
+
$composer_code = $_POST['dslc_code'];
|
765 |
+
|
766 |
+
// The content for search
|
767 |
+
$content_for_search = $_POST['dslc_content_for_search'];
|
768 |
+
|
769 |
+
// The ID of the post/page
|
770 |
+
$post_id = $_POST['dslc_post_id'];
|
771 |
+
|
772 |
+
// Add/update the post/page with the composer code
|
773 |
+
if ( update_post_meta( $post_id, 'dslc_code', $composer_code ) )
|
774 |
+
$response['status'] = 'success';
|
775 |
+
else
|
776 |
+
$response['status'] = 'failed';
|
777 |
+
|
778 |
+
// Add/update the post/page with the content for search
|
779 |
+
if ( update_post_meta( $post_id, 'dslc_content_for_search', $content_for_search ) )
|
780 |
+
$response['status'] = 'success';
|
781 |
+
|
782 |
+
// Delete draft code
|
783 |
+
delete_post_meta( $post_id, 'dslc_code_draft' );
|
784 |
+
|
785 |
+
// Encode response
|
786 |
+
$response_json = json_encode( $response );
|
787 |
+
|
788 |
+
// Send the response
|
789 |
+
header( "Content-Type: application/json" );
|
790 |
+
echo $response_json;
|
791 |
+
|
792 |
+
// Refresh cache
|
793 |
+
if ( function_exists( 'wp_cache_post_change' ) ) {
|
794 |
+
$GLOBALS['super_cache_enabled'] = 1;
|
795 |
+
wp_cache_post_change( $post_id );
|
796 |
+
}
|
797 |
+
|
798 |
+
// Au revoir
|
799 |
+
exit;
|
800 |
+
|
801 |
+
}
|
802 |
+
|
803 |
+
} add_action( 'wp_ajax_dslc-ajax-save-composer', 'dslc_ajax_save_composer' );
|
804 |
+
|
805 |
+
/**
|
806 |
+
* Save composer code
|
807 |
+
*
|
808 |
+
* @since 1.0
|
809 |
+
*/
|
810 |
+
|
811 |
+
function dslc_ajax_save_draft_composer( $atts ) {
|
812 |
+
|
813 |
+
// Allowed to do this?
|
814 |
+
if ( is_user_logged_in() && current_user_can( DS_LIVE_COMPOSER_CAPABILITY_SAVE ) ) {
|
815 |
+
|
816 |
+
// The array we'll pass back to the AJAX call
|
817 |
+
$response = array();
|
818 |
+
|
819 |
+
// The composer code
|
820 |
+
$composer_code = $_POST['dslc_code'];
|
821 |
+
|
822 |
+
// The ID of the post/page
|
823 |
+
$post_id = $_POST['dslc_post_id'];
|
824 |
+
|
825 |
+
// Add/update the post/page with the composer code
|
826 |
+
if ( update_post_meta( $post_id, 'dslc_code_draft', $composer_code ) )
|
827 |
+
$response['status'] = 'success';
|
828 |
+
else
|
829 |
+
$response['status'] = 'failed';
|
830 |
+
|
831 |
+
// Encode response
|
832 |
+
$response_json = json_encode( $response );
|
833 |
+
|
834 |
+
// Send the response
|
835 |
+
header( "Content-Type: application/json" );
|
836 |
+
echo $response_json;
|
837 |
+
|
838 |
+
// Refresh cache
|
839 |
+
if ( function_exists( 'wp_cache_post_change' ) ) {
|
840 |
+
$GLOBALS['super_cache_enabled'] = 1;
|
841 |
+
wp_cache_post_change( $post_id );
|
842 |
+
}
|
843 |
+
|
844 |
+
// Au revoir
|
845 |
+
exit;
|
846 |
+
|
847 |
+
}
|
848 |
+
|
849 |
+
} add_action( 'wp_ajax_dslc-ajax-save-draft-composer', 'dslc_ajax_save_draft_composer' );
|
850 |
+
|
851 |
+
/**
|
852 |
+
* Load a template
|
853 |
+
*
|
854 |
+
* @since 1.0
|
855 |
+
*/
|
856 |
+
|
857 |
+
function dslc_ajax_load_template( $atts ) {
|
858 |
+
|
859 |
+
// Allowed to do this?
|
860 |
+
if ( is_user_logged_in() && current_user_can( DS_LIVE_COMPOSER_CAPABILITY ) ) {
|
861 |
+
|
862 |
+
// The array that holds active templates
|
863 |
+
$templates = dslc_get_templates();
|
864 |
+
|
865 |
+
// The array we'll pass back to the AJAX call
|
866 |
+
$response = array();
|
867 |
+
|
868 |
+
// The ID of the template to load
|
869 |
+
$template_id = $_POST['dslc_template_id'];
|
870 |
+
|
871 |
+
// The code of the template to load
|
872 |
+
$template_code = $templates[$template_id]['code'];
|
873 |
+
|
874 |
+
// Apply for new ID
|
875 |
+
$template_code = str_replace( '[dslc_module ', '[dslc_module give_new_id="true" ', $template_code);
|
876 |
+
$template_code = str_replace( '[dslc_module]', '[dslc_module give_new_id="true"]', $template_code);
|
877 |
+
|
878 |
+
// Get the front-end output
|
879 |
+
$response['output'] = do_shortcode ( $template_code );
|
880 |
+
|
881 |
+
// Encode response
|
882 |
+
$response_json = json_encode( $response );
|
883 |
+
|
884 |
+
// Send the response
|
885 |
+
header( "Content-Type: application/json" );
|
886 |
+
echo $response_json;
|
887 |
+
|
888 |
+
// Cheers
|
889 |
+
exit;
|
890 |
+
|
891 |
+
}
|
892 |
+
|
893 |
+
} add_action( 'wp_ajax_dslc-ajax-load-template', 'dslc_ajax_load_template' );
|
894 |
+
|
895 |
+
|
896 |
+
|
897 |
+
/**
|
898 |
+
* Import a template
|
899 |
+
*
|
900 |
+
* @since 1.0
|
901 |
+
*/
|
902 |
+
|
903 |
+
function dslc_ajax_import_template( $atts ) {
|
904 |
+
|
905 |
+
// Allowed to do this?
|
906 |
+
if ( is_user_logged_in() && current_user_can( DS_LIVE_COMPOSER_CAPABILITY ) ) {
|
907 |
+
|
908 |
+
// The array we'll pass back to the AJAX call
|
909 |
+
$response = array();
|
910 |
+
|
911 |
+
// The code of the template
|
912 |
+
$template_code = stripslashes( $_POST['dslc_template_code'] );
|
913 |
+
|
914 |
+
// Apply for new ID
|
915 |
+
$template_code = str_replace( '[dslc_module ', '[dslc_module give_new_id="true" ', $template_code);
|
916 |
+
$template_code = str_replace( '[dslc_module]', '[dslc_module give_new_id="true"]', $template_code);
|
917 |
+
|
918 |
+
// Get the front-end output
|
919 |
+
$response['output'] = do_shortcode ( $template_code );
|
920 |
+
|
921 |
+
// Encode response
|
922 |
+
$response_json = json_encode( $response );
|
923 |
+
|
924 |
+
// Send the response
|
925 |
+
header( "Content-Type: application/json" );
|
926 |
+
echo $response_json;
|
927 |
+
|
928 |
+
// Bye bye
|
929 |
+
exit;
|
930 |
+
|
931 |
+
}
|
932 |
+
|
933 |
+
} add_action( 'wp_ajax_dslc-ajax-import-template', 'dslc_ajax_import_template' );
|
934 |
+
|
935 |
+
|
936 |
+
/**
|
937 |
+
* Save a custom template
|
938 |
+
*
|
939 |
+
* @since 1.0
|
940 |
+
*/
|
941 |
+
|
942 |
+
function dslc_ajax_save_template( $atts ) {
|
943 |
+
|
944 |
+
// Allowed to do this?
|
945 |
+
if ( is_user_logged_in() && current_user_can( DS_LIVE_COMPOSER_CAPABILITY_SAVE ) ) {
|
946 |
+
|
947 |
+
// Response to the AJAX call
|
948 |
+
$response = array();
|
949 |
+
|
950 |
+
// To let the AJAX know how it went (all good for now)
|
951 |
+
$response['status'] = 'success';
|
952 |
+
|
953 |
+
// Get new template data
|
954 |
+
$template_title = stripslashes( $_POST['dslc_template_title'] );
|
955 |
+
$template_id = strtolower( str_replace( ' ', '-', $template_title) );
|
956 |
+
$template_code = stripslashes( $_POST['dslc_template_code'] );
|
957 |
+
|
958 |
+
// Get current templates
|
959 |
+
$templates = get_option( 'dslc_templates' );
|
960 |
+
|
961 |
+
// No templates = make empty array OR templates found = unserialize
|
962 |
+
if ( $templates === false )
|
963 |
+
$templates = array();
|
964 |
+
else
|
965 |
+
$templates = maybe_unserialize( $templates );
|
966 |
+
|
967 |
+
// Append new template to templates array
|
968 |
+
$templates[$template_id] = array(
|
969 |
+
'title' => $template_title,
|
970 |
+
'id' => $template_id,
|
971 |
+
'code' => $template_code,
|
972 |
+
'section' => 'user'
|
973 |
+
);
|
974 |
+
|
975 |
+
// Save new templates array to db
|
976 |
+
update_option( 'dslc_templates', maybe_serialize( $templates ) );
|
977 |
+
|
978 |
+
// Generate response
|
979 |
+
$response['output'] = $templates;
|
980 |
+
|
981 |
+
// Encode response
|
982 |
+
$response_json = json_encode( $response );
|
983 |
+
|
984 |
+
// AJAX phone home
|
985 |
+
header( "Content-Type: application/json" );
|
986 |
+
echo $response_json;
|
987 |
+
|
988 |
+
// Asta la vista
|
989 |
+
exit;
|
990 |
+
|
991 |
+
}
|
992 |
+
|
993 |
+
} add_action( 'wp_ajax_dslc-ajax-save-template', 'dslc_ajax_save_template' );
|
994 |
+
|
995 |
+
/**
|
996 |
+
* Delete a custom template
|
997 |
+
*
|
998 |
+
* @since 1.0
|
999 |
+
*/
|
1000 |
+
|
1001 |
+
function dslc_ajax_delete_template( $atts ) {
|
1002 |
+
|
1003 |
+
// Allowed to do this?
|
1004 |
+
if ( is_user_logged_in() && current_user_can( DS_LIVE_COMPOSER_CAPABILITY_SAVE ) ) {
|
1005 |
+
|
1006 |
+
$response = array();
|
1007 |
+
$response['status'] = 'success';
|
1008 |
+
|
1009 |
+
// ID of the template to delete
|
1010 |
+
$template_id = $_POST['dslc_template_id'];
|
1011 |
+
|
1012 |
+
// Get all templates
|
1013 |
+
$templates = maybe_unserialize( get_option( 'dslc_templates' ) );
|
1014 |
+
|
1015 |
+
// Remove the template
|
1016 |
+
unset( $templates[$template_id] );
|
1017 |
+
|
1018 |
+
// Save new templates array to db
|
1019 |
+
update_option( 'dslc_templates', maybe_serialize( $templates ) );
|
1020 |
+
|
1021 |
+
// Generate response
|
1022 |
+
$response['output'] = $templates;
|
1023 |
+
|
1024 |
+
// Encode response
|
1025 |
+
$response_json = json_encode( $response );
|
1026 |
+
|
1027 |
+
// AJAX phone home
|
1028 |
+
header( "Content-Type: application/json" );
|
1029 |
+
echo $response_json;
|
1030 |
+
|
1031 |
+
// Asta la vista
|
1032 |
+
exit;
|
1033 |
+
|
1034 |
+
}
|
1035 |
+
|
1036 |
+
} add_action( 'wp_ajax_dslc-ajax-delete-template', 'dslc_ajax_delete_template' );
|
1037 |
+
|
1038 |
+
/**
|
1039 |
+
* Get new module ID
|
1040 |
+
*
|
1041 |
+
* @since 1.0
|
1042 |
+
*/
|
1043 |
+
|
1044 |
+
function dslc_ajax_get_new_module_id() {
|
1045 |
+
|
1046 |
+
// Allowed to do this?
|
1047 |
+
if ( is_user_logged_in() && current_user_can( DS_LIVE_COMPOSER_CAPABILITY_SAVE ) ) {
|
1048 |
+
|
1049 |
+
$response = array();
|
1050 |
+
$response['status'] = 'success';
|
1051 |
+
|
1052 |
+
// Get current count
|
1053 |
+
$module_id_count = get_option( 'dslc_module_id_count' );
|
1054 |
+
|
1055 |
+
// Increment by one
|
1056 |
+
$module_instance_id = $module_id_count + 1;
|
1057 |
+
|
1058 |
+
// Update the count
|
1059 |
+
update_option( 'dslc_module_id_count', $module_instance_id );
|
1060 |
+
|
1061 |
+
// Generate response
|
1062 |
+
$response['output'] = $module_instance_id;
|
1063 |
+
|
1064 |
+
// Encode response
|
1065 |
+
$response_json = json_encode( $response );
|
1066 |
+
|
1067 |
+
// AJAX phone home
|
1068 |
+
header( "Content-Type: application/json" );
|
1069 |
+
echo $response_json;
|
1070 |
+
|
1071 |
+
// Asta la vista
|
1072 |
+
exit;
|
1073 |
+
|
1074 |
+
}
|
1075 |
+
|
1076 |
+
} add_action( 'wp_ajax_dslc-ajax-get-new-module-id', 'dslc_ajax_get_new_module_id' );
|
1077 |
+
|
1078 |
+
/**
|
1079 |
+
* Import a modules section
|
1080 |
+
*
|
1081 |
+
* @since 1.0
|
1082 |
+
*/
|
1083 |
+
|
1084 |
+
function dslc_ajax_import_modules_section( $atts ) {
|
1085 |
+
|
1086 |
+
// Allowed to do this?
|
1087 |
+
if ( is_user_logged_in() && current_user_can( DS_LIVE_COMPOSER_CAPABILITY ) ) {
|
1088 |
+
|
1089 |
+
// The array we'll pass back to the AJAX call
|
1090 |
+
$response = array();
|
1091 |
+
|
1092 |
+
// The code of the modules section
|
1093 |
+
$modules_code = stripslashes( $_POST['dslc_modules_section_code'] );
|
1094 |
+
|
1095 |
+
// Apply for new ID
|
1096 |
+
$modules_code = str_replace( '[dslc_module ', '[dslc_module give_new_id="true" ', $modules_code);
|
1097 |
+
$modules_code = str_replace( '[dslc_module]', '[dslc_module give_new_id="true"]', $modules_code);
|
1098 |
+
|
1099 |
+
// Get the front-end output
|
1100 |
+
$response['output'] = do_shortcode ( $modules_code );
|
1101 |
+
|
1102 |
+
// Encode response
|
1103 |
+
$response_json = json_encode( $response );
|
1104 |
+
|
1105 |
+
// Send the response
|
1106 |
+
header( "Content-Type: application/json" );
|
1107 |
+
echo $response_json;
|
1108 |
+
|
1109 |
+
// Bye bye
|
1110 |
+
exit;
|
1111 |
+
|
1112 |
+
}
|
1113 |
+
|
1114 |
+
} add_action( 'wp_ajax_dslc-ajax-import-modules-section', 'dslc_ajax_import_modules_section' );
|
1115 |
+
|
1116 |
+
/**
|
1117 |
+
* Return the code to alter defaults for a module
|
1118 |
+
*
|
1119 |
+
* @since 1.0
|
1120 |
+
*/
|
1121 |
+
|
1122 |
+
function dslc_ajax_dm_module_defaults_code( $atts ) {
|
1123 |
+
|
1124 |
+
// Allowed to do this?
|
1125 |
+
if ( is_user_logged_in() && current_user_can( DS_LIVE_COMPOSER_CAPABILITY ) ) {
|
1126 |
+
|
1127 |
+
$code = '';
|
1128 |
+
|
1129 |
+
// The array we'll pass back to the AJAX call
|
1130 |
+
$response = array();
|
1131 |
+
|
1132 |
+
// The options serialized array
|
1133 |
+
$modules_code = stripslashes( $_POST['dslc_modules_options'] );
|
1134 |
+
|
1135 |
+
// Turn the string of settings into an array
|
1136 |
+
$settings_new = maybe_unserialize( base64_decode( $modules_code ) );
|
1137 |
+
|
1138 |
+
if ( is_array( $settings_new ) ) {
|
1139 |
+
|
1140 |
+
// The ID of the module
|
1141 |
+
$module_id = $settings_new['module_id'];
|
1142 |
+
|
1143 |
+
// Instanciate the module class
|
1144 |
+
$module_instance = new $module_id();
|
1145 |
+
|
1146 |
+
// Module output
|
1147 |
+
$settings = $module_instance->options();
|
1148 |
+
|
1149 |
+
$code .= "if ( " . '$id' ." == '" . $module_id . "' ) {
|
1150 |
+
". '$new_defaults = array(' . "
|
1151 |
+
";
|
1152 |
+
|
1153 |
+
// Fix settings when a new option added after a module is used
|
1154 |
+
foreach( $settings as $key => $setting ) {
|
1155 |
+
|
1156 |
+
if ( isset( $settings_new[ $setting['id'] ] ) ) {
|
1157 |
+
|
1158 |
+
if ( $settings_new[ $setting['id'] ] != $settings[$key]['std'] ) {
|
1159 |
+
$code .= " '" . $setting['id'] . "' => '" . $settings_new[ $setting['id'] ] . "',
|
1160 |
+
";
|
1161 |
+
}
|
1162 |
+
|
1163 |
+
}
|
1164 |
+
|
1165 |
+
}
|
1166 |
+
|
1167 |
+
$code .= ' );
|
1168 |
+
}';
|
1169 |
+
|
1170 |
+
}
|
1171 |
+
|
1172 |
+
// Get the front-end output
|
1173 |
+
$response['output'] = $code;
|
1174 |
+
|
1175 |
+
// Encode response
|
1176 |
+
$response_json = json_encode( $response );
|
1177 |
+
|
1178 |
+
// Send the response
|
1179 |
+
header( "Content-Type: application/json" );
|
1180 |
+
echo $response_json;
|
1181 |
+
|
1182 |
+
// Bye bye
|
1183 |
+
exit;
|
1184 |
+
|
1185 |
+
}
|
1186 |
+
|
1187 |
+
} add_action( 'wp_ajax_dslc-ajax-dm-module-defaults', 'dslc_ajax_dm_module_defaults_code' );
|
1188 |
+
|
1189 |
+
/**
|
1190 |
+
* Save module styling preset
|
1191 |
+
* dslc_save_preset is located in functions.php
|
1192 |
+
*
|
1193 |
+
* @since 1.0
|
1194 |
+
*/
|
1195 |
+
|
1196 |
+
function dslc_ajax_save_preset() {
|
1197 |
+
|
1198 |
+
// Allowed to do this?
|
1199 |
+
if ( is_user_logged_in() && current_user_can( DS_LIVE_COMPOSER_CAPABILITY ) ) {
|
1200 |
+
|
1201 |
+
// The array we'll pass back to the AJAX call
|
1202 |
+
$response = array();
|
1203 |
+
|
1204 |
+
// Get the preset data
|
1205 |
+
$preset_name = stripslashes( $_POST['dslc_preset_name'] );
|
1206 |
+
$preset_code_raw = stripslashes( $_POST['dslc_preset_code'] );
|
1207 |
+
$module_id = stripslashes( $_POST['dslc_module_id'] );
|
1208 |
+
|
1209 |
+
// Save
|
1210 |
+
if ( dslc_save_preset( $preset_name, $preset_code_raw, $module_id ) )
|
1211 |
+
$response['status'] = 'success';
|
1212 |
+
else
|
1213 |
+
$response['status'] = 'error';
|
1214 |
+
|
1215 |
+
// Encode response
|
1216 |
+
$response_json = json_encode( $response );
|
1217 |
+
|
1218 |
+
// Send the response
|
1219 |
+
header( "Content-Type: application/json" );
|
1220 |
+
echo $response_json;
|
1221 |
+
|
1222 |
+
// Bye bye
|
1223 |
+
exit;
|
1224 |
+
|
1225 |
+
}
|
1226 |
+
|
1227 |
} add_action( 'wp_ajax_dslc-ajax-save-preset', 'dslc_ajax_save_preset' );
|
includes/archive-templates.php
CHANGED
@@ -1,168 +1,168 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
/**
|
4 |
-
* Table of Contents
|
5 |
-
*
|
6 |
-
* dslc_archive_template_redirect ( Load custom template )
|
7 |
-
* dslc_archive_template_init ( Register options )
|
8 |
-
* dslc_archive_template_404_fix ( Fixes 404 on pagination caused when regular WP query has no more post )
|
9 |
-
*/
|
10 |
-
|
11 |
-
|
12 |
-
/**
|
13 |
-
* Load custom template
|
14 |
-
*
|
15 |
-
* @since 1.0
|
16 |
-
*/
|
17 |
-
|
18 |
-
function dslc_archive_template_redirect( $archive_template ) {
|
19 |
-
|
20 |
-
global $post;
|
21 |
-
|
22 |
-
$template = dslc_get_option( $post->post_type, 'dslc_plugin_options_archives' );
|
23 |
-
if ( ! $template || $template == 'none' ) return $archive_template;
|
24 |
-
|
25 |
-
$archive_template = DS_LIVE_COMPOSER_ABS . '/templates/dslc-archive.php';
|
26 |
-
return $archive_template;
|
27 |
-
|
28 |
-
}
|
29 |
-
add_filter( 'archive_template', 'dslc_archive_template_redirect' );
|
30 |
-
add_filter( 'category_template', 'dslc_archive_template_redirect' );
|
31 |
-
|
32 |
-
/**
|
33 |
-
* Load custom template for author archive
|
34 |
-
*
|
35 |
-
* @since 1.0
|
36 |
-
*/
|
37 |
-
|
38 |
-
function dslc_author_archive_template_redirect( $archive_template ) {
|
39 |
-
|
40 |
-
$template = dslc_get_option( 'author', 'dslc_plugin_options_archives' );
|
41 |
-
if ( ! $template || $template == 'none' ) return $archive_template;
|
42 |
-
|
43 |
-
$archive_template = DS_LIVE_COMPOSER_ABS . '/templates/dslc-archive.php';
|
44 |
-
return $archive_template;
|
45 |
-
|
46 |
-
} add_filter( 'author_template', 'dslc_author_archive_template_redirect' );
|
47 |
-
|
48 |
-
/**
|
49 |
-
* Load custom template for search
|
50 |
-
*
|
51 |
-
* @since 1.0
|
52 |
-
*/
|
53 |
-
|
54 |
-
function dslc_search_template_redirect( $search_template ) {
|
55 |
-
|
56 |
-
$template = dslc_get_option( 'search_results', 'dslc_plugin_options_archives' );
|
57 |
-
if ( ! $template || $template == 'none' ) return $search_template;
|
58 |
-
|
59 |
-
$search_template = DS_LIVE_COMPOSER_ABS . '/templates/dslc-archive.php';
|
60 |
-
return $search_template;
|
61 |
-
|
62 |
-
} add_filter( 'search_template', 'dslc_search_template_redirect' );
|
63 |
-
|
64 |
-
/**
|
65 |
-
* Load custom template for 404
|
66 |
-
*
|
67 |
-
* @since 1.0
|
68 |
-
*/
|
69 |
-
|
70 |
-
function dslc_404_template_redirect( $not_found_template ) {
|
71 |
-
|
72 |
-
$template = dslc_get_option( '404_page', 'dslc_plugin_options_archives' );
|
73 |
-
if ( ! $template || $template == 'none' ) return $not_found_template;
|
74 |
-
|
75 |
-
$not_found_template = DS_LIVE_COMPOSER_ABS . '/templates/dslc-404.php';
|
76 |
-
return $not_found_template;
|
77 |
-
|
78 |
-
} add_filter( '404_template', 'dslc_404_template_redirect' );
|
79 |
-
|
80 |
-
/**
|
81 |
-
* Register options
|
82 |
-
*
|
83 |
-
* @since 1.0
|
84 |
-
*/
|
85 |
-
|
86 |
-
function dslc_archive_template_init() {
|
87 |
-
|
88 |
-
global $dslc_plugin_options;
|
89 |
-
global $dslc_var_modules;
|
90 |
-
global $dslc_post_types;
|
91 |
-
|
92 |
-
$opts = array();
|
93 |
-
|
94 |
-
// Page Options
|
95 |
-
$pages_opts = array();
|
96 |
-
$pages_opts[] = array(
|
97 |
-
'label' => __( 'Default', 'live-composer-page-builder' ),
|
98 |
-
'value' => 'none'
|
99 |
-
);
|
100 |
-
$pages = get_pages();
|
101 |
-
foreach ( $pages as $page ) {
|
102 |
-
$pages_opts[] = array(
|
103 |
-
'label' => $page->post_title,
|
104 |
-
'value' => $page->ID
|
105 |
-
);
|
106 |
-
}
|
107 |
-
|
108 |
-
foreach ( $dslc_post_types as $post_type ) {
|
109 |
-
|
110 |
-
$opts[$post_type] = array(
|
111 |
-
'label' => $post_type . ' archives',
|
112 |
-
'descr' => __( 'Choose which page should serve as template.', 'live-composer-page-builder' ),
|
113 |
-
'std' => 'none',
|
114 |
-
'type' => 'select',
|
115 |
-
'choices' => $pages_opts
|
116 |
-
);
|
117 |
-
|
118 |
-
}
|
119 |
-
|
120 |
-
$opts['author'] = array(
|
121 |
-
'label' => 'Author archives',
|
122 |
-
'descr' => __( 'Choose which page should serve as template.', 'live-composer-page-builder' ),
|
123 |
-
'std' => 'none',
|
124 |
-
'type' => 'select',
|
125 |
-
'choices' => $pages_opts
|
126 |
-
);
|
127 |
-
|
128 |
-
$opts['search_results'] = array(
|
129 |
-
'label' => 'Search Results',
|
130 |
-
'descr' => __( 'Choose which page should serve as template.', 'live-composer-page-builder' ),
|
131 |
-
'std' => 'none',
|
132 |
-
'type' => 'select',
|
133 |
-
'choices' => $pages_opts
|
134 |
-
);
|
135 |
-
|
136 |
-
$opts['404_page'] = array(
|
137 |
-
'label' => '404 Page',
|
138 |
-
'descr' => __( 'Choose which page should serve as template.', 'live-composer-page-builder' ),
|
139 |
-
'std' => 'none',
|
140 |
-
'type' => 'select',
|
141 |
-
'choices' => $pages_opts
|
142 |
-
);
|
143 |
-
|
144 |
-
$dslc_plugin_options['dslc_plugin_options_archives'] = array(
|
145 |
-
'title' => __( 'Archives and Search', 'live-composer-page-builder' ),
|
146 |
-
'options' => $opts
|
147 |
-
);
|
148 |
-
|
149 |
-
} add_action( 'dslc_hook_register_options', 'dslc_archive_template_init' );
|
150 |
-
|
151 |
-
/**
|
152 |
-
* Fixes 404 on pagination caused when regular WP query has no more post
|
153 |
-
*
|
154 |
-
* @since 1.0
|
155 |
-
*/
|
156 |
-
|
157 |
-
function dslc_archive_template_404_fix( $query ) {
|
158 |
-
|
159 |
-
if ( $query->is_author() && $query->is_archive() && $query->is_main_query() ) {
|
160 |
-
|
161 |
-
$template = dslc_get_option( 'author', 'dslc_plugin_options_archives' );
|
162 |
-
if ( ! $template || $template == 'none' ) { /* nothing */ } else { $query->set( 'posts_per_page', 1 ); }
|
163 |
-
|
164 |
-
}
|
165 |
-
|
166 |
-
return $query;
|
167 |
-
|
168 |
} add_action( 'pre_get_posts', 'dslc_archive_template_404_fix' );
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* Table of Contents
|
5 |
+
*
|
6 |
+
* dslc_archive_template_redirect ( Load custom template )
|
7 |
+
* dslc_archive_template_init ( Register options )
|
8 |
+
* dslc_archive_template_404_fix ( Fixes 404 on pagination caused when regular WP query has no more post )
|
9 |
+
*/
|
10 |
+
|
11 |
+
|
12 |
+
/**
|
13 |
+
* Load custom template
|
14 |
+
*
|
15 |
+
* @since 1.0
|
16 |
+
*/
|
17 |
+
|
18 |
+
function dslc_archive_template_redirect( $archive_template ) {
|
19 |
+
|
20 |
+
global $post;
|
21 |
+
|
22 |
+
$template = dslc_get_option( $post->post_type, 'dslc_plugin_options_archives' );
|
23 |
+
if ( ! $template || $template == 'none' ) return $archive_template;
|
24 |
+
|
25 |
+
$archive_template = DS_LIVE_COMPOSER_ABS . '/templates/dslc-archive.php';
|
26 |
+
return $archive_template;
|
27 |
+
|
28 |
+
}
|
29 |
+
add_filter( 'archive_template', 'dslc_archive_template_redirect' );
|
30 |
+
add_filter( 'category_template', 'dslc_archive_template_redirect' );
|
31 |
+
|
32 |
+
/**
|
33 |
+
* Load custom template for author archive
|
34 |
+
*
|
35 |
+
* @since 1.0
|
36 |
+
*/
|
37 |
+
|
38 |
+
function dslc_author_archive_template_redirect( $archive_template ) {
|
39 |
+
|
40 |
+
$template = dslc_get_option( 'author', 'dslc_plugin_options_archives' );
|
41 |
+
if ( ! $template || $template == 'none' ) return $archive_template;
|
42 |
+
|
43 |
+
$archive_template = DS_LIVE_COMPOSER_ABS . '/templates/dslc-archive.php';
|
44 |
+
return $archive_template;
|
45 |
+
|
46 |
+
} add_filter( 'author_template', 'dslc_author_archive_template_redirect' );
|
47 |
+
|
48 |
+
/**
|
49 |
+
* Load custom template for search
|
50 |
+
*
|
51 |
+
* @since 1.0
|
52 |
+
*/
|
53 |
+
|
54 |
+
function dslc_search_template_redirect( $search_template ) {
|
55 |
+
|
56 |
+
$template = dslc_get_option( 'search_results', 'dslc_plugin_options_archives' );
|
57 |
+
if ( ! $template || $template == 'none' ) return $search_template;
|
58 |
+
|
59 |
+
$search_template = DS_LIVE_COMPOSER_ABS . '/templates/dslc-archive.php';
|
60 |
+
return $search_template;
|
61 |
+
|
62 |
+
} add_filter( 'search_template', 'dslc_search_template_redirect' );
|
63 |
+
|
64 |
+
/**
|
65 |
+
* Load custom template for 404
|
66 |
+
*
|
67 |
+
* @since 1.0
|
68 |
+
*/
|
69 |
+
|
70 |
+
function dslc_404_template_redirect( $not_found_template ) {
|
71 |
+
|
72 |
+
$template = dslc_get_option( '404_page', 'dslc_plugin_options_archives' );
|
73 |
+
if ( ! $template || $template == 'none' ) return $not_found_template;
|
74 |
+
|
75 |
+
$not_found_template = DS_LIVE_COMPOSER_ABS . '/templates/dslc-404.php';
|
76 |
+
return $not_found_template;
|
77 |
+
|
78 |
+
} add_filter( '404_template', 'dslc_404_template_redirect' );
|
79 |
+
|
80 |
+
/**
|
81 |
+
* Register options
|
82 |
+
*
|
83 |
+
* @since 1.0
|
84 |
+
*/
|
85 |
+
|
86 |
+
function dslc_archive_template_init() {
|
87 |
+
|
88 |
+
global $dslc_plugin_options;
|
89 |
+
global $dslc_var_modules;
|
90 |
+
global $dslc_post_types;
|
91 |
+
|
92 |
+
$opts = array();
|
93 |
+
|
94 |
+
// Page Options
|
95 |
+
$pages_opts = array();
|
96 |
+
$pages_opts[] = array(
|
97 |
+
'label' => __( 'Default', 'live-composer-page-builder' ),
|
98 |
+
'value' => 'none'
|
99 |
+
);
|
100 |
+
$pages = get_pages();
|
101 |
+
foreach ( $pages as $page ) {
|
102 |
+
$pages_opts[] = array(
|
103 |
+
'label' => $page->post_title,
|
104 |
+
'value' => $page->ID
|
105 |
+
);
|
106 |
+
}
|
107 |
+
|
108 |
+
foreach ( $dslc_post_types as $post_type ) {
|
109 |
+
|
110 |
+
$opts[$post_type] = array(
|
111 |
+
'label' => $post_type . ' archives',
|
112 |
+
'descr' => __( 'Choose which page should serve as template.', 'live-composer-page-builder' ),
|
113 |
+
'std' => 'none',
|
114 |
+
'type' => 'select',
|
115 |
+
'choices' => $pages_opts
|
116 |
+
);
|
117 |
+
|
118 |
+
}
|
119 |
+
|
120 |
+
$opts['author'] = array(
|
121 |
+
'label' => 'Author archives',
|
122 |
+
'descr' => __( 'Choose which page should serve as template.', 'live-composer-page-builder' ),
|
123 |
+
'std' => 'none',
|
124 |
+
'type' => 'select',
|
125 |
+
'choices' => $pages_opts
|
126 |
+
);
|
127 |
+
|
128 |
+
$opts['search_results'] = array(
|
129 |
+
'label' => 'Search Results',
|
130 |
+
'descr' => __( 'Choose which page should serve as template.', 'live-composer-page-builder' ),
|
131 |
+
'std' => 'none',
|
132 |
+
'type' => 'select',
|
133 |
+
'choices' => $pages_opts
|
134 |
+
);
|
135 |
+
|
136 |
+
$opts['404_page'] = array(
|
137 |
+
'label' => '404 Page',
|
138 |
+
'descr' => __( 'Choose which page should serve as template.', 'live-composer-page-builder' ),
|
139 |
+
'std' => 'none',
|
140 |
+
'type' => 'select',
|
141 |
+
'choices' => $pages_opts
|
142 |
+
);
|
143 |
+
|
144 |
+
$dslc_plugin_options['dslc_plugin_options_archives'] = array(
|
145 |
+
'title' => __( 'Archives and Search', 'live-composer-page-builder' ),
|
146 |
+
'options' => $opts
|
147 |
+
);
|
148 |
+
|
149 |
+
} add_action( 'dslc_hook_register_options', 'dslc_archive_template_init' );
|
150 |
+
|
151 |
+
/**
|
152 |
+
* Fixes 404 on pagination caused when regular WP query has no more post
|
153 |
+
*
|
154 |
+
* @since 1.0
|
155 |
+
*/
|
156 |
+
|
157 |
+
function dslc_archive_template_404_fix( $query ) {
|
158 |
+
|
159 |
+
if ( $query->is_author() && $query->is_archive() && $query->is_main_query() ) {
|
160 |
+
|
161 |
+
$template = dslc_get_option( 'author', 'dslc_plugin_options_archives' );
|
162 |
+
if ( ! $template || $template == 'none' ) { /* nothing */ } else { $query->set( 'posts_per_page', 1 ); }
|
163 |
+
|
164 |
+
}
|
165 |
+
|
166 |
+
return $query;
|
167 |
+
|
168 |
} add_action( 'pre_get_posts', 'dslc_archive_template_404_fix' );
|
includes/class.module.php
CHANGED
@@ -1,2050 +1,2050 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
class DSLC_Module {
|
4 |
-
|
5 |
-
function shared_options( $options_id, $atts = false ) {
|
6 |
-
|
7 |
-
$animation_options_choices = array(
|
8 |
-
array(
|
9 |
-
'label' => 'None',
|
10 |
-
'value' => 'none'
|
11 |
-
),
|
12 |
-
array(
|
13 |
-
'label' => 'Fade In',
|
14 |
-
'value' => 'dslcFadeIn'
|
15 |
-
),
|
16 |
-
array(
|
17 |
-
'label' => 'Slide Up',
|
18 |
-
'value' => 'dslcSlideUp'
|
19 |
-
),
|
20 |
-
array(
|
21 |
-
'label' => 'Slide Down',
|
22 |
-
'value' => 'dslcSlideDown'
|
23 |
-
),
|
24 |
-
array(
|
25 |
-
'label' => 'Slide Right',
|
26 |
-
'value' => 'dslcSlideRight'
|
27 |
-
),
|
28 |
-
array(
|
29 |
-
'label' => 'Slide Left',
|
30 |
-
'value' => 'dslcSlideLeft'
|
31 |
-
),
|
32 |
-
array(
|
33 |
-
'label' => 'Slide Up + Fade In',
|
34 |
-
'value' => 'dslcSlideUpFadeIn'
|
35 |
-
),
|
36 |
-
array(
|
37 |
-
'label' => 'Slide Down + Fade In',
|
38 |
-
'value' => 'dslcSlideDownFadeIn'
|
39 |
-
),
|
40 |
-
array(
|
41 |
-
'label' => 'Slide Right + Fade In',
|
42 |
-
'value' => 'dslcSlideRightFadeIn'
|
43 |
-
),
|
44 |
-
array(
|
45 |
-
'label' => 'Slide Left + Fade In',
|
46 |
-
'value' => 'dslcSlideLeftFadeIn'
|
47 |
-
),
|
48 |
-
);
|
49 |
-
|
50 |
-
$animation_options_choices = apply_filters( 'dslc_animation_options', $animation_options_choices );
|
51 |
-
|
52 |
-
$animation_options_general = array(
|
53 |
-
|
54 |
-
array(
|
55 |
-
'label' => 'On Load Animation',
|
56 |
-
'id' => 'css_anim',
|
57 |
-
'std' => 'none',
|
58 |
-
'type' => 'select',
|
59 |
-
'section' => 'styling',
|
60 |
-
'tab' => 'animation',
|
61 |
-
'choices' => $animation_options_choices
|
62 |
-
),
|
63 |
-
array(
|
64 |
-
'label' => 'On Load Animation - Delay ( ms )',
|
65 |
-
'id' => 'css_anim_delay',
|
66 |
-
'std' => '0',
|
67 |
-
'type' => 'text',
|
68 |
-
'section' => 'styling',
|
69 |
-
'tab' => 'animation'
|
70 |
-
),
|
71 |
-
array(
|
72 |
-
'label' => 'On Load Anim - Duration ( ms )',
|
73 |
-
'id' => 'css_anim_duration',
|
74 |
-
'std' => '650',
|
75 |
-
'type' => 'text',
|
76 |
-
'section' => 'styling',
|
77 |
-
'tab' => 'animation'
|
78 |
-
),
|
79 |
-
array(
|
80 |
-
'label' => 'On Load Animation - Easing',
|
81 |
-
'id' => 'css_anim_easing',
|
82 |
-
'std' => 'ease',
|
83 |
-
'type' => 'select',
|
84 |
-
'section' => 'styling',
|
85 |
-
'tab' => 'animation',
|
86 |
-
'choices' => array(
|
87 |
-
array(
|
88 |
-
'label' => 'Default',
|
89 |
-
'value' => 'ease'
|
90 |
-
),
|
91 |
-
array(
|
92 |
-
'label' => 'Linear',
|
93 |
-
'value' => 'linear'
|
94 |
-
),
|
95 |
-
array(
|
96 |
-
'label' => 'Ease In',
|
97 |
-
'value' => 'ease-in'
|
98 |
-
),
|
99 |
-
array(
|
100 |
-
'label' => 'Ease Out',
|
101 |
-
'value' => 'ease-out'
|
102 |
-
),
|
103 |
-
array(
|
104 |
-
'label' => 'Ease In Out',
|
105 |
-
'value' => 'ease-in-out'
|
106 |
-
),
|
107 |
-
)
|
108 |
-
),
|
109 |
-
|
110 |
-
);
|
111 |
-
|
112 |
-
$animation_options_posts = array(
|
113 |
-
|
114 |
-
array(
|
115 |
-
'label' => 'On Hover Animation',
|
116 |
-
'id' => 'css_anim_hover',
|
117 |
-
'std' => 'none',
|
118 |
-
'type' => 'select',
|
119 |
-
'section' => 'styling',
|
120 |
-
'tab' => 'animation',
|
121 |
-
'choices' => array(
|
122 |
-
array(
|
123 |
-
'label' => 'None',
|
124 |
-
'value' => 'none'
|
125 |
-
),
|
126 |
-
array(
|
127 |
-
'label' => 'Fade In',
|
128 |
-
'value' => 'dslcFadeIn'
|
129 |
-
),
|
130 |
-
array(
|
131 |
-
'label' => 'Slide Up',
|
132 |
-
'value' => 'dslcSlideUp'
|
133 |
-
),
|
134 |
-
array(
|
135 |
-
'label' => 'Slide Down',
|
136 |
-
'value' => 'dslcSlideDown'
|
137 |
-
),
|
138 |
-
array(
|
139 |
-
'label' => 'Slide Right',
|
140 |
-
'value' => 'dslcSlideRight'
|
141 |
-
),
|
142 |
-
array(
|
143 |
-
'label' => 'Slide Left',
|
144 |
-
'value' => 'dslcSlideLeft'
|
145 |
-
),
|
146 |
-
array(
|
147 |
-
'label' => 'Slide Up + Fade In',
|
148 |
-
'value' => 'dslcSlideUpFadeIn'
|
149 |
-
),
|
150 |
-
array(
|
151 |
-
'label' => 'Slide Down + Fade In',
|
152 |
-
'value' => 'dslcSlideDownFadeIn'
|
153 |
-
),
|
154 |
-
array(
|
155 |
-
'label' => 'Slide Right + Fade In',
|
156 |
-
'value' => 'dslcSlideRightFadeIn'
|
157 |
-
),
|
158 |
-
array(
|
159 |
-
'label' => 'Slide Left + Fade In',
|
160 |
-
'value' => 'dslcSlideLeftFadeIn'
|
161 |
-
),
|
162 |
-
)
|
163 |
-
),
|
164 |
-
array(
|
165 |
-
'label' => 'On Hover Animation - Speed ( ms )',
|
166 |
-
'id' => 'css_anim_speed',
|
167 |
-
'std' => '650',
|
168 |
-
'type' => 'text',
|
169 |
-
'section' => 'styling',
|
170 |
-
'tab' => 'animation'
|
171 |
-
),
|
172 |
-
|
173 |
-
);
|
174 |
-
|
175 |
-
if ( isset( $atts['hover_opts'] ) && ! $atts['hover_opts'] ) {
|
176 |
-
$animation_options = $animation_options_general;
|
177 |
-
} else {
|
178 |
-
$animation_options = array_merge( $animation_options_general, $animation_options_posts );
|
179 |
-
}
|
180 |
-
|
181 |
-
$col_choices = array(
|
182 |
-
array(
|
183 |
-
'label' => '1/12',
|
184 |
-
'value' => '1',
|
185 |
-
),
|
186 |
-
array(
|
187 |
-
'label' => '2/12',
|
188 |
-
'value' => '2',
|
189 |
-
),
|
190 |
-
array(
|
191 |
-
'label' => '3/12',
|
192 |
-
'value' => '3',
|
193 |
-
),
|
194 |
-
array(
|
195 |
-
'label' => '4/12',
|
196 |
-
'value' => '4',
|
197 |
-
),
|
198 |
-
array(
|
199 |
-
'label' => '5/12',
|
200 |
-
'value' => '5',
|
201 |
-
),
|
202 |
-
array(
|
203 |
-
'label' => '6/12',
|
204 |
-
'value' => '6',
|
205 |
-
),
|
206 |
-
array(
|
207 |
-
'label' => '7/12',
|
208 |
-
'value' => '7',
|
209 |
-
),
|
210 |
-
array(
|
211 |
-
'label' => '8/12',
|
212 |
-
'value' => '8',
|
213 |
-
),
|
214 |
-
array(
|
215 |
-
'label' => '9/12',
|
216 |
-
'value' => '9',
|
217 |
-
),
|
218 |
-
array(
|
219 |
-
'label' => '10/12',
|
220 |
-
'value' => '10',
|
221 |
-
),
|
222 |
-
array(
|
223 |
-
'label' => '11/12',
|
224 |
-
'value' => '11',
|
225 |
-
),
|
226 |
-
array(
|
227 |
-
'label' => '12/12',
|
228 |
-
'value' => '12',
|
229 |
-
),
|
230 |
-
);
|
231 |
-
|
232 |
-
$posts_per_row_choices = array(
|
233 |
-
array(
|
234 |
-
'label' => '1',
|
235 |
-
'value' => '12',
|
236 |
-
),
|
237 |
-
array(
|
238 |
-
'label' => '2',
|
239 |
-
'value' => '6',
|
240 |
-
),
|
241 |
-
array(
|
242 |
-
'label' => '3',
|
243 |
-
'value' => '4',
|
244 |
-
),
|
245 |
-
array(
|
246 |
-
'label' => '4',
|
247 |
-
'value' => '3',
|
248 |
-
),
|
249 |
-
array(
|
250 |
-
'label' => '6',
|
251 |
-
'value' => '2',
|
252 |
-
),
|
253 |
-
);
|
254 |
-
|
255 |
-
/**
|
256 |
-
* Filter Options
|
257 |
-
*/
|
258 |
-
|
259 |
-
$filters_options = array(
|
260 |
-
|
261 |
-
array(
|
262 |
-
'label' => 'BG Color',
|
263 |
-
'id' => 'css_filter_bg_color',
|
264 |
-
'std' => '#ffffff',
|
265 |
-
'type' => 'color',
|
266 |
-
'refresh_on_change' => false,
|
267 |
-
'affect_on_change_el' => '.dslc-post-filter.dslc-inactive',
|
268 |
-
'affect_on_change_rule' => 'background-color',
|
269 |
-
'section' => 'styling',
|
270 |
-
'tab' => 'Filters'
|
271 |
-
),
|
272 |
-
array(
|
273 |
-
'label' => 'BG Color - Active',
|
274 |
-
'id' => 'css_filter_bg_color_active',
|
275 |
-
'std' => '#5890e5',
|
276 |
-
'type' => 'color',
|
277 |
-
'refresh_on_change' => false,
|
278 |
-
'affect_on_change_el' => '.dslc-post-filter.dslc-active',
|
279 |
-
'affect_on_change_rule' => 'background-color',
|
280 |
-
'section' => 'styling',
|
281 |
-
'tab' => 'Filters'
|
282 |
-
),
|
283 |
-
array(
|
284 |
-
'label' => 'Border Color',
|
285 |
-
'id' => 'css_filter_border_color',
|
286 |
-
'std' => '#e8e8e8',
|
287 |
-
'type' => 'color',
|
288 |
-
'refresh_on_change' => false,
|
289 |
-
'affect_on_change_el' => '.dslc-post-filter.dslc-inactive',
|
290 |
-
'affect_on_change_rule' => 'border-color',
|
291 |
-
'section' => 'styling',
|
292 |
-
'tab' => 'Filters'
|
293 |
-
),
|
294 |
-
array(
|
295 |
-
'label' => 'Border Color - Active',
|
296 |
-
'id' => 'css_filter_border_color_active',
|
297 |
-
'std' => '#5890e5',
|
298 |
-
'type' => 'color',
|
299 |
-
'refresh_on_change' => false,
|
300 |
-
'affect_on_change_el' => '.dslc-post-filter.dslc-active',
|
301 |
-
'affect_on_change_rule' => 'border-color',
|
302 |
-
'section' => 'styling',
|
303 |
-
'tab' => 'Filters'
|
304 |
-
),
|
305 |
-
array(
|
306 |
-
'label' => 'Border Width',
|
307 |
-
'id' => 'css_filter_border_width',
|
308 |
-
'std' => '1',
|
309 |
-
'type' => 'slider',
|
310 |
-
'refresh_on_change' => false,
|
311 |
-
'affect_on_change_el' => '.dslc-post-filter',
|
312 |
-
'affect_on_change_rule' => 'border-width',
|
313 |
-
'section' => 'styling',
|
314 |
-
'ext' => 'px',
|
315 |
-
'tab' => 'Filters'
|
316 |
-
),
|
317 |
-
array(
|
318 |
-
'label' => 'Borders',
|
319 |
-
'id' => 'css_filter_border_trbl',
|
320 |
-
'std' => 'top right bottom left',
|
321 |
-
'type' => 'checkbox',
|
322 |
-
'choices' => array(
|
323 |
-
array(
|
324 |
-
'label' => 'Top',
|
325 |
-
'value' => 'top'
|
326 |
-
),
|
327 |
-
array(
|
328 |
-
'label' => 'Right',
|
329 |
-
'value' => 'right'
|
330 |
-
),
|
331 |
-
array(
|
332 |
-
'label' => 'Bottom',
|
333 |
-
'value' => 'bottom'
|
334 |
-
),
|
335 |
-
array(
|
336 |
-
'label' => 'Left',
|
337 |
-
'value' => 'left'
|
338 |
-
),
|
339 |
-
),
|
340 |
-
'refresh_on_change' => false,
|
341 |
-
'affect_on_change_el' => '.dslc-post-filter',
|
342 |
-
'affect_on_change_rule' => 'border-style',
|
343 |
-
'section' => 'styling',
|
344 |
-
'tab' => 'Filters',
|
345 |
-
),
|
346 |
-
array(
|
347 |
-
'label' => 'Border Radius',
|
348 |
-
'id' => 'css_filter_border_radius',
|
349 |
-
'std' => '3',
|
350 |
-
'type' => 'slider',
|
351 |
-
'refresh_on_change' => false,
|
352 |
-
'affect_on_change_el' => '.dslc-post-filter',
|
353 |
-
'affect_on_change_rule' => 'border-radius',
|
354 |
-
'section' => 'styling',
|
355 |
-
'tab' => 'Filters',
|
356 |
-
'ext' => 'px'
|
357 |
-
),
|
358 |
-
array(
|
359 |
-
'label' => 'Color',
|
360 |
-
'id' => 'css_filter_color',
|
361 |
-
'std' => '#979797',
|
362 |
-
'type' => 'color',
|
363 |
-
'refresh_on_change' => false,
|
364 |
-
'affect_on_change_el' => '.dslc-post-filter.dslc-inactive',
|
365 |
-
'affect_on_change_rule' => 'color',
|
366 |
-
'section' => 'styling',
|
367 |
-
'tab' => 'Filters'
|
368 |
-
),
|
369 |
-
array(
|
370 |
-
'label' => 'Color - Active',
|
371 |
-
'id' => 'css_filter_color_active',
|
372 |
-
'std' => '#ffffff',
|
373 |
-
'type' => 'color',
|
374 |
-
'refresh_on_change' => false,
|
375 |
-
'affect_on_change_el' => '.dslc-post-filter.dslc-active',
|
376 |
-
'affect_on_change_rule' => 'color',
|
377 |
-
'section' => 'styling',
|
378 |
-
'tab' => 'Filters'
|
379 |
-
),
|
380 |
-
array(
|
381 |
-
'label' => 'Font Size',
|
382 |
-
'id' => 'css_filter_font_size',
|
383 |
-
'std' => '11',
|
384 |
-
'type' => 'slider',
|
385 |
-
'refresh_on_change' => false,
|
386 |
-
'affect_on_change_el' => '.dslc-post-filter',
|
387 |
-
'affect_on_change_rule' => 'font-size',
|
388 |
-
'section' => 'styling',
|
389 |
-
'tab' => 'Filters',
|
390 |
-
'ext' => 'px'
|
391 |
-
),
|
392 |
-
array(
|
393 |
-
'label' => 'Font Weight',
|
394 |
-
'id' => 'css_filter_font_weight',
|
395 |
-
'std' => '700',
|
396 |
-
'type' => 'slider',
|
397 |
-
'refresh_on_change' => false,
|
398 |
-
'affect_on_change_el' => '.dslc-post-filter',
|
399 |
-
'affect_on_change_rule' => 'font-weight',
|
400 |
-
'section' => 'styling',
|
401 |
-
'tab' => 'Filters',
|
402 |
-
'ext' => '',
|
403 |
-
'min' => 100,
|
404 |
-
'max' => 900,
|
405 |
-
'increment' => 100
|
406 |
-
),
|
407 |
-
array(
|
408 |
-
'label' => 'Font Family',
|
409 |
-
'id' => 'css_filter_font_family',
|
410 |
-
'std' => 'Open Sans',
|
411 |
-
'type' => 'font',
|
412 |
-
'refresh_on_change' => false,
|
413 |
-
'affect_on_change_el' => '.dslc-post-filter',
|
414 |
-
'affect_on_change_rule' => 'font-family',
|
415 |
-
'section' => 'styling',
|
416 |
-
'tab' => 'Filters',
|
417 |
-
),
|
418 |
-
array(
|
419 |
-
'label' => 'Padding Vertical',
|
420 |
-
'id' => 'css_filter_padding_vertical',
|
421 |
-
'std' => '12',
|
422 |
-
'type' => 'slider',
|
423 |
-
'refresh_on_change' => false,
|
424 |
-
'affect_on_change_el' => '.dslc-post-filter',
|
425 |
-
'affect_on_change_rule' => 'padding-top,padding-bottom',
|
426 |
-
'section' => 'styling',
|
427 |
-
'ext' => 'px',
|
428 |
-
'tab' => 'Filters'
|
429 |
-
),
|
430 |
-
array(
|
431 |
-
'label' => 'Padding Horizontal',
|
432 |
-
'id' => 'css_filter_padding_horizontal',
|
433 |
-
'std' => '12',
|
434 |
-
'type' => 'slider',
|
435 |
-
'refresh_on_change' => false,
|
436 |
-
'affect_on_change_el' => '.dslc-post-filter',
|
437 |
-
'affect_on_change_rule' => 'padding-left,padding-right',
|
438 |
-
'section' => 'styling',
|
439 |
-
'ext' => 'px',
|
440 |
-
'tab' => 'Filters'
|
441 |
-
),
|
442 |
-
array(
|
443 |
-
'label' => 'Position',
|
444 |
-
'id' => 'css_filter_position',
|
445 |
-
'std' => 'left',
|
446 |
-
'type' => 'text_align',
|
447 |
-
'refresh_on_change' => false,
|
448 |
-
'affect_on_change_el' => '.dslc-post-filters',
|
449 |
-
'affect_on_change_rule' => 'text-align',
|
450 |
-
'section' => 'styling',
|
451 |
-
'tab' => 'Filters',
|
452 |
-
),
|
453 |
-
array(
|
454 |
-
'label' => 'Spacing',
|
455 |
-
'id' => 'css_filter_spacing',
|
456 |
-
'std' => '10',
|
457 |
-
'type' => 'slider',
|
458 |
-
'refresh_on_change' => false,
|
459 |
-
'affect_on_change_el' => '.dslc-post-filter',
|
460 |
-
'affect_on_change_rule' => 'margin-right',
|
461 |
-
'section' => 'styling',
|
462 |
-
'ext' => 'px',
|
463 |
-
'tab' => 'Filters'
|
464 |
-
),
|
465 |
-
array(
|
466 |
-
'label' => 'Margin Bottom',
|
467 |
-
'id' => 'css_filter_margin_bottom',
|
468 |
-
'std' => '20',
|
469 |
-
'type' => 'slider',
|
470 |
-
'refresh_on_change' => false,
|
471 |
-
'affect_on_change_el' => '.dslc-post-filters',
|
472 |
-
'affect_on_change_rule' => 'margin-bottom',
|
473 |
-
'section' => 'styling',
|
474 |
-
'tab' => 'Filters',
|
475 |
-
'ext' => 'px'
|
476 |
-
),
|
477 |
-
|
478 |
-
/**
|
479 |
-
* Responsive Tablet
|
480 |
-
*/
|
481 |
-
|
482 |
-
array(
|
483 |
-
'label' => 'Filters - Font Size',
|
484 |
-
'id' => 'css_res_t_filter_font_size',
|
485 |
-
'std' => '11',
|
486 |
-
'type' => 'slider',
|
487 |
-
'refresh_on_change' => false,
|
488 |
-
'affect_on_change_el' => '.dslc-post-filter',
|
489 |
-
'affect_on_change_rule' => 'font-size',
|
490 |
-
'section' => 'responsive',
|
491 |
-
'tab' => 'tablet',
|
492 |
-
'ext' => 'px'
|
493 |
-
),
|
494 |
-
array(
|
495 |
-
'label' => 'Filters - Padding Vertical',
|
496 |
-
'id' => 'css_res_t_filter_padding_vertical',
|
497 |
-
'std' => '12',
|
498 |
-
'type' => 'slider',
|
499 |
-
'refresh_on_change' => false,
|
500 |
-
'affect_on_change_el' => '.dslc-post-filter',
|
501 |
-
'affect_on_change_rule' => 'padding-top,padding-bottom',
|
502 |
-
'section' => 'responsive',
|
503 |
-
'ext' => 'px',
|
504 |
-
'tab' => 'tablet'
|
505 |
-
),
|
506 |
-
array(
|
507 |
-
'label' => 'Filters - Padding Horizontal',
|
508 |
-
'id' => 'css_res_t_filter_padding_horizontal',
|
509 |
-
'std' => '12',
|
510 |
-
'type' => 'slider',
|
511 |
-
'refresh_on_change' => false,
|
512 |
-
'affect_on_change_el' => '.dslc-post-filter',
|
513 |
-
'affect_on_change_rule' => 'padding-left,padding-right',
|
514 |
-
'section' => 'responsive',
|
515 |
-
'ext' => 'px',
|
516 |
-
'tab' => 'tablet'
|
517 |
-
),
|
518 |
-
array(
|
519 |
-
'label' => 'Filters - Spacing',
|
520 |
-
'id' => 'css_res_t_filter_spacing',
|
521 |
-
'std' => '10',
|
522 |
-
'type' => 'slider',
|
523 |
-
'refresh_on_change' => false,
|
524 |
-
'affect_on_change_el' => '.dslc-post-filter',
|
525 |
-
'affect_on_change_rule' => 'margin-right',
|
526 |
-
'section' => 'responsive',
|
527 |
-
'ext' => 'px',
|
528 |
-
'tab' => 'tablet'
|
529 |
-
),
|
530 |
-
array(
|
531 |
-
'label' => 'Filters - Margin Bottom',
|
532 |
-
'id' => 'css_res_t_filter_margin_bottom',
|
533 |
-
'std' => '20',
|
534 |
-
'type' => 'slider',
|
535 |
-
'refresh_on_change' => false,
|
536 |
-
'affect_on_change_el' => '.dslc-post-filters',
|
537 |
-
'affect_on_change_rule' => 'margin-bottom',
|
538 |
-
'section' => 'responsive',
|
539 |
-
'tab' => 'tablet',
|
540 |
-
'ext' => 'px'
|
541 |
-
),
|
542 |
-
|
543 |
-
/**
|
544 |
-
* Responsive Phone
|
545 |
-
*/
|
546 |
-
|
547 |
-
array(
|
548 |
-
'label' => 'Filters - Font Size',
|
549 |
-
'id' => 'css_res_p_filter_font_size',
|
550 |
-
'std' => '11',
|
551 |
-
'type' => 'slider',
|
552 |
-
'refresh_on_change' => false,
|
553 |
-
'affect_on_change_el' => '.dslc-post-filter',
|
554 |
-
'affect_on_change_rule' => 'font-size',
|
555 |
-
'section' => 'responsive',
|
556 |
-
'tab' => 'phone',
|
557 |
-
'ext' => 'px'
|
558 |
-
),
|
559 |
-
array(
|
560 |
-
'label' => 'Filters - Padding Vertical',
|
561 |
-
'id' => 'css_res_p_filter_padding_vertical',
|
562 |
-
'std' => '12',
|
563 |
-
'type' => 'slider',
|
564 |
-
'refresh_on_change' => false,
|
565 |
-
'affect_on_change_el' => '.dslc-post-filter',
|
566 |
-
'affect_on_change_rule' => 'padding-top,padding-bottom',
|
567 |
-
'section' => 'responsive',
|
568 |
-
'ext' => 'px',
|
569 |
-
'tab' => 'phone'
|
570 |
-
),
|
571 |
-
array(
|
572 |
-
'label' => 'Filters - Padding Horizontal',
|
573 |
-
'id' => 'css_res_p_filter_padding_horizontal',
|
574 |
-
'std' => '12',
|
575 |
-
'type' => 'slider',
|
576 |
-
'refresh_on_change' => false,
|
577 |
-
'affect_on_change_el' => '.dslc-post-filter',
|
578 |
-
'affect_on_change_rule' => 'padding-left,padding-right',
|
579 |
-
'section' => 'responsive',
|
580 |
-
'ext' => 'px',
|
581 |
-
'tab' => 'phone'
|
582 |
-
),
|
583 |
-
array(
|
584 |
-
'label' => 'Filters - Spacing',
|
585 |
-
'id' => 'css_res_p_filter_spacing',
|
586 |
-
'std' => '10',
|
587 |
-
'type' => 'slider',
|
588 |
-
'refresh_on_change' => false,
|
589 |
-
'affect_on_change_el' => '.dslc-post-filter',
|
590 |
-
'affect_on_change_rule' => 'margin-right',
|
591 |
-
'section' => 'responsive',
|
592 |
-
'ext' => 'px',
|
593 |
-
'tab' => 'phone'
|
594 |
-
),
|
595 |
-
array(
|
596 |
-
'label' => 'Filters - Margin Bottom',
|
597 |
-
'id' => 'css_res_p_filter_margin_bottom',
|
598 |
-
'std' => '20',
|
599 |
-
'type' => 'slider',
|
600 |
-
'refresh_on_change' => false,
|
601 |
-
'affect_on_change_el' => '.dslc-post-filters',
|
602 |
-
'affect_on_change_rule' => 'margin-bottom',
|
603 |
-
'section' => 'responsive',
|
604 |
-
'tab' => 'phone',
|
605 |
-
'ext' => 'px'
|
606 |
-
),
|
607 |
-
|
608 |
-
);
|
609 |
-
|
610 |
-
/**
|
611 |
-
* Heading
|
612 |
-
*/
|
613 |
-
|
614 |
-
$heading_options = array(
|
615 |
-
|
616 |
-
array(
|
617 |
-
'label' => 'Main Heading Title',
|
618 |
-
'id' => 'main_heading_title',
|
619 |
-
'std' => 'CLICK TO EDIT',
|
620 |
-
'type' => 'text',
|
621 |
-
'visibility' => 'hidden'
|
622 |
-
),
|
623 |
-
array(
|
624 |
-
'label' => 'View All Title',
|
625 |
-
'id' => 'main_heading_link_title',
|
626 |
-
'std' => 'VIEW ALL',
|
627 |
-
'type' => 'text',
|
628 |
-
'visibility' => 'hidden'
|
629 |
-
),
|
630 |
-
|
631 |
-
array(
|
632 |
-
'label' => 'Title - Color',
|
633 |
-
'id' => 'css_main_heading_color',
|
634 |
-
'std' => '',
|
635 |
-
'type' => 'color',
|
636 |
-
'refresh_on_change' => false,
|
637 |
-
'affect_on_change_el' => '.dslc-module-heading h2',
|
638 |
-
'affect_on_change_rule' => 'color',
|
639 |
-
'section' => 'styling',
|
640 |
-
'tab' => 'Heading'
|
641 |
-
),
|
642 |
-
array(
|
643 |
-
'label' => 'Title - Font Size',
|
644 |
-
'id' => 'css_main_heading_font_size',
|
645 |
-
'std' => '17',
|
646 |
-
'type' => 'slider',
|
647 |
-
'refresh_on_change' => false,
|
648 |
-
'affect_on_change_el' => '.dslc-module-heading h2',
|
649 |
-
'affect_on_change_rule' => 'font-size',
|
650 |
-
'section' => 'styling',
|
651 |
-
'tab' => 'Heading',
|
652 |
-
'ext' => 'px'
|
653 |
-
),
|
654 |
-
array(
|
655 |
-
'label' => 'Title - Font Weight',
|
656 |
-
'id' => 'css_main_heading_font_weight',
|
657 |
-
'std' => '400',
|
658 |
-
'type' => 'slider',
|
659 |
-
'refresh_on_change' => false,
|
660 |
-
'affect_on_change_el' => '.dslc-module-heading h2',
|
661 |
-
'affect_on_change_rule' => 'font-weight',
|
662 |
-
'section' => 'styling',
|
663 |
-
'tab' => 'Heading',
|
664 |
-
'ext' => '',
|
665 |
-
'min' => 100,
|
666 |
-
'max' => 900,
|
667 |
-
'increment' => 100
|
668 |
-
),
|
669 |
-
array(
|
670 |
-
'label' => 'Title - Font Family',
|
671 |
-
'id' => 'css_main_heading_font_family',
|
672 |
-
'std' => 'Oswald',
|
673 |
-
'type' => 'font',
|
674 |
-
'refresh_on_change' => false,
|
675 |
-
'affect_on_change_el' => '.dslc-module-heading h2',
|
676 |
-
'affect_on_change_rule' => 'font-family',
|
677 |
-
'section' => 'styling',
|
678 |
-
'tab' => 'Heading',
|
679 |
-
),
|
680 |
-
array(
|
681 |
-
'label' => __( 'Title - Letter Spacing', 'live-composer-page-builder' ),
|
682 |
-
'id' => 'css_main_heading_letter_spacing',
|
683 |
-
'std' => '0',
|
684 |
-
'type' => 'slider',
|
685 |
-
'refresh_on_change' => false,
|
686 |
-
'affect_on_change_el' => '.dslc-module-heading h2',
|
687 |
-
'affect_on_change_rule' => 'letter-spacing',
|
688 |
-
'section' => 'styling',
|
689 |
-
'tab' => 'Heading',
|
690 |
-
'ext' => 'px',
|
691 |
-
'min' => -50,
|
692 |
-
'max' => 50
|
693 |
-
),
|
694 |
-
array(
|
695 |
-
'label' => 'Title - Line Height',
|
696 |
-
'id' => 'css_main_heading_line_height',
|
697 |
-
'std' => '37',
|
698 |
-
'type' => 'slider',
|
699 |
-
'refresh_on_change' => false,
|
700 |
-
'affect_on_change_el' => '.dslc-module-heading h2',
|
701 |
-
'affect_on_change_rule' => 'line-height',
|
702 |
-
'section' => 'styling',
|
703 |
-
'tab' => 'Heading',
|
704 |
-
'ext' => 'px'
|
705 |
-
),
|
706 |
-
|
707 |
-
|
708 |
-
array(
|
709 |
-
'label' => 'Link - Color',
|
710 |
-
'id' => 'css_main_heading_link_color',
|
711 |
-
'std' => '',
|
712 |
-
'type' => 'color',
|
713 |
-
'refresh_on_change' => false,
|
714 |
-
'affect_on_change_el' => '.dslc-module-heading-view-all a',
|
715 |
-
'affect_on_change_rule' => 'color',
|
716 |
-
'section' => 'styling',
|
717 |
-
'tab' => 'Heading'
|
718 |
-
),
|
719 |
-
array(
|
720 |
-
'label' => 'Link - Color - Hover',
|
721 |
-
'id' => 'css_main_heading_link_color_hover',
|
722 |
-
'std' => '',
|
723 |
-
'type' => 'color',
|
724 |
-
'refresh_on_change' => false,
|
725 |
-
'affect_on_change_el' => '.dslc-module-heading-view-all a:hover',
|
726 |
-
'affect_on_change_rule' => 'color',
|
727 |
-
'section' => 'styling',
|
728 |
-
'tab' => 'Heading'
|
729 |
-
),
|
730 |
-
array(
|
731 |
-
'label' => 'Link - Font Size',
|
732 |
-
'id' => 'css_main_heading_link_font_size',
|
733 |
-
'std' => '11',
|
734 |
-
'type' => 'slider',
|
735 |
-
'refresh_on_change' => false,
|
736 |
-
'affect_on_change_el' => '.dslc-module-heading-view-all a',
|
737 |
-
'affect_on_change_rule' => 'font-size',
|
738 |
-
'section' => 'styling',
|
739 |
-
'tab' => 'Heading',
|
740 |
-
'ext' => 'px'
|
741 |
-
),
|
742 |
-
array(
|
743 |
-
'label' => 'Link - Font Weight',
|
744 |
-
'id' => 'css_main_heading_link_font_weight',
|
745 |
-
'std' => '600',
|
746 |
-
'type' => 'slider',
|
747 |
-
'refresh_on_change' => false,
|
748 |
-
'affect_on_change_el' => '.dslc-module-heading-view-all a',
|
749 |
-
'affect_on_change_rule' => 'font-weight',
|
750 |
-
'section' => 'styling',
|
751 |
-
'tab' => 'Heading',
|
752 |
-
'ext' => '',
|
753 |
-
'min' => 100,
|
754 |
-
'max' => 900,
|
755 |
-
'increment' => 100
|
756 |
-
),
|
757 |
-
array(
|
758 |
-
'label' => 'Link - Font Family',
|
759 |
-
'id' => 'css_main_heading_link_font_family',
|
760 |
-
'std' => 'Open Sans',
|
761 |
-
'type' => 'font',
|
762 |
-
'refresh_on_change' => false,
|
763 |
-
'affect_on_change_el' => '.dslc-module-heading-view-all a',
|
764 |
-
'affect_on_change_rule' => 'font-family',
|
765 |
-
'section' => 'styling',
|
766 |
-
'tab' => 'Heading',
|
767 |
-
),
|
768 |
-
array(
|
769 |
-
'label' => __( 'Link - Letter Spacing', 'live-composer-page-builder' ),
|
770 |
-
'id' => 'css_main_heading_link_letter_spacing',
|
771 |
-
'std' => '0',
|
772 |
-
'type' => 'slider',
|
773 |
-
'refresh_on_change' => false,
|
774 |
-
'affect_on_change_el' => '.dslc-module-heading-view-all a',
|
775 |
-
'affect_on_change_rule' => 'letter-spacing',
|
776 |
-
'section' => 'styling',
|
777 |
-
'tab' => 'Heading',
|
778 |
-
'ext' => 'px',
|
779 |
-
'min' => -50,
|
780 |
-
'max' => 50
|
781 |
-
),
|
782 |
-
array(
|
783 |
-
'label' => 'Link - Padding Vertical',
|
784 |
-
'id' => 'css_main_heading_link_padding_ver',
|
785 |
-
'std' => '10',
|
786 |
-
'type' => 'slider',
|
787 |
-
'refresh_on_change' => false,
|
788 |
-
'affect_on_change_el' => '.dslc-module-heading-view-all',
|
789 |
-
'affect_on_change_rule' => 'padding-top,padding-bottom',
|
790 |
-
'section' => 'styling',
|
791 |
-
'tab' => 'Heading',
|
792 |
-
'ext' => 'px'
|
793 |
-
),
|
794 |
-
array(
|
795 |
-
'label' => 'Link - URL',
|
796 |
-
'id' => 'view_all_link',
|
797 |
-
'std' => '#',
|
798 |
-
'type' => 'text',
|
799 |
-
'section' => 'styling',
|
800 |
-
'tab' => 'Heading',
|
801 |
-
),
|
802 |
-
array(
|
803 |
-
'label' => 'Separator - Color',
|
804 |
-
'id' => 'css_main_heading_sep_color',
|
805 |
-
'std' => '#4f4f4f',
|
806 |
-
'type' => 'color',
|
807 |
-
'refresh_on_change' => false,
|
808 |
-
'affect_on_change_el' => '.dslc-module-heading-view-all a',
|
809 |
-
'affect_on_change_rule' => 'border-left-color',
|
810 |
-
'section' => 'styling',
|
811 |
-
'tab' => 'Heading'
|
812 |
-
),
|
813 |
-
array(
|
814 |
-
'label' => 'Separator - Style',
|
815 |
-
'id' => 'css_main_heading_sep_style',
|
816 |
-
'std' => 'dotted',
|
817 |
-
'type' => 'select',
|
818 |
-
'refresh_on_change' => false,
|
819 |
-
'affect_on_change_el' => '.dslc-module-heading-view-all a',
|
820 |
-
'affect_on_change_rule' => 'border-left-style',
|
821 |
-
'section' => 'styling',
|
822 |
-
'tab' => 'Heading',
|
823 |
-
'choices' => array(
|
824 |
-
array(
|
825 |
-
'label' => 'Solid',
|
826 |
-
'value' => 'solid',
|
827 |
-
),
|
828 |
-
array(
|
829 |
-
'label' => 'Dashed',
|
830 |
-
'value' => 'dashed',
|
831 |
-
),
|
832 |
-
array(
|
833 |
-
'label' => 'Dotted',
|
834 |
-
'value' => 'dotted',
|
835 |
-
),
|
836 |
-
)
|
837 |
-
),
|
838 |
-
|
839 |
-
array(
|
840 |
-
'label' => 'Margin Bottom',
|
841 |
-
'id' => 'css_heading_margin_bottom',
|
842 |
-
'std' => '20',
|
843 |
-
'type' => 'slider',
|
844 |
-
'refresh_on_change' => false,
|
845 |
-
'affect_on_change_el' => '.dslc-module-heading h2',
|
846 |
-
'affect_on_change_rule' => 'margin-bottom',
|
847 |
-
'section' => 'styling',
|
848 |
-
'tab' => 'Heading',
|
849 |
-
'ext' => 'px'
|
850 |
-
),
|
851 |
-
|
852 |
-
/**
|
853 |
-
* Responsive Tablet
|
854 |
-
*/
|
855 |
-
|
856 |
-
array(
|
857 |
-
'label' => 'Heading - Font Size',
|
858 |
-
'id' => 'css_res_t_main_heading_font_size',
|
859 |
-
'std' => '17',
|
860 |
-
'type' => 'slider',
|
861 |
-
'refresh_on_change' => false,
|
862 |
-
'affect_on_change_el' => '.dslc-module-heading h2',
|
863 |
-
'affect_on_change_rule' => 'font-size',
|
864 |
-
'section' => 'responsive',
|
865 |
-
'tab' => 'tablet',
|
866 |
-
'ext' => 'px'
|
867 |
-
),
|
868 |
-
array(
|
869 |
-
'label' => 'Heading - Line Height',
|
870 |
-
'id' => 'css_res_t_main_heading_line_height',
|
871 |
-
'std' => '37',
|
872 |
-
'type' => 'slider',
|
873 |
-
'refresh_on_change' => false,
|
874 |
-
'affect_on_change_el' => '.dslc-module-heading h2',
|
875 |
-
'affect_on_change_rule' => 'line-height',
|
876 |
-
'section' => 'responsive',
|
877 |
-
'tab' => 'tablet',
|
878 |
-
'ext' => 'px'
|
879 |
-
),
|
880 |
-
array(
|
881 |
-
'label' => 'Heading Link - Font Size',
|
882 |
-
'id' => 'css_res_t_main_heading_link_font_size',
|
883 |
-
'std' => '11',
|
884 |
-
'type' => 'slider',
|
885 |
-
'refresh_on_change' => false,
|
886 |
-
'affect_on_change_el' => '.dslc-module-heading-view-all a',
|
887 |
-
'affect_on_change_rule' => 'font-size',
|
888 |
-
'section' => 'responsive',
|
889 |
-
'tab' => 'tablet',
|
890 |
-
'ext' => 'px'
|
891 |
-
),
|
892 |
-
array(
|
893 |
-
'label' => 'Heading Link - Padding Vertical',
|
894 |
-
'id' => 'css_res_t_main_heading_link_padding_ver',
|
895 |
-
'std' => '10',
|
896 |
-
'type' => 'slider',
|
897 |
-
'refresh_on_change' => false,
|
898 |
-
'affect_on_change_el' => '.dslc-module-heading-view-all',
|
899 |
-
'affect_on_change_rule' => 'padding-top,padding-bottom',
|
900 |
-
'section' => 'responsive',
|
901 |
-
'tab' => 'tablet',
|
902 |
-
'ext' => 'px'
|
903 |
-
),
|
904 |
-
array(
|
905 |
-
'label' => 'Heading - Margin Bottom',
|
906 |
-
'id' => 'css_res_t_heading_margin_bottom',
|
907 |
-
'std' => '20',
|
908 |
-
'type' => 'slider',
|
909 |
-
'refresh_on_change' => false,
|
910 |
-
'affect_on_change_el' => '.dslc-module-heading h2',
|
911 |
-
'affect_on_change_rule' => 'margin-bottom',
|
912 |
-
'section' => 'responsive',
|
913 |
-
'tab' => 'tablet',
|
914 |
-
'ext' => 'px'
|
915 |
-
),
|
916 |
-
|
917 |
-
/**
|
918 |
-
* Responsive Phone
|
919 |
-
*/
|
920 |
-
|
921 |
-
array(
|
922 |
-
'label' => 'Heading - Font Size',
|
923 |
-
'id' => 'css_res_p_main_heading_font_size',
|
924 |
-
'std' => '17',
|
925 |
-
'type' => 'slider',
|
926 |
-
'refresh_on_change' => false,
|
927 |
-
'affect_on_change_el' => '.dslc-module-heading h2',
|
928 |
-
'affect_on_change_rule' => 'font-size',
|
929 |
-
'section' => 'responsive',
|
930 |
-
'tab' => 'phone',
|
931 |
-
'ext' => 'px'
|
932 |
-
),
|
933 |
-
array(
|
934 |
-
'label' => 'Heading - Line Height',
|
935 |
-
'id' => 'css_res_p_main_heading_line_height',
|
936 |
-
'std' => '37',
|
937 |
-
'type' => 'slider',
|
938 |
-
'refresh_on_change' => false,
|
939 |
-
'affect_on_change_el' => '.dslc-module-heading h2',
|
940 |
-
'affect_on_change_rule' => 'line-height',
|
941 |
-
'section' => 'responsive',
|
942 |
-
'tab' => 'phone',
|
943 |
-
'ext' => 'px'
|
944 |
-
),
|
945 |
-
array(
|
946 |
-
'label' => 'Heading Link - Font Size',
|
947 |
-
'id' => 'css_res_p_main_heading_link_font_size',
|
948 |
-
'std' => '11',
|
949 |
-
'type' => 'slider',
|
950 |
-
'refresh_on_change' => false,
|
951 |
-
'affect_on_change_el' => '.dslc-module-heading-view-all a',
|
952 |
-
'affect_on_change_rule' => 'font-size',
|
953 |
-
'section' => 'responsive',
|
954 |
-
'tab' => 'phone',
|
955 |
-
'ext' => 'px'
|
956 |
-
),
|
957 |
-
array(
|
958 |
-
'label' => 'Heading Link - Padding Vertical',
|
959 |
-
'id' => 'css_res_p_main_heading_link_padding_ver',
|
960 |
-
'std' => '10',
|
961 |
-
'type' => 'slider',
|
962 |
-
'refresh_on_change' => false,
|
963 |
-
'affect_on_change_el' => '.dslc-module-heading-view-all',
|
964 |
-
'affect_on_change_rule' => 'padding-top,padding-bottom',
|
965 |
-
'section' => 'responsive',
|
966 |
-
'tab' => 'phone',
|
967 |
-
'ext' => 'px'
|
968 |
-
),
|
969 |
-
array(
|
970 |
-
'label' => 'Heading - Margin Bottom',
|
971 |
-
'id' => 'css_res_p_heading_margin_bottom',
|
972 |
-
'std' => '20',
|
973 |
-
'type' => 'slider',
|
974 |
-
'refresh_on_change' => false,
|
975 |
-
'affect_on_change_el' => '.dslc-module-heading h2',
|
976 |
-
'affect_on_change_rule' => 'margin-bottom',
|
977 |
-
'section' => 'responsive',
|
978 |
-
'tab' => 'phone',
|
979 |
-
'ext' => 'px'
|
980 |
-
),
|
981 |
-
|
982 |
-
);
|
983 |
-
|
984 |
-
/**
|
985 |
-
* Carousel Arrows
|
986 |
-
*/
|
987 |
-
|
988 |
-
$carousel_arrows_options = array(
|
989 |
-
|
990 |
-
array(
|
991 |
-
'label' => 'Slide Speed',
|
992 |
-
'id' => 'arrows_slide_speed',
|
993 |
-
'std' => '200',
|
994 |
-
'type' => 'text',
|
995 |
-
'section' => 'styling',
|
996 |
-
'tab' => 'Carousel Arrows'
|
997 |
-
),
|
998 |
-
array(
|
999 |
-
'label' => 'BG Color',
|
1000 |
-
'id' => 'css_arrows_bg_color',
|
1001 |
-
'std' => '#c9c9c9',
|
1002 |
-
'type' => 'color',
|
1003 |
-
'refresh_on_change' => false,
|
1004 |
-
'affect_on_change_el' => '.dslc-carousel-nav-prev,.dslc-carousel-nav-next',
|
1005 |
-
'affect_on_change_rule' => 'background-color',
|
1006 |
-
'section' => 'styling',
|
1007 |
-
'tab' => 'Carousel Arrows'
|
1008 |
-
),
|
1009 |
-
array(
|
1010 |
-
'label' => 'BG Color - Hover',
|
1011 |
-
'id' => 'css_arrows_bg_color_hover',
|
1012 |
-
'std' => '#5890e5',
|
1013 |
-
'type' => 'color',
|
1014 |
-
'refresh_on_change' => false,
|
1015 |
-
'affect_on_change_el' => '.dslc-carousel-nav-prev:hover,.dslc-carousel-nav-next:hover',
|
1016 |
-
'affect_on_change_rule' => 'background-color',
|
1017 |
-
'section' => 'styling',
|
1018 |
-
'tab' => 'Carousel Arrows'
|
1019 |
-
),
|
1020 |
-
array(
|
1021 |
-
'label' => 'Border Color',
|
1022 |
-
'id' => 'css_arrows_border_color',
|
1023 |
-
'std' => '',
|
1024 |
-
'type' => 'color',
|
1025 |
-
'refresh_on_change' => false,
|
1026 |
-
'affect_on_change_el' => '.dslc-carousel-nav-prev,.dslc-carousel-nav-next',
|
1027 |
-
'affect_on_change_rule' => 'border-color',
|
1028 |
-
'section' => 'styling',
|
1029 |
-
'tab' => 'Carousel Arrows',
|
1030 |
-
),
|
1031 |
-
array(
|
1032 |
-
'label' => 'Border Color - Hover',
|
1033 |
-
'id' => 'css_arrows_border_color_hover',
|
1034 |
-
'std' => '',
|
1035 |
-
'type' => 'color',
|
1036 |
-
'refresh_on_change' => false,
|
1037 |
-
'affect_on_change_el' => '.dslc-carousel-nav-prev:hover,.dslc-carousel-nav-next:hover',
|
1038 |
-
'affect_on_change_rule' => 'border-color',
|
1039 |
-
'section' => 'styling',
|
1040 |
-
'tab' => 'Carousel Arrows',
|
1041 |
-
),
|
1042 |
-
array(
|
1043 |
-
'label' => 'Border Width',
|
1044 |
-
'id' => 'css_arrows_border_width',
|
1045 |
-
'std' => '0',
|
1046 |
-
'type' => 'slider',
|
1047 |
-
'refresh_on_change' => false,
|
1048 |
-
'affect_on_change_el' => '.dslc-carousel-nav-prev,.dslc-carousel-nav-next',
|
1049 |
-
'affect_on_change_rule' => 'border-width',
|
1050 |
-
'section' => 'styling',
|
1051 |
-
'ext' => 'px',
|
1052 |
-
'tab' => 'Carousel Arrows',
|
1053 |
-
),
|
1054 |
-
array(
|
1055 |
-
'label' => 'Border Radius',
|
1056 |
-
'id' => 'css_arrows_border_radius',
|
1057 |
-
'std' => '3',
|
1058 |
-
'type' => 'slider',
|
1059 |
-
'refresh_on_change' => false,
|
1060 |
-
'affect_on_change_el' => '.dslc-carousel-nav-prev,.dslc-carousel-nav-next',
|
1061 |
-
'affect_on_change_rule' => 'border-radius',
|
1062 |
-
'section' => 'styling',
|
1063 |
-
'tab' => 'Carousel Arrows',
|
1064 |
-
'ext' => 'px'
|
1065 |
-
),
|
1066 |
-
array(
|
1067 |
-
'label' => 'Color',
|
1068 |
-
'id' => 'css_arrows_color',
|
1069 |
-
'std' => '#ffffff',
|
1070 |
-
'type' => 'color',
|
1071 |
-
'refresh_on_change' => false,
|
1072 |
-
'affect_on_change_el' => '.dslc-carousel-nav-prev span,.dslc-carousel-nav-next span',
|
1073 |
-
'affect_on_change_rule' => 'color',
|
1074 |
-
'section' => 'styling',
|
1075 |
-
'tab' => 'Carousel Arrows'
|
1076 |
-
),
|
1077 |
-
array(
|
1078 |
-
'label' => 'Color - Hover',
|
1079 |
-
'id' => 'css_arrows_color_hover',
|
1080 |
-
'std' => '#ffffff',
|
1081 |
-
'type' => 'color',
|
1082 |
-
'refresh_on_change' => false,
|
1083 |
-
'affect_on_change_el' => '.dslc-carousel-nav-prev:hover span,.dslc-carousel-nav-next:hover span',
|
1084 |
-
'affect_on_change_rule' => 'color',
|
1085 |
-
'section' => 'styling',
|
1086 |
-
'tab' => 'Carousel Arrows'
|
1087 |
-
),
|
1088 |
-
array(
|
1089 |
-
'label' => 'Margin Top',
|
1090 |
-
'id' => 'css_arrows_margin_top',
|
1091 |
-
'std' => '6',
|
1092 |
-
'type' => 'slider',
|
1093 |
-
'refresh_on_change' => false,
|
1094 |
-
'affect_on_change_el' => '.dslc-carousel-nav',
|
1095 |
-
'affect_on_change_rule' => 'margin-top',
|
1096 |
-
'section' => 'styling',
|
1097 |
-
'tab' => 'Carousel Arrows',
|
1098 |
-
'ext' => 'px'
|
1099 |
-
),
|
1100 |
-
array(
|
1101 |
-
'label' => 'Size',
|
1102 |
-
'id' => 'css_arrows_size',
|
1103 |
-
'std' => '23',
|
1104 |
-
'type' => 'slider',
|
1105 |
-
'refresh_on_change' => false,
|
1106 |
-
'affect_on_change_el' => '.dslc-carousel-nav-prev,.dslc-carousel-nav-next',
|
1107 |
-
'affect_on_change_rule' => 'width,height',
|
1108 |
-
'section' => 'styling',
|
1109 |
-
'ext' => 'px',
|
1110 |
-
'tab' => 'Carousel Arrows'
|
1111 |
-
),
|
1112 |
-
array(
|
1113 |
-
'label' => 'Size - Arrows',
|
1114 |
-
'id' => 'css_arrows_arrow_size',
|
1115 |
-
'std' => '10',
|
1116 |
-
'type' => 'slider',
|
1117 |
-
'refresh_on_change' => false,
|
1118 |
-
'affect_on_change_el' => '.dslc-carousel-nav-prev span,.dslc-carousel-nav-next span',
|
1119 |
-
'affect_on_change_rule' => 'font-size',
|
1120 |
-
'section' => 'styling',
|
1121 |
-
'ext' => 'px',
|
1122 |
-
'tab' => 'Carousel Arrows'
|
1123 |
-
),
|
1124 |
-
array(
|
1125 |
-
'label' => 'Margin Bottom',
|
1126 |
-
'id' => 'css_arrows_margin_bottom',
|
1127 |
-
'std' => '20',
|
1128 |
-
'type' => 'slider',
|
1129 |
-
'refresh_on_change' => false,
|
1130 |
-
'affect_on_change_el' => '.dslc-carousel-nav',
|
1131 |
-
'affect_on_change_rule' => 'margin-bottom',
|
1132 |
-
'section' => 'styling',
|
1133 |
-
'tab' => 'Carousel Arrows',
|
1134 |
-
'ext' => 'px'
|
1135 |
-
),
|
1136 |
-
|
1137 |
-
);
|
1138 |
-
|
1139 |
-
/**
|
1140 |
-
* Carousel Circles
|
1141 |
-
*/
|
1142 |
-
|
1143 |
-
$carousel_circles_options = array(
|
1144 |
-
|
1145 |
-
array(
|
1146 |
-
'label' => 'Slide Speed',
|
1147 |
-
'id' => 'circles_slide_speed',
|
1148 |
-
'std' => '800',
|
1149 |
-
'type' => 'text',
|
1150 |
-
'section' => 'styling',
|
1151 |
-
'tab' => 'Carousel Circles'
|
1152 |
-
),
|
1153 |
-
array(
|
1154 |
-
'label' => 'Color',
|
1155 |
-
'id' => 'css_circles_color',
|
1156 |
-
'std' => '#b9b9b9',
|
1157 |
-
'type' => 'color',
|
1158 |
-
'refresh_on_change' => false,
|
1159 |
-
'affect_on_change_el' => '.owl-pagination .owl-page span',
|
1160 |
-
'affect_on_change_rule' => 'background-color',
|
1161 |
-
'section' => 'styling',
|
1162 |
-
'tab' => 'Carousel Circles'
|
1163 |
-
),
|
1164 |
-
array(
|
1165 |
-
'label' => 'Color - Active',
|
1166 |
-
'id' => 'css_circles_color_active',
|
1167 |
-
'std' => '#5890e5',
|
1168 |
-
'type' => 'color',
|
1169 |
-
'refresh_on_change' => false,
|
1170 |
-
'affect_on_change_el' => '.owl-pagination .owl-page.active span',
|
1171 |
-
'affect_on_change_rule' => 'background-color',
|
1172 |
-
'section' => 'styling',
|
1173 |
-
'tab' => 'Carousel Circles'
|
1174 |
-
),
|
1175 |
-
array(
|
1176 |
-
'label' => 'Margin Top',
|
1177 |
-
'id' => 'css_circles_margin_top',
|
1178 |
-
'std' => '20',
|
1179 |
-
'type' => 'slider',
|
1180 |
-
'refresh_on_change' => false,
|
1181 |
-
'affect_on_change_el' => '.owl-controls',
|
1182 |
-
'affect_on_change_rule' => 'margin-top',
|
1183 |
-
'section' => 'styling',
|
1184 |
-
'tab' => 'Carousel Circles',
|
1185 |
-
'ext' => 'px'
|
1186 |
-
),
|
1187 |
-
array(
|
1188 |
-
'label' => 'Size',
|
1189 |
-
'id' => 'css_circles_size',
|
1190 |
-
'std' => '7',
|
1191 |
-
'type' => 'slider',
|
1192 |
-
'refresh_on_change' => false,
|
1193 |
-
'affect_on_change_el' => '.owl-pagination .owl-page span',
|
1194 |
-
'affect_on_change_rule' => 'width,height',
|
1195 |
-
'section' => 'styling',
|
1196 |
-
'tab' => 'Carousel Circles',
|
1197 |
-
'ext' => 'px'
|
1198 |
-
),
|
1199 |
-
array(
|
1200 |
-
'label' => 'Spacing',
|
1201 |
-
'id' => 'css_circles_spacing',
|
1202 |
-
'std' => '3',
|
1203 |
-
'type' => 'slider',
|
1204 |
-
'refresh_on_change' => false,
|
1205 |
-
'affect_on_change_el' => '.owl-pagination .owl-page',
|
1206 |
-
'affect_on_change_rule' => 'margin-left,margin-right',
|
1207 |
-
'section' => 'styling',
|
1208 |
-
'tab' => 'Carousel Circles',
|
1209 |
-
'ext' => 'px'
|
1210 |
-
),
|
1211 |
-
|
1212 |
-
);
|
1213 |
-
|
1214 |
-
/**
|
1215 |
-
* Carousel Options
|
1216 |
-
*/
|
1217 |
-
|
1218 |
-
$carousel_options = array(
|
1219 |
-
|
1220 |
-
array(
|
1221 |
-
'label' => 'Autoplay ( ms )',
|
1222 |
-
'help' => 'The amount of miliseconds between each automatic slide.',
|
1223 |
-
'id' => 'carousel_autoplay',
|
1224 |
-
'std' => '0',
|
1225 |
-
'type' => 'text',
|
1226 |
-
'tab' => 'carousel',
|
1227 |
-
),
|
1228 |
-
array(
|
1229 |
-
'label' => 'Autoplay - Stop on Hover',
|
1230 |
-
'id' => 'carousel_autoplay_hover',
|
1231 |
-
'std' => 'false',
|
1232 |
-
'type' => 'select',
|
1233 |
-
'choices' => array(
|
1234 |
-
array(
|
1235 |
-
'label' => 'Enabled',
|
1236 |
-
'value' => 'true',
|
1237 |
-
),
|
1238 |
-
array(
|
1239 |
-
'label' => 'Disabled',
|
1240 |
-
'value' => 'false',
|
1241 |
-
),
|
1242 |
-
),
|
1243 |
-
'tab' => 'carousel',
|
1244 |
-
),
|
1245 |
-
|
1246 |
-
);
|
1247 |
-
|
1248 |
-
/**
|
1249 |
-
* Pagination
|
1250 |
-
*/
|
1251 |
-
|
1252 |
-
$pagination_options = array(
|
1253 |
-
|
1254 |
-
array(
|
1255 |
-
'label' => 'Align',
|
1256 |
-
'id' => 'css_pag_align',
|
1257 |
-
'std' => 'left',
|
1258 |
-
'type' => 'text_align',
|
1259 |
-
'refresh_on_change' => false,
|
1260 |
-
'affect_on_change_el' => '.dslc-pagination',
|
1261 |
-
'affect_on_change_rule' => 'text-align',
|
1262 |
-
'section' => 'styling',
|
1263 |
-
'tab' => 'Pagination',
|
1264 |
-
),
|
1265 |
-
array(
|
1266 |
-
'label' => 'Container - BG Color',
|
1267 |
-
'id' => 'css_pag_bg_color',
|
1268 |
-
'std' => '',
|
1269 |
-
'type' => 'color',
|
1270 |
-
'refresh_on_change' => false,
|
1271 |
-
'affect_on_change_el' => '.dslc-pagination',
|
1272 |
-
'affect_on_change_rule' => 'background-color',
|
1273 |
-
'section' => 'styling',
|
1274 |
-
'tab' => 'Pagination',
|
1275 |
-
),
|
1276 |
-
array(
|
1277 |
-
'label' => 'Container - Border Color',
|
1278 |
-
'id' => 'css_pag_border_color',
|
1279 |
-
'std' => '',
|
1280 |
-
'type' => 'color',
|
1281 |
-
'refresh_on_change' => false,
|
1282 |
-
'affect_on_change_el' => '.dslc-pagination',
|
1283 |
-
'affect_on_change_rule' => 'border-color',
|
1284 |
-
'section' => 'styling',
|
1285 |
-
'tab' => 'Pagination'
|
1286 |
-
),
|
1287 |
-
array(
|
1288 |
-
'label' => 'Container - Border Width',
|
1289 |
-
'id' => 'css_pag_border_width',
|
1290 |
-
'std' => '0',
|
1291 |
-
'type' => 'slider',
|
1292 |
-
'refresh_on_change' => false,
|
1293 |
-
'affect_on_change_el' => '.dslc-pagination',
|
1294 |
-
'affect_on_change_rule' => 'border-width',
|
1295 |
-
'section' => 'styling',
|
1296 |
-
'ext' => 'px',
|
1297 |
-
'tab' => 'Pagination'
|
1298 |
-
),
|
1299 |
-
array(
|
1300 |
-
'label' => 'Container - Borders',
|
1301 |
-
'id' => 'css_pag_border_trbl',
|
1302 |
-
'std' => 'top right bottom left',
|
1303 |
-
'type' => 'checkbox',
|
1304 |
-
'choices' => array(
|
1305 |
-
array(
|
1306 |
-
'label' => 'Top',
|
1307 |
-
'value' => 'top'
|
1308 |
-
),
|
1309 |
-
array(
|
1310 |
-
'label' => 'Right',
|
1311 |
-
'value' => 'right'
|
1312 |
-
),
|
1313 |
-
array(
|
1314 |
-
'label' => 'Bottom',
|
1315 |
-
'value' => 'bottom'
|
1316 |
-
),
|
1317 |
-
array(
|
1318 |
-
'label' => 'Left',
|
1319 |
-
'value' => 'left'
|
1320 |
-
),
|
1321 |
-
),
|
1322 |
-
'refresh_on_change' => false,
|
1323 |
-
'affect_on_change_el' => '.dslc-pagination',
|
1324 |
-
'affect_on_change_rule' => 'border-style',
|
1325 |
-
'section' => 'styling',
|
1326 |
-
'tab' => 'Pagination',
|
1327 |
-
),
|
1328 |
-
array(
|
1329 |
-
'label' => 'Container - Border Radius',
|
1330 |
-
'id' => 'css_pag_border_radius',
|
1331 |
-
'std' => '0',
|
1332 |
-
'type' => 'slider',
|
1333 |
-
'refresh_on_change' => false,
|
1334 |
-
'affect_on_change_el' => '.dslc-pagination',
|
1335 |
-
'affect_on_change_rule' => 'border-radius',
|
1336 |
-
'section' => 'styling',
|
1337 |
-
'tab' => 'Pagination',
|
1338 |
-
'ext' => 'px'
|
1339 |
-
),
|
1340 |
-
array(
|
1341 |
-
'label' => 'Container - Padding Vertical',
|
1342 |
-
'id' => 'css_pag_padding_vertical',
|
1343 |
-
'std' => '0',
|
1344 |
-
'type' => 'slider',
|
1345 |
-
'refresh_on_change' => false,
|
1346 |
-
'affect_on_change_el' => '.dslc-pagination',
|
1347 |
-
'affect_on_change_rule' => 'padding-top,padding-bottom',
|
1348 |
-
'section' => 'styling',
|
1349 |
-
'ext' => 'px',
|
1350 |
-
'tab' => 'Pagination'
|
1351 |
-
),
|
1352 |
-
array(
|
1353 |
-
'label' => 'Container - Padding Horizontal',
|
1354 |
-
'id' => 'css_pag_padding_horizontal',
|
1355 |
-
'std' => '0',
|
1356 |
-
'type' => 'slider',
|
1357 |
-
'refresh_on_change' => false,
|
1358 |
-
'affect_on_change_el' => '.dslc-pagination',
|
1359 |
-
'affect_on_change_rule' => 'padding-left,padding-right',
|
1360 |
-
'section' => 'styling',
|
1361 |
-
'ext' => 'px',
|
1362 |
-
'tab' => 'Pagination'
|
1363 |
-
),
|
1364 |
-
|
1365 |
-
array(
|
1366 |
-
'label' => 'Item - BG Color',
|
1367 |
-
'id' => 'css_pag_item_bg_color',
|
1368 |
-
'std' => '#ffffff',
|
1369 |
-
'type' => 'color',
|
1370 |
-
'refresh_on_change' => false,
|
1371 |
-
'affect_on_change_el' => '.dslc-pagination li.dslc-inactive a',
|
1372 |
-
'affect_on_change_rule' => 'background-color',
|
1373 |
-
'section' => 'styling',
|
1374 |
-
'tab' => 'Pagination',
|
1375 |
-
),
|
1376 |
-
array(
|
1377 |
-
'label' => 'Item - Active - BG Color',
|
1378 |
-
'id' => 'css_pag_item_bg_color_active',
|
1379 |
-
'std' => '#5890e5',
|
1380 |
-
'type' => 'color',
|
1381 |
-
'refresh_on_change' => false,
|
1382 |
-
'affect_on_change_el' => '.dslc-pagination li.dslc-active a',
|
1383 |
-
'affect_on_change_rule' => 'background-color',
|
1384 |
-
'section' => 'styling',
|
1385 |
-
'tab' => 'Pagination',
|
1386 |
-
),
|
1387 |
-
array(
|
1388 |
-
'label' => 'Item - Border Color',
|
1389 |
-
'id' => 'css_pag_item_border_color',
|
1390 |
-
'std' => '#e8e8e8',
|
1391 |
-
'type' => 'color',
|
1392 |
-
'refresh_on_change' => false,
|
1393 |
-
'affect_on_change_el' => '.dslc-pagination li.dslc-inactive a',
|
1394 |
-
'affect_on_change_rule' => 'border-color',
|
1395 |
-
'section' => 'styling',
|
1396 |
-
'tab' => 'Pagination'
|
1397 |
-
),
|
1398 |
-
array(
|
1399 |
-
'label' => 'Item - Active - Border Color',
|
1400 |
-
'id' => 'css_pag_item_border_color_active',
|
1401 |
-
'std' => '#5890e5',
|
1402 |
-
'type' => 'color',
|
1403 |
-
'refresh_on_change' => false,
|
1404 |
-
'affect_on_change_el' => '.dslc-pagination li.dslc-active a',
|
1405 |
-
'affect_on_change_rule' => 'border-color',
|
1406 |
-
'section' => 'styling',
|
1407 |
-
'tab' => 'Pagination'
|
1408 |
-
),
|
1409 |
-
array(
|
1410 |
-
'label' => 'Item - Border Width',
|
1411 |
-
'id' => 'css_pag_item_border_width',
|
1412 |
-
'std' => '1',
|
1413 |
-
'type' => 'slider',
|
1414 |
-
'refresh_on_change' => false,
|
1415 |
-
'affect_on_change_el' => '.dslc-pagination li.dslc-inactive a',
|
1416 |
-
'affect_on_change_rule' => 'border-width',
|
1417 |
-
'section' => 'styling',
|
1418 |
-
'ext' => 'px',
|
1419 |
-
'tab' => 'Pagination'
|
1420 |
-
),
|
1421 |
-
array(
|
1422 |
-
'label' => 'Item - Active - Border Width',
|
1423 |
-
'id' => 'css_pag_item_border_width_active',
|
1424 |
-
'std' => '1',
|
1425 |
-
'type' => 'slider',
|
1426 |
-
'refresh_on_change' => false,
|
1427 |
-
'affect_on_change_el' => '.dslc-pagination li.dslc-active a',
|
1428 |
-
'affect_on_change_rule' => 'border-width',
|
1429 |
-
'section' => 'styling',
|
1430 |
-
'ext' => 'px',
|
1431 |
-
'tab' => 'Pagination'
|
1432 |
-
),
|
1433 |
-
array(
|
1434 |
-
'label' => 'Item - Borders',
|
1435 |
-
'id' => 'css_pag_item_border_trbl',
|
1436 |
-
'std' => 'top right bottom left',
|
1437 |
-
'type' => 'checkbox',
|
1438 |
-
'choices' => array(
|
1439 |
-
array(
|
1440 |
-
'label' => 'Top',
|
1441 |
-
'value' => 'top'
|
1442 |
-
),
|
1443 |
-
array(
|
1444 |
-
'label' => 'Right',
|
1445 |
-
'value' => 'right'
|
1446 |
-
),
|
1447 |
-
array(
|
1448 |
-
'label' => 'Bottom',
|
1449 |
-
'value' => 'bottom'
|
1450 |
-
),
|
1451 |
-
array(
|
1452 |
-
'label' => 'Left',
|
1453 |
-
'value' => 'left'
|
1454 |
-
),
|
1455 |
-
),
|
1456 |
-
'refresh_on_change' => false,
|
1457 |
-
'affect_on_change_el' => '.dslc-pagination li a',
|
1458 |
-
'affect_on_change_rule' => 'border-style',
|
1459 |
-
'section' => 'styling',
|
1460 |
-
'tab' => 'Pagination',
|
1461 |
-
),
|
1462 |
-
array(
|
1463 |
-
'label' => 'Item - Border Radius',
|
1464 |
-
'id' => 'css_pag_item_border_radius',
|
1465 |
-
'std' => '3',
|
1466 |
-
'type' => 'slider',
|
1467 |
-
'refresh_on_change' => false,
|
1468 |
-
'affect_on_change_el' => '.dslc-pagination li a',
|
1469 |
-
'affect_on_change_rule' => 'border-radius',
|
1470 |
-
'section' => 'styling',
|
1471 |
-
'tab' => 'Pagination',
|
1472 |
-
'ext' => 'px'
|
1473 |
-
),
|
1474 |
-
array(
|
1475 |
-
'label' => 'Item - Color',
|
1476 |
-
'id' => 'css_pag_item_color',
|
1477 |
-
'std' => '#979797',
|
1478 |
-
'type' => 'color',
|
1479 |
-
'refresh_on_change' => false,
|
1480 |
-
'affect_on_change_el' => '.dslc-pagination li.dslc-inactive a',
|
1481 |
-
'affect_on_change_rule' => 'color',
|
1482 |
-
'section' => 'styling',
|
1483 |
-
'tab' => 'Pagination',
|
1484 |
-
),
|
1485 |
-
array(
|
1486 |
-
'label' => 'Item - Active - Color',
|
1487 |
-
'id' => 'css_pag_item_color_active',
|
1488 |
-
'std' => '#ffffff',
|
1489 |
-
'type' => 'color',
|
1490 |
-
'refresh_on_change' => false,
|
1491 |
-
'affect_on_change_el' => '.dslc-pagination li.dslc-active a',
|
1492 |
-
'affect_on_change_rule' => 'color',
|
1493 |
-
'section' => 'styling',
|
1494 |
-
'tab' => 'Pagination',
|
1495 |
-
),
|
1496 |
-
array(
|
1497 |
-
'label' => 'Item - Font Size',
|
1498 |
-
'id' => 'css_pag_item_font_size',
|
1499 |
-
'std' => '11',
|
1500 |
-
'type' => 'slider',
|
1501 |
-
'refresh_on_change' => false,
|
1502 |
-
'affect_on_change_el' => '.dslc-pagination li a',
|
1503 |
-
'affect_on_change_rule' => 'font-size',
|
1504 |
-
'section' => 'styling',
|
1505 |
-
'tab' => 'Pagination',
|
1506 |
-
'ext' => 'px'
|
1507 |
-
),
|
1508 |
-
array(
|
1509 |
-
'label' => 'Item - Font Weight',
|
1510 |
-
'id' => 'css_pag_item_font_weight',
|
1511 |
-
'std' => '700',
|
1512 |
-
'type' => 'slider',
|
1513 |
-
'refresh_on_change' => false,
|
1514 |
-
'affect_on_change_el' => '.dslc-pagination li a',
|
1515 |
-
'affect_on_change_rule' => 'font-weight',
|
1516 |
-
'section' => 'styling',
|
1517 |
-
'tab' => 'Pagination',
|
1518 |
-
'ext' => '',
|
1519 |
-
'min' => 100,
|
1520 |
-
'max' => 900,
|
1521 |
-
'increment' => 100
|
1522 |
-
),
|
1523 |
-
array(
|
1524 |
-
'label' => 'Item - Font Family',
|
1525 |
-
'id' => 'css_pag_item_font_family',
|
1526 |
-
'std' => 'Open Sans',
|
1527 |
-
'type' => 'font',
|
1528 |
-
'refresh_on_change' => false,
|
1529 |
-
'affect_on_change_el' => '.dslc-pagination li a',
|
1530 |
-
'affect_on_change_rule' => 'font-family',
|
1531 |
-
'section' => 'styling',
|
1532 |
-
'tab' => 'Pagination',
|
1533 |
-
),
|
1534 |
-
array(
|
1535 |
-
'label' => __( 'Item - Letter Spacing', 'live-composer-page-builder' ),
|
1536 |
-
'id' => 'css_pag_item_letter_spacing',
|
1537 |
-
'std' => '0',
|
1538 |
-
'type' => 'slider',
|
1539 |
-
'refresh_on_change' => false,
|
1540 |
-
'affect_on_change_el' => '.dslc-pagination li a',
|
1541 |
-
'affect_on_change_rule' => 'letter-spacing',
|
1542 |
-
'section' => 'styling',
|
1543 |
-
'tab' => 'Pagination',
|
1544 |
-
'ext' => 'px',
|
1545 |
-
'min' => -50,
|
1546 |
-
'max' => 50
|
1547 |
-
),
|
1548 |
-
array(
|
1549 |
-
'label' => 'Item - Padding Vertical',
|
1550 |
-
'id' => 'css_pag_item_padding_vertical',
|
1551 |
-
'std' => '12',
|
1552 |
-
'type' => 'slider',
|
1553 |
-
'refresh_on_change' => false,
|
1554 |
-
'affect_on_change_el' => '.dslc-pagination li a',
|
1555 |
-
'affect_on_change_rule' => 'padding-top,padding-bottom',
|
1556 |
-
'section' => 'styling',
|
1557 |
-
'ext' => 'px',
|
1558 |
-
'tab' => 'Pagination'
|
1559 |
-
),
|
1560 |
-
array(
|
1561 |
-
'label' => 'Item - Padding Horizontal',
|
1562 |
-
'id' => 'css_pag_item_padding_horizontal',
|
1563 |
-
'std' => '12',
|
1564 |
-
'type' => 'slider',
|
1565 |
-
'refresh_on_change' => false,
|
1566 |
-
'affect_on_change_el' => '.dslc-pagination li a',
|
1567 |
-
'affect_on_change_rule' => 'padding-left,padding-right',
|
1568 |
-
'section' => 'styling',
|
1569 |
-
'ext' => 'px',
|
1570 |
-
'tab' => 'Pagination'
|
1571 |
-
),
|
1572 |
-
array(
|
1573 |
-
'label' => 'Item - Spacing',
|
1574 |
-
'id' => 'css_pag_item_spacing',
|
1575 |
-
'std' => '10',
|
1576 |
-
'type' => 'slider',
|
1577 |
-
'refresh_on_change' => false,
|
1578 |
-
'affect_on_change_el' => '.dslc-pagination li',
|
1579 |
-
'affect_on_change_rule' => 'margin-right',
|
1580 |
-
'section' => 'styling',
|
1581 |
-
'ext' => 'px',
|
1582 |
-
'tab' => 'Pagination'
|
1583 |
-
),
|
1584 |
-
|
1585 |
-
);
|
1586 |
-
|
1587 |
-
/**
|
1588 |
-
* Responsive
|
1589 |
-
*/
|
1590 |
-
$res_posts_options = array(
|
1591 |
-
|
1592 |
-
/**
|
1593 |
-
* Smaller Monitor
|
1594 |
-
*/
|
1595 |
-
|
1596 |
-
array(
|
1597 |
-
'label' => 'Posts Per Row',
|
1598 |
-
'id' => 'res_sm_columns',
|
1599 |
-
'std' => 'auto',
|
1600 |
-
'type' => 'select',
|
1601 |
-
'choices' => array(
|
1602 |
-
array(
|
1603 |
-
'label' => 'Automatic',
|
1604 |
-
'value' => 'auto',
|
1605 |
-
),
|
1606 |
-
array(
|
1607 |
-
'label' => '1',
|
1608 |
-
'value' => '12',
|
1609 |
-
),
|
1610 |
-
array(
|
1611 |
-
'label' => '2',
|
1612 |
-
'value' => '6',
|
1613 |
-
),
|
1614 |
-
array(
|
1615 |
-
'label' => '3',
|
1616 |
-
'value' => '4',
|
1617 |
-
),
|
1618 |
-
array(
|
1619 |
-
'label' => '4',
|
1620 |
-
'value' => '3',
|
1621 |
-
),
|
1622 |
-
array(
|
1623 |
-
'label' => '6',
|
1624 |
-
'value' => '2',
|
1625 |
-
),
|
1626 |
-
),
|
1627 |
-
'tab' => 'smaller monitor',
|
1628 |
-
'section' => 'responsive'
|
1629 |
-
),
|
1630 |
-
array(
|
1631 |
-
'label' => 'Thumbnail',
|
1632 |
-
'id' => 'res_sm_thumb',
|
1633 |
-
'std' => 'block',
|
1634 |
-
'type' => 'select',
|
1635 |
-
'choices' => array(
|
1636 |
-
array(
|
1637 |
-
'label' => 'Enabled',
|
1638 |
-
'value' => 'block',
|
1639 |
-
),
|
1640 |
-
array(
|
1641 |
-
'label' => 'Disabled',
|
1642 |
-
'value' => 'none',
|
1643 |
-
),
|
1644 |
-
),
|
1645 |
-
'tab' => 'smaller monitor',
|
1646 |
-
'section' => 'responsive',
|
1647 |
-
'refresh_on_change' => false,
|
1648 |
-
'affect_on_change_rule' => 'display',
|
1649 |
-
'affect_on_change_el' => '.dslc-blog-post-thumb'
|
1650 |
-
),
|
1651 |
-
|
1652 |
-
/**
|
1653 |
-
* Tablet
|
1654 |
-
*/
|
1655 |
-
|
1656 |
-
array(
|
1657 |
-
'label' => 'Posts Per Row',
|
1658 |
-
'id' => 'res_tp_columns',
|
1659 |
-
'std' => 'auto',
|
1660 |
-
'type' => 'select',
|
1661 |
-
'choices' => array(
|
1662 |
-
array(
|
1663 |
-
'label' => 'Automatic',
|
1664 |
-
'value' => 'auto',
|
1665 |
-
),
|
1666 |
-
array(
|
1667 |
-
'label' => '1',
|
1668 |
-
'value' => '12',
|
1669 |
-
),
|
1670 |
-
array(
|
1671 |
-
'label' => '2',
|
1672 |
-
'value' => '6',
|
1673 |
-
),
|
1674 |
-
array(
|
1675 |
-
'label' => '3',
|
1676 |
-
'value' => '4',
|
1677 |
-
),
|
1678 |
-
array(
|
1679 |
-
'label' => '4',
|
1680 |
-
'value' => '3',
|
1681 |
-
),
|
1682 |
-
array(
|
1683 |
-
'label' => '6',
|
1684 |
-
'value' => '2',
|
1685 |
-
),
|
1686 |
-
),
|
1687 |
-
'tab' => 'tablet portrait',
|
1688 |
-
'section' => 'responsive'
|
1689 |
-
),
|
1690 |
-
|
1691 |
-
/**
|
1692 |
-
* Phone
|
1693 |
-
*/
|
1694 |
-
|
1695 |
-
array(
|
1696 |
-
'label' => 'Posts Per Row',
|
1697 |
-
'id' => 'res_p_columns',
|
1698 |
-
'std' => 'auto',
|
1699 |
-
'type' => 'select',
|
1700 |
-
'choices' => array(
|
1701 |
-
array(
|
1702 |
-
'label' => 'Automatic',
|
1703 |
-
'value' => 'auto',
|
1704 |
-
),
|
1705 |
-
array(
|
1706 |
-
'label' => '1',
|
1707 |
-
'value' => '12',
|
1708 |
-
),
|
1709 |
-
array(
|
1710 |
-
'label' => '2',
|
1711 |
-
'value' => '6',
|
1712 |
-
),
|
1713 |
-
array(
|
1714 |
-
'label' => '3',
|
1715 |
-
'value' => '4',
|
1716 |
-
),
|
1717 |
-
array(
|
1718 |
-
'label' => '4',
|
1719 |
-
'value' => '3',
|
1720 |
-
),
|
1721 |
-
array(
|
1722 |
-
'label' => '6',
|
1723 |
-
'value' => '2',
|
1724 |
-
),
|
1725 |
-
),
|
1726 |
-
'tab' => 'phone',
|
1727 |
-
'section' => 'responsive'
|
1728 |
-
),
|
1729 |
-
|
1730 |
-
);
|
1731 |
-
|
1732 |
-
return $$options_id;
|
1733 |
-
|
1734 |
-
}
|
1735 |
-
|
1736 |
-
/**
|
1737 |
-
* Declare module options
|
1738 |
-
*/
|
1739 |
-
function options() {
|
1740 |
-
die('Function "options" must be over-ridden in a sub-class (the module class).');
|
1741 |
-
}
|
1742 |
-
|
1743 |
-
/**
|
1744 |
-
* The front-end output of the module
|
1745 |
-
*/
|
1746 |
-
function output( $options ) {
|
1747 |
-
die('Function "output" must be over-ridden in a sub-class (the module class).');
|
1748 |
-
}
|
1749 |
-
|
1750 |
-
function module_start( $options ) {
|
1751 |
-
|
1752 |
-
global $dslc_should_filter;
|
1753 |
-
$dslc_should_filter = false;
|
1754 |
-
|
1755 |
-
if ( ! isset( $options['css_anim'] ) )
|
1756 |
-
$options['css_anim'] = 'none';
|
1757 |
-
|
1758 |
-
if ( ! isset( $options['css_anim_delay'] ) )
|
1759 |
-
$options['css_anim_delay'] = '0';
|
1760 |
-
|
1761 |
-
if ( ! isset( $options['css_anim_duration'] ) )
|
1762 |
-
$options['css_anim_duration'] = '650';
|
1763 |
-
|
1764 |
-
if ( ! isset( $options['css_anim_easing'] ) )
|
1765 |
-
$options['css_anim_easing'] = 'default';
|
1766 |
-
|
1767 |
-
$options['module_id'] = $this->module_id;
|
1768 |
-
|
1769 |
-
/**
|
1770 |
-
* Size Classes
|
1771 |
-
*/
|
1772 |
-
|
1773 |
-
$class_size_output = '';
|
1774 |
-
$data_attr_size = '12';
|
1775 |
-
|
1776 |
-
if ( isset( $options['dslc_m_size'] ) ) {
|
1777 |
-
$class_size_output .= ' dslc-col dslc-' . $options['dslc_m_size'] . '-col';
|
1778 |
-
$data_attr_size = $options['dslc_m_size'];
|
1779 |
-
}
|
1780 |
-
|
1781 |
-
if ( isset( $options['dslc_m_size_last'] ) && $options['dslc_m_size_last'] == 'yes' ) {
|
1782 |
-
$class_size_output .= ' dslc-last-col';
|
1783 |
-
}
|
1784 |
-
|
1785 |
-
/**
|
1786 |
-
* Show on ( desktop, tablet, phone )
|
1787 |
-
*/
|
1788 |
-
|
1789 |
-
$class_show_on = '';
|
1790 |
-
if ( isset( $options['css_show_on'] ) ) {
|
1791 |
-
|
1792 |
-
$show_on = explode( ' ', trim( $options['css_show_on'] ) );
|
1793 |
-
|
1794 |
-
if ( ! in_array( 'desktop', $show_on ) )
|
1795 |
-
$class_show_on .= 'dslc-hide-on-desktop ';
|
1796 |
-
|
1797 |
-
if ( ! in_array( 'tablet', $show_on ) )
|
1798 |
-
$class_show_on .= 'dslc-hide-on-tablet ';
|
1799 |
-
|
1800 |
-
if ( ! in_array( 'phone', $show_on ) )
|
1801 |
-
$class_show_on .= 'dslc-hide-on-phone ';
|
1802 |
-
|
1803 |
-
}
|
1804 |
-
|
1805 |
-
/**
|
1806 |
-
* Handle like
|
1807 |
-
*/
|
1808 |
-
|
1809 |
-
if ( isset( $this->handle_like ) )
|
1810 |
-
$class_handle_like = 'dslc-module-handle-like-' . $this->handle_like;
|
1811 |
-
else
|
1812 |
-
$class_handle_like = 'dslc-module-handle-like-regular';
|
1813 |
-
|
1814 |
-
/**
|
1815 |
-
* Globals
|
1816 |
-
*/
|
1817 |
-
|
1818 |
-
global $dslc_css_style;
|
1819 |
-
global $dslc_googlefonts_array;
|
1820 |
-
global $dslc_all_googlefonts_array;
|
1821 |
-
|
1822 |
-
/**
|
1823 |
-
* Title Attr
|
1824 |
-
*/
|
1825 |
-
|
1826 |
-
$title_attr = '';
|
1827 |
-
if ( dslc_is_editor_active() ) {
|
1828 |
-
$title_attr = 'title="' . strtoupper( esc_attr( $this->module_title ) ) .'"';
|
1829 |
-
}
|
1830 |
-
|
1831 |
-
/**
|
1832 |
-
* Option Preset
|
1833 |
-
*/
|
1834 |
-
|
1835 |
-
if ( ! isset( $options['css_load_preset'] ) ) {
|
1836 |
-
$options['css_load_preset'] = '';
|
1837 |
-
}
|
1838 |
-
|
1839 |
-
// Module class array
|
1840 |
-
$module_class_arr = array();
|
1841 |
-
$module_class_arr[] = 'dslc-module-front';
|
1842 |
-
$module_class_arr[] = 'dslc-module-' . $this->module_id;
|
1843 |
-
$module_class_arr[] = 'dslc-in-viewport-check';
|
1844 |
-
$module_class_arr[] = 'dslc-in-viewport-anim-'. $options['css_anim'];
|
1845 |
-
$module_class_arr[] = $class_size_output;
|
1846 |
-
$module_class_arr[] = $class_show_on;
|
1847 |
-
$module_class_arr[] = $class_handle_like;
|
1848 |
-
|
1849 |
-
// Module class array apply filters
|
1850 |
-
$module_class_arr = apply_filters( 'dslc_module_class', $module_class_arr, $this->module_id, $options );
|
1851 |
-
|
1852 |
-
// Turn module class array into string
|
1853 |
-
$module_class = '';
|
1854 |
-
foreach ( $module_class_arr as $module_class_inst ) {
|
1855 |
-
$module_class .= $module_class_inst . ' ';
|
1856 |
-
}
|
1857 |
-
|
1858 |
-
?>
|
1859 |
-
|
1860 |
-
<div id="dslc-module-<?php echo $options['module_instance_id']; ?>" class="<?php echo $module_class; ?>" data-module-id="<?php echo $options['module_instance_id']; ?>" data-dslc-module-id="<?php echo $this->module_id; ?>" data-dslc-module-size="<?php echo $data_attr_size ?>" data-dslc-anim="<?php echo $options['css_anim'] ?>" data-dslc-anim-delay="<?php echo $options['css_anim_delay']; ?>" data-dslc-anim-duration="<?php echo $options['css_anim_duration']; ?>" data-dslc-anim-easing="<?php echo $options['css_anim_easing']; ?>" data-dslc-preset="<?php echo $options['css_load_preset']; ?>" <?php echo $title_attr; ?>>
|
1861 |
-
|
1862 |
-
<?php do_action( 'dslc_module_before' ); ?>
|
1863 |
-
|
1864 |
-
<?php if ( DS_LIVE_COMPOSER_ACTIVE && is_user_logged_in() && current_user_can( DS_LIVE_COMPOSER_CAPABILITY ) ) : ?>
|
1865 |
-
|
1866 |
-
<style><?php
|
1867 |
-
|
1868 |
-
$options_arr = $this->options();
|
1869 |
-
|
1870 |
-
if ( isset( $options['css_custom'] ) && $options['css_custom'] == 'disabled' ) {
|
1871 |
-
|
1872 |
-
|
1873 |
-
|
1874 |
-
} else {
|
1875 |
-
|
1876 |
-
dslc_generate_custom_css( $options_arr, $options, true );
|
1877 |
-
$googlefonts_output = '';
|
1878 |
-
foreach ( $dslc_googlefonts_array as $googlefont) {
|
1879 |
-
if ( in_array( $googlefont, $dslc_all_googlefonts_array ) ) {
|
1880 |
-
$googlefont = str_replace( ' ', '+', $googlefont );
|
1881 |
-
if ( $googlefont != '' ) {
|
1882 |
-
$googlefonts_output .= '@import url("//fonts.googleapis.com/css?family=' . $googlefont . ':100,200,300,400,500,600,700,800,900&subset=latin,latin-ext"); ';
|
1883 |
-
}
|
1884 |
-
}
|
1885 |
-
}
|
1886 |
-
echo $googlefonts_output;
|
1887 |
-
echo $dslc_css_style;
|
1888 |
-
|
1889 |
-
}
|
1890 |
-
|
1891 |
-
?></style>
|
1892 |
-
|
1893 |
-
<div class="dslca-module-manage">
|
1894 |
-
<span class="dslca-module-manage-line"></span>
|
1895 |
-
<div class="dslca-module-manage-inner">
|
1896 |
-
<span class="dslca-module-manage-hook dslca-module-edit-hook"><span class="dslc-icon-cog"></span></span>
|
1897 |
-
<span class="dslca-module-manage-hook dslca-copy-module-hook"><span class="dslc-icon-copy"></span></span>
|
1898 |
-
<span class="dslca-module-manage-hook dslca-move-module-hook"><span class="dslc-icon-move"></span></span>
|
1899 |
-
<span class="dslca-module-manage-hook dslca-change-width-module-hook">
|
1900 |
-
<span class="dslc-icon-columns"></span>
|
1901 |
-
<div class="dslca-change-width-module-options">
|
1902 |
-
<span data-size="1">1/12</span><span data-size="2">2/12</span>
|
1903 |
-
<span data-size="3">3/12</span><span data-size="4">4/12</span>
|
1904 |
-
<span data-size="5">5/12</span><span data-size="6">6/12</span>
|
1905 |
-
<span data-size="7">7/12</span><span data-size="8">8/12</span>
|
1906 |
-
<span data-size="9">9/12</span><span data-size="10">10/12</span>
|
1907 |
-
<span data-size="11">11/12</span><span data-size="12">12/12</span>
|
1908 |
-
</div>
|
1909 |
-
</span>
|
1910 |
-
<span class="dslca-module-manage-hook dslca-delete-module-hook"><span class="dslc-icon-remove"></span></span>
|
1911 |
-
</div>
|
1912 |
-
<?php if ( DS_LIVE_COMPOSER_DEV_MODE ) : ?>
|
1913 |
-
<div class="dslca-module-manage-inner dslca-dev-mode">
|
1914 |
-
<span class="dslca-module-manage-hook dslca-module-get-defaults-hook"><span class="dslc-icon-upload-alt"></span></span>
|
1915 |
-
</div>
|
1916 |
-
<?php endif; ?>
|
1917 |
-
</div>
|
1918 |
-
|
1919 |
-
<?php endif; ?>
|
1920 |
-
|
1921 |
-
<?php
|
1922 |
-
}
|
1923 |
-
|
1924 |
-
function module_end( $user_options ) {
|
1925 |
-
|
1926 |
-
// Get options array
|
1927 |
-
$options = $this->options();
|
1928 |
-
|
1929 |
-
// Bring back IDs for image options
|
1930 |
-
global $dslc_var_image_option_bckp;
|
1931 |
-
foreach ( $dslc_var_image_option_bckp as $key => $value ) {
|
1932 |
-
$user_options[$key] = $value;
|
1933 |
-
}
|
1934 |
-
|
1935 |
-
// Other vars
|
1936 |
-
$user_options['module_id'] = $this->module_id;
|
1937 |
-
if ( ! isset( $user_options['dslc_m_size'] ) ) $user_options['dslc_m_size'] = '12';
|
1938 |
-
$option_ids = array();
|
1939 |
-
$user_options_no_defaults = $user_options;
|
1940 |
-
|
1941 |
-
?>
|
1942 |
-
|
1943 |
-
<?php if ( DS_LIVE_COMPOSER_ACTIVE && is_user_logged_in() && current_user_can( DS_LIVE_COMPOSER_CAPABILITY ) ) : ?>
|
1944 |
-
|
1945 |
-
<div class="dslca-module-options-front">
|
1946 |
-
|
1947 |
-
<?php foreach ( $options as $key => $option ) : ?>
|
1948 |
-
|
1949 |
-
<?php
|
1950 |
-
|
1951 |
-
// Option ID
|
1952 |
-
$option_id = $option['id'];
|
1953 |
-
$options_ids[] = $option['id'];
|
1954 |
-
|
1955 |
-
// If value already set use it, if not use default
|
1956 |
-
if ( isset( $user_options[ $option_id ] ) )
|
1957 |
-
$option_value = $user_options[ $option_id ];
|
1958 |
-
else
|
1959 |
-
$option_value = $option['std'];
|
1960 |
-
|
1961 |
-
if ( isset( $user_options[ $option_id ] ) && $user_options[ $option_id ] == $option['std'] ) {
|
1962 |
-
unset( $user_options_no_defaults[ $option_id ] );
|
1963 |
-
}
|
1964 |
-
|
1965 |
-
?>
|
1966 |
-
|
1967 |
-
<textarea class="dslca-module-option-front" data-id="<?php echo $option_id; ?>"><?php echo stripslashes ( $option_value ); ?></textarea>
|
1968 |
-
|
1969 |
-
<?php endforeach; ?>
|
1970 |
-
|
1971 |
-
<?php foreach ( $user_options as $user_option_id => $user_option_val ) : ?>
|
1972 |
-
|
1973 |
-
<?php if ( ! in_array( $user_option_id, $options_ids ) ) : ?>
|
1974 |
-
|
1975 |
-
<textarea class="dslca-module-option-front" data-id="<?php echo $user_option_id; ?>"><?php echo stripslashes( $user_option_val ); ?></textarea>
|
1976 |
-
|
1977 |
-
<?php endif; ?>
|
1978 |
-
|
1979 |
-
<?php endforeach; ?>
|
1980 |
-
|
1981 |
-
</div><!-- dslca-module-options-front -->
|
1982 |
-
|
1983 |
-
<textarea class="dslca-module-code"><?php echo base64_encode( serialize($user_options_no_defaults ) ); ?></textarea>
|
1984 |
-
|
1985 |
-
<span class="dslc-sortable-helper-icon dslc-icon-<?php echo $this->module_icon; ?>" data-title="<?php echo $this->module_title; ?>" data-icon="<?php echo $this->module_icon; ?>"></span>
|
1986 |
-
|
1987 |
-
<?php endif; ?>
|
1988 |
-
|
1989 |
-
<?php do_action( 'dslc_module_after' ); ?>
|
1990 |
-
|
1991 |
-
</div><!-- .dslc-module -->
|
1992 |
-
<?php
|
1993 |
-
|
1994 |
-
global $dslc_should_filter;
|
1995 |
-
$dslc_should_filter = true;
|
1996 |
-
|
1997 |
-
}
|
1998 |
-
|
1999 |
-
function presets_options() {
|
2000 |
-
|
2001 |
-
$choices = array(
|
2002 |
-
array(
|
2003 |
-
'label' => 'None',
|
2004 |
-
'value' => 'none',
|
2005 |
-
),
|
2006 |
-
);
|
2007 |
-
|
2008 |
-
// Get current presets
|
2009 |
-
$presets = get_option( 'dslc_presets' );
|
2010 |
-
if ( $presets === false ) {
|
2011 |
-
$presets = array();
|
2012 |
-
} else {
|
2013 |
-
$presets = maybe_unserialize( $presets );
|
2014 |
-
foreach( $presets as $preset ) {
|
2015 |
-
if ( $preset['module'] == $this->module_id ) {
|
2016 |
-
$choices[] = array(
|
2017 |
-
'label' => $preset['title'],
|
2018 |
-
'value' => $preset['id']
|
2019 |
-
);
|
2020 |
-
}
|
2021 |
-
}
|
2022 |
-
}
|
2023 |
-
|
2024 |
-
$options = array(
|
2025 |
-
array(
|
2026 |
-
'label' => __( 'Preset', 'live-composer-page-builder' ),
|
2027 |
-
'id' => 'css_load_preset',
|
2028 |
-
'std' => 'none',
|
2029 |
-
'type' => 'select',
|
2030 |
-
'section' => 'styling',
|
2031 |
-
'tab' => 'presets',
|
2032 |
-
'choices' => $choices,
|
2033 |
-
),
|
2034 |
-
array(
|
2035 |
-
'label' => __( 'Register New Preset', 'live-composer-page-builder' ),
|
2036 |
-
'id' => 'css_save_preset',
|
2037 |
-
'std' => '',
|
2038 |
-
'type' => 'text',
|
2039 |
-
'section' => 'styling',
|
2040 |
-
'tab' => 'presets',
|
2041 |
-
'refresh_on_change' => false,
|
2042 |
-
'help' => __( 'Type in the name of the preset and hit enter,<br>it will automatically be added to the presets on the left.', 'live-composer-page-builder' ),
|
2043 |
-
),
|
2044 |
-
);
|
2045 |
-
|
2046 |
-
return $options;
|
2047 |
-
|
2048 |
-
}
|
2049 |
-
|
2050 |
}
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class DSLC_Module {
|
4 |
+
|
5 |
+
function shared_options( $options_id, $atts = false ) {
|
6 |
+
|
7 |
+
$animation_options_choices = array(
|
8 |
+
array(
|
9 |
+
'label' => 'None',
|
10 |
+
'value' => 'none'
|
11 |
+
),
|
12 |
+
array(
|
13 |
+
'label' => 'Fade In',
|
14 |
+
'value' => 'dslcFadeIn'
|
15 |
+
),
|
16 |
+
array(
|
17 |
+
'label' => 'Slide Up',
|
18 |
+
'value' => 'dslcSlideUp'
|
19 |
+
),
|
20 |
+
array(
|
21 |
+
'label' => 'Slide Down',
|
22 |
+
'value' => 'dslcSlideDown'
|
23 |
+
),
|
24 |
+
array(
|
25 |
+
'label' => 'Slide Right',
|
26 |
+
'value' => 'dslcSlideRight'
|
27 |
+
),
|
28 |
+
array(
|
29 |
+
'label' => 'Slide Left',
|
30 |
+
'value' => 'dslcSlideLeft'
|
31 |
+
),
|
32 |
+
array(
|
33 |
+
'label' => 'Slide Up + Fade In',
|
34 |
+
'value' => 'dslcSlideUpFadeIn'
|
35 |
+
),
|
36 |
+
array(
|
37 |
+
'label' => 'Slide Down + Fade In',
|
38 |
+
'value' => 'dslcSlideDownFadeIn'
|
39 |
+
),
|
40 |
+
array(
|
41 |
+
'label' => 'Slide Right + Fade In',
|
42 |
+
'value' => 'dslcSlideRightFadeIn'
|
43 |
+
),
|
44 |
+
array(
|
45 |
+
'label' => 'Slide Left + Fade In',
|
46 |
+
'value' => 'dslcSlideLeftFadeIn'
|
47 |
+
),
|
48 |
+
);
|
49 |
+
|
50 |
+
$animation_options_choices = apply_filters( 'dslc_animation_options', $animation_options_choices );
|
51 |
+
|
52 |
+
$animation_options_general = array(
|
53 |
+
|
54 |
+
array(
|
55 |
+
'label' => 'On Load Animation',
|
56 |
+
'id' => 'css_anim',
|
57 |
+
'std' => 'none',
|
58 |
+
'type' => 'select',
|
59 |
+
'section' => 'styling',
|
60 |
+
'tab' => 'animation',
|
61 |
+
'choices' => $animation_options_choices
|
62 |
+
),
|
63 |
+
array(
|
64 |
+
'label' => 'On Load Animation - Delay ( ms )',
|
65 |
+
'id' => 'css_anim_delay',
|
66 |
+
'std' => '0',
|
67 |
+
'type' => 'text',
|
68 |
+
'section' => 'styling',
|
69 |
+
'tab' => 'animation'
|
70 |
+
),
|
71 |
+
array(
|
72 |
+
'label' => 'On Load Anim - Duration ( ms )',
|
73 |
+
'id' => 'css_anim_duration',
|
74 |
+
'std' => '650',
|
75 |
+
'type' => 'text',
|
76 |
+
'section' => 'styling',
|
77 |
+
'tab' => 'animation'
|
78 |
+
),
|
79 |
+
array(
|
80 |
+
'label' => 'On Load Animation - Easing',
|
81 |
+
'id' => 'css_anim_easing',
|
82 |
+
'std' => 'ease',
|
83 |
+
'type' => 'select',
|
84 |
+
'section' => 'styling',
|
85 |
+
'tab' => 'animation',
|
86 |
+
'choices' => array(
|
87 |
+
array(
|
88 |
+
'label' => 'Default',
|
89 |
+
'value' => 'ease'
|
90 |
+
),
|
91 |
+
array(
|
92 |
+
'label' => 'Linear',
|
93 |
+
'value' => 'linear'
|
94 |
+
),
|
95 |
+
array(
|
96 |
+
'label' => 'Ease In',
|
97 |
+
'value' => 'ease-in'
|
98 |
+
),
|
99 |
+
array(
|
100 |
+
'label' => 'Ease Out',
|
101 |
+
'value' => 'ease-out'
|
102 |
+
),
|
103 |
+
array(
|
104 |
+
'label' => 'Ease In Out',
|
105 |
+
'value' => 'ease-in-out'
|
106 |
+
),
|
107 |
+
)
|
108 |
+
),
|
109 |
+
|
110 |
+
);
|
111 |
+
|
112 |
+
$animation_options_posts = array(
|
113 |
+
|
114 |
+
array(
|
115 |
+
'label' => 'On Hover Animation',
|
116 |
+
'id' => 'css_anim_hover',
|
117 |
+
'std' => 'none',
|
118 |
+
'type' => 'select',
|
119 |
+
'section' => 'styling',
|
120 |
+
'tab' => 'animation',
|
121 |
+
'choices' => array(
|
122 |
+
array(
|
123 |
+
'label' => 'None',
|
124 |
+
'value' => 'none'
|
125 |
+
),
|
126 |
+
array(
|
127 |
+
'label' => 'Fade In',
|
128 |
+
'value' => 'dslcFadeIn'
|
129 |
+
),
|
130 |
+
array(
|
131 |
+
'label' => 'Slide Up',
|
132 |
+
'value' => 'dslcSlideUp'
|
133 |
+
),
|
134 |
+
array(
|
135 |
+
'label' => 'Slide Down',
|
136 |
+
'value' => 'dslcSlideDown'
|
137 |
+
),
|
138 |
+
array(
|
139 |
+
'label' => 'Slide Right',
|
140 |
+
'value' => 'dslcSlideRight'
|
141 |
+
),
|
142 |
+
array(
|
143 |
+
'label' => 'Slide Left',
|
144 |
+
'value' => 'dslcSlideLeft'
|
145 |
+
),
|
146 |
+
array(
|
147 |
+
'label' => 'Slide Up + Fade In',
|
148 |
+
'value' => 'dslcSlideUpFadeIn'
|
149 |
+
),
|
150 |
+
array(
|
151 |
+
'label' => 'Slide Down + Fade In',
|
152 |
+
'value' => 'dslcSlideDownFadeIn'
|
153 |
+
),
|
154 |
+
array(
|
155 |
+
'label' => 'Slide Right + Fade In',
|
156 |
+
'value' => 'dslcSlideRightFadeIn'
|
157 |
+
),
|
158 |
+
array(
|
159 |
+
'label' => 'Slide Left + Fade In',
|
160 |
+
'value' => 'dslcSlideLeftFadeIn'
|
161 |
+
),
|
162 |
+
)
|
163 |
+
),
|
164 |
+
array(
|
165 |
+
'label' => 'On Hover Animation - Speed ( ms )',
|
166 |
+
'id' => 'css_anim_speed',
|
167 |
+
'std' => '650',
|
168 |
+
'type' => 'text',
|
169 |
+
'section' => 'styling',
|
170 |
+
'tab' => 'animation'
|
171 |
+
),
|
172 |
+
|
173 |
+
);
|
174 |
+
|
175 |
+
if ( isset( $atts['hover_opts'] ) && ! $atts['hover_opts'] ) {
|
176 |
+
$animation_options = $animation_options_general;
|
177 |
+
} else {
|
178 |
+
$animation_options = array_merge( $animation_options_general, $animation_options_posts );
|
179 |
+
}
|
180 |
+
|
181 |
+
$col_choices = array(
|
182 |
+
array(
|
183 |
+
'label' => '1/12',
|
184 |
+
'value' => '1',
|
185 |
+
),
|
186 |
+
array(
|
187 |
+
'label' => '2/12',
|
188 |
+
'value' => '2',
|
189 |
+
),
|
190 |
+
array(
|
191 |
+
'label' => '3/12',
|
192 |
+
'value' => '3',
|
193 |
+
),
|
194 |
+
array(
|
195 |
+
'label' => '4/12',
|
196 |
+
'value' => '4',
|
197 |
+
),
|
198 |
+
array(
|
199 |
+
'label' => '5/12',
|
200 |
+
'value' => '5',
|
201 |
+
),
|
202 |
+
array(
|
203 |
+
'label' => '6/12',
|
204 |
+
'value' => '6',
|
205 |
+
),
|
206 |
+
array(
|
207 |
+
'label' => '7/12',
|
208 |
+
'value' => '7',
|
209 |
+
),
|
210 |
+
array(
|
211 |
+
'label' => '8/12',
|
212 |
+
'value' => '8',
|
213 |
+
),
|
214 |
+
array(
|
215 |
+
'label' => '9/12',
|
216 |
+
'value' => '9',
|
217 |
+
),
|
218 |
+
array(
|
219 |
+
'label' => '10/12',
|
220 |
+
'value' => '10',
|
221 |
+
),
|
222 |
+
array(
|
223 |
+
'label' => '11/12',
|
224 |
+
'value' => '11',
|
225 |
+
),
|
226 |
+
array(
|
227 |
+
'label' => '12/12',
|
228 |
+
'value' => '12',
|
229 |
+
),
|
230 |
+
);
|
231 |
+
|
232 |
+
$posts_per_row_choices = array(
|
233 |
+
array(
|
234 |
+
'label' => '1',
|
235 |
+
'value' => '12',
|
236 |
+
),
|
237 |
+
array(
|
238 |
+
'label' => '2',
|
239 |
+
'value' => '6',
|
240 |
+
),
|
241 |
+
array(
|
242 |
+
'label' => '3',
|
243 |
+
'value' => '4',
|
244 |
+
),
|
245 |
+
array(
|
246 |
+
'label' => '4',
|
247 |
+
'value' => '3',
|
248 |
+
),
|
249 |
+
array(
|
250 |
+
'label' => '6',
|
251 |
+
'value' => '2',
|
252 |
+
),
|
253 |
+
);
|
254 |
+
|
255 |
+
/**
|
256 |
+
* Filter Options
|
257 |
+
*/
|
258 |
+
|
259 |
+
$filters_options = array(
|
260 |
+
|
261 |
+
array(
|
262 |
+
'label' => 'BG Color',
|
263 |
+
'id' => 'css_filter_bg_color',
|
264 |
+
'std' => '#ffffff',
|
265 |
+
'type' => 'color',
|
266 |
+
'refresh_on_change' => false,
|
267 |
+
'affect_on_change_el' => '.dslc-post-filter.dslc-inactive',
|
268 |
+
'affect_on_change_rule' => 'background-color',
|
269 |
+
'section' => 'styling',
|
270 |
+
'tab' => 'Filters'
|
271 |
+
),
|
272 |
+
array(
|
273 |
+
'label' => 'BG Color - Active',
|
274 |
+
'id' => 'css_filter_bg_color_active',
|
275 |
+
'std' => '#5890e5',
|
276 |
+
'type' => 'color',
|
277 |
+
'refresh_on_change' => false,
|
278 |
+
'affect_on_change_el' => '.dslc-post-filter.dslc-active',
|
279 |
+
'affect_on_change_rule' => 'background-color',
|
280 |
+
'section' => 'styling',
|
281 |
+
'tab' => 'Filters'
|
282 |
+
),
|
283 |
+
array(
|
284 |
+
'label' => 'Border Color',
|
285 |
+
'id' => 'css_filter_border_color',
|
286 |
+
'std' => '#e8e8e8',
|
287 |
+
'type' => 'color',
|
288 |
+
'refresh_on_change' => false,
|
289 |
+
'affect_on_change_el' => '.dslc-post-filter.dslc-inactive',
|
290 |
+
'affect_on_change_rule' => 'border-color',
|
291 |
+
'section' => 'styling',
|
292 |
+
'tab' => 'Filters'
|
293 |
+
),
|
294 |
+
array(
|
295 |
+
'label' => 'Border Color - Active',
|
296 |
+
'id' => 'css_filter_border_color_active',
|
297 |
+
'std' => '#5890e5',
|
298 |
+
'type' => 'color',
|
299 |
+
'refresh_on_change' => false,
|
300 |
+
'affect_on_change_el' => '.dslc-post-filter.dslc-active',
|
301 |
+
'affect_on_change_rule' => 'border-color',
|
302 |
+
'section' => 'styling',
|
303 |
+
'tab' => 'Filters'
|
304 |
+
),
|
305 |
+
array(
|
306 |
+
'label' => 'Border Width',
|
307 |
+
'id' => 'css_filter_border_width',
|
308 |
+
'std' => '1',
|
309 |
+
'type' => 'slider',
|
310 |
+
'refresh_on_change' => false,
|
311 |
+
'affect_on_change_el' => '.dslc-post-filter',
|
312 |
+
'affect_on_change_rule' => 'border-width',
|
313 |
+
'section' => 'styling',
|
314 |
+
'ext' => 'px',
|
315 |
+
'tab' => 'Filters'
|
316 |
+
),
|
317 |
+
array(
|
318 |
+
'label' => 'Borders',
|
319 |
+
'id' => 'css_filter_border_trbl',
|
320 |
+
'std' => 'top right bottom left',
|
321 |
+
'type' => 'checkbox',
|
322 |
+
'choices' => array(
|
323 |
+
array(
|
324 |
+
'label' => 'Top',
|
325 |
+
'value' => 'top'
|
326 |
+
),
|
327 |
+
array(
|
328 |
+
'label' => 'Right',
|
329 |
+
'value' => 'right'
|
330 |
+
),
|
331 |
+
array(
|
332 |
+
'label' => 'Bottom',
|
333 |
+
'value' => 'bottom'
|
334 |
+
),
|
335 |
+
array(
|
336 |
+
'label' => 'Left',
|
337 |
+
'value' => 'left'
|
338 |
+
),
|
339 |
+
),
|
340 |
+
'refresh_on_change' => false,
|
341 |
+
'affect_on_change_el' => '.dslc-post-filter',
|
342 |
+
'affect_on_change_rule' => 'border-style',
|
343 |
+
'section' => 'styling',
|
344 |
+
'tab' => 'Filters',
|
345 |
+
),
|
346 |
+
array(
|
347 |
+
'label' => 'Border Radius',
|
348 |
+
'id' => 'css_filter_border_radius',
|
349 |
+
'std' => '3',
|
350 |
+
'type' => 'slider',
|
351 |
+
'refresh_on_change' => false,
|
352 |
+
'affect_on_change_el' => '.dslc-post-filter',
|
353 |
+
'affect_on_change_rule' => 'border-radius',
|
354 |
+
'section' => 'styling',
|
355 |
+
'tab' => 'Filters',
|
356 |
+
'ext' => 'px'
|
357 |
+
),
|
358 |
+
array(
|
359 |
+
'label' => 'Color',
|
360 |
+
'id' => 'css_filter_color',
|
361 |
+
'std' => '#979797',
|
362 |
+
'type' => 'color',
|
363 |
+
'refresh_on_change' => false,
|
364 |
+
'affect_on_change_el' => '.dslc-post-filter.dslc-inactive',
|
365 |
+
'affect_on_change_rule' => 'color',
|
366 |
+
'section' => 'styling',
|
367 |
+
'tab' => 'Filters'
|
368 |
+
),
|
369 |
+
array(
|
370 |
+
'label' => 'Color - Active',
|
371 |
+
'id' => 'css_filter_color_active',
|
372 |
+
'std' => '#ffffff',
|
373 |
+
'type' => 'color',
|
374 |
+
'refresh_on_change' => false,
|
375 |
+
'affect_on_change_el' => '.dslc-post-filter.dslc-active',
|
376 |
+
'affect_on_change_rule' => 'color',
|
377 |
+
'section' => 'styling',
|
378 |
+
'tab' => 'Filters'
|
379 |
+
),
|
380 |
+
array(
|
381 |
+
'label' => 'Font Size',
|
382 |
+
'id' => 'css_filter_font_size',
|
383 |
+
'std' => '11',
|
384 |
+
'type' => 'slider',
|
385 |
+
'refresh_on_change' => false,
|
386 |
+
'affect_on_change_el' => '.dslc-post-filter',
|
387 |
+
'affect_on_change_rule' => 'font-size',
|
388 |
+
'section' => 'styling',
|
389 |
+
'tab' => 'Filters',
|
390 |
+
'ext' => 'px'
|
391 |
+
),
|
392 |
+
array(
|
393 |
+
'label' => 'Font Weight',
|
394 |
+
'id' => 'css_filter_font_weight',
|
395 |
+
'std' => '700',
|
396 |
+
'type' => 'slider',
|
397 |
+
'refresh_on_change' => false,
|
398 |
+
'affect_on_change_el' => '.dslc-post-filter',
|
399 |
+
'affect_on_change_rule' => 'font-weight',
|
400 |
+
'section' => 'styling',
|
401 |
+
'tab' => 'Filters',
|
402 |
+
'ext' => '',
|
403 |
+
'min' => 100,
|
404 |
+
'max' => 900,
|
405 |
+
'increment' => 100
|
406 |
+
),
|
407 |
+
array(
|
408 |
+
'label' => 'Font Family',
|
409 |
+
'id' => 'css_filter_font_family',
|
410 |
+
'std' => 'Open Sans',
|
411 |
+
'type' => 'font',
|
412 |
+
'refresh_on_change' => false,
|
413 |
+
'affect_on_change_el' => '.dslc-post-filter',
|
414 |
+
'affect_on_change_rule' => 'font-family',
|
415 |
+
'section' => 'styling',
|
416 |
+
'tab' => 'Filters',
|
417 |
+
),
|
418 |
+
array(
|
419 |
+
'label' => 'Padding Vertical',
|
420 |
+
'id' => 'css_filter_padding_vertical',
|
421 |
+
'std' => '12',
|
422 |
+
'type' => 'slider',
|
423 |
+
'refresh_on_change' => false,
|
424 |
+
'affect_on_change_el' => '.dslc-post-filter',
|
425 |
+
'affect_on_change_rule' => 'padding-top,padding-bottom',
|
426 |
+
'section' => 'styling',
|
427 |
+
'ext' => 'px',
|
428 |
+
'tab' => 'Filters'
|
429 |
+
),
|
430 |
+
array(
|
431 |
+
'label' => 'Padding Horizontal',
|
432 |
+
'id' => 'css_filter_padding_horizontal',
|
433 |
+
'std' => '12',
|
434 |
+
'type' => 'slider',
|
435 |
+
'refresh_on_change' => false,
|
436 |
+
'affect_on_change_el' => '.dslc-post-filter',
|
437 |
+
'affect_on_change_rule' => 'padding-left,padding-right',
|
438 |
+
'section' => 'styling',
|
439 |
+
'ext' => 'px',
|
440 |
+
'tab' => 'Filters'
|
441 |
+
),
|
442 |
+
array(
|
443 |
+
'label' => 'Position',
|
444 |
+
'id' => 'css_filter_position',
|
445 |
+
'std' => 'left',
|
446 |
+
'type' => 'text_align',
|
447 |
+
'refresh_on_change' => false,
|
448 |
+
'affect_on_change_el' => '.dslc-post-filters',
|
449 |
+
'affect_on_change_rule' => 'text-align',
|
450 |
+
'section' => 'styling',
|
451 |
+
'tab' => 'Filters',
|
452 |
+
),
|
453 |
+
array(
|
454 |
+
'label' => 'Spacing',
|
455 |
+
'id' => 'css_filter_spacing',
|
456 |
+
'std' => '10',
|
457 |
+
'type' => 'slider',
|
458 |
+
'refresh_on_change' => false,
|
459 |
+
'affect_on_change_el' => '.dslc-post-filter',
|
460 |
+
'affect_on_change_rule' => 'margin-right',
|
461 |
+
'section' => 'styling',
|
462 |
+
'ext' => 'px',
|
463 |
+
'tab' => 'Filters'
|
464 |
+
),
|
465 |
+
array(
|
466 |
+
'label' => 'Margin Bottom',
|
467 |
+
'id' => 'css_filter_margin_bottom',
|
468 |
+
'std' => '20',
|
469 |
+
'type' => 'slider',
|
470 |
+
'refresh_on_change' => false,
|
471 |
+
'affect_on_change_el' => '.dslc-post-filters',
|
472 |
+
'affect_on_change_rule' => 'margin-bottom',
|
473 |
+
'section' => 'styling',
|
474 |
+
'tab' => 'Filters',
|
475 |
+
'ext' => 'px'
|
476 |
+
),
|
477 |
+
|
478 |
+
/**
|
479 |
+
* Responsive Tablet
|
480 |
+
*/
|
481 |
+
|
482 |
+
array(
|
483 |
+
'label' => 'Filters - Font Size',
|
484 |
+
'id' => 'css_res_t_filter_font_size',
|
485 |
+
'std' => '11',
|
486 |
+
'type' => 'slider',
|
487 |
+
'refresh_on_change' => false,
|
488 |
+
'affect_on_change_el' => '.dslc-post-filter',
|
489 |
+
'affect_on_change_rule' => 'font-size',
|
490 |
+
'section' => 'responsive',
|
491 |
+
'tab' => 'tablet',
|
492 |
+
'ext' => 'px'
|
493 |
+
),
|
494 |
+
array(
|
495 |
+
'label' => 'Filters - Padding Vertical',
|
496 |
+
'id' => 'css_res_t_filter_padding_vertical',
|
497 |
+
'std' => '12',
|
498 |
+
'type' => 'slider',
|
499 |
+
'refresh_on_change' => false,
|
500 |
+
'affect_on_change_el' => '.dslc-post-filter',
|
501 |
+
'affect_on_change_rule' => 'padding-top,padding-bottom',
|
502 |
+
'section' => 'responsive',
|
503 |
+
'ext' => 'px',
|
504 |
+
'tab' => 'tablet'
|
505 |
+
),
|
506 |
+
array(
|
507 |
+
'label' => 'Filters - Padding Horizontal',
|
508 |
+
'id' => 'css_res_t_filter_padding_horizontal',
|
509 |
+
'std' => '12',
|
510 |
+
'type' => 'slider',
|
511 |
+
'refresh_on_change' => false,
|
512 |
+
'affect_on_change_el' => '.dslc-post-filter',
|
513 |
+
'affect_on_change_rule' => 'padding-left,padding-right',
|
514 |
+
'section' => 'responsive',
|
515 |
+
'ext' => 'px',
|
516 |
+
'tab' => 'tablet'
|
517 |
+
),
|
518 |
+
array(
|
519 |
+
'label' => 'Filters - Spacing',
|
520 |
+
'id' => 'css_res_t_filter_spacing',
|
521 |
+
'std' => '10',
|
522 |
+
'type' => 'slider',
|
523 |
+
'refresh_on_change' => false,
|
524 |
+
'affect_on_change_el' => '.dslc-post-filter',
|
525 |
+
'affect_on_change_rule' => 'margin-right',
|
526 |
+
'section' => 'responsive',
|
527 |
+
'ext' => 'px',
|
528 |
+
'tab' => 'tablet'
|
529 |
+
),
|
530 |
+
array(
|
531 |
+
'label' => 'Filters - Margin Bottom',
|
532 |
+
'id' => 'css_res_t_filter_margin_bottom',
|
533 |
+
'std' => '20',
|
534 |
+
'type' => 'slider',
|
535 |
+
'refresh_on_change' => false,
|
536 |
+
'affect_on_change_el' => '.dslc-post-filters',
|
537 |
+
'affect_on_change_rule' => 'margin-bottom',
|
538 |
+
'section' => 'responsive',
|
539 |
+
'tab' => 'tablet',
|
540 |
+
'ext' => 'px'
|
541 |
+
),
|
542 |
+
|
543 |
+
/**
|
544 |
+
* Responsive Phone
|
545 |
+
*/
|
546 |
+
|
547 |
+
array(
|
548 |
+
'label' => 'Filters - Font Size',
|
549 |
+
'id' => 'css_res_p_filter_font_size',
|
550 |
+
'std' => '11',
|
551 |
+
'type' => 'slider',
|
552 |
+
'refresh_on_change' => false,
|
553 |
+
'affect_on_change_el' => '.dslc-post-filter',
|
554 |
+
'affect_on_change_rule' => 'font-size',
|
555 |
+
'section' => 'responsive',
|
556 |
+
'tab' => 'phone',
|
557 |
+
'ext' => 'px'
|
558 |
+
),
|
559 |
+
array(
|
560 |
+
'label' => 'Filters - Padding Vertical',
|
561 |
+
'id' => 'css_res_p_filter_padding_vertical',
|
562 |
+
'std' => '12',
|
563 |
+
'type' => 'slider',
|
564 |
+
'refresh_on_change' => false,
|
565 |
+
'affect_on_change_el' => '.dslc-post-filter',
|
566 |
+
'affect_on_change_rule' => 'padding-top,padding-bottom',
|
567 |
+
'section' => 'responsive',
|
568 |
+
'ext' => 'px',
|
569 |
+
'tab' => 'phone'
|
570 |
+
),
|
571 |
+
array(
|
572 |
+
'label' => 'Filters - Padding Horizontal',
|
573 |
+
'id' => 'css_res_p_filter_padding_horizontal',
|
574 |
+
'std' => '12',
|
575 |
+
'type' => 'slider',
|
576 |
+
'refresh_on_change' => false,
|
577 |
+
'affect_on_change_el' => '.dslc-post-filter',
|
578 |
+
'affect_on_change_rule' => 'padding-left,padding-right',
|
579 |
+
'section' => 'responsive',
|
580 |
+
'ext' => 'px',
|
581 |
+
'tab' => 'phone'
|
582 |
+
),
|
583 |
+
array(
|
584 |
+
'label' => 'Filters - Spacing',
|
585 |
+
'id' => 'css_res_p_filter_spacing',
|
586 |
+
'std' => '10',
|
587 |
+
'type' => 'slider',
|
588 |
+
'refresh_on_change' => false,
|
589 |
+
'affect_on_change_el' => '.dslc-post-filter',
|
590 |
+
'affect_on_change_rule' => 'margin-right',
|
591 |
+
'section' => 'responsive',
|
592 |
+
'ext' => 'px',
|
593 |
+
'tab' => 'phone'
|
594 |
+
),
|
595 |
+
array(
|
596 |
+
'label' => 'Filters - Margin Bottom',
|
597 |
+
'id' => 'css_res_p_filter_margin_bottom',
|
598 |
+
'std' => '20',
|
599 |
+
'type' => 'slider',
|
600 |
+
'refresh_on_change' => false,
|
601 |
+
'affect_on_change_el' => '.dslc-post-filters',
|
602 |
+
'affect_on_change_rule' => 'margin-bottom',
|
603 |
+
'section' => 'responsive',
|
604 |
+
'tab' => 'phone',
|
605 |
+
'ext' => 'px'
|
606 |
+
),
|
607 |
+
|
608 |
+
);
|
609 |
+
|
610 |
+
/**
|
611 |
+
* Heading
|
612 |
+
*/
|
613 |
+
|
614 |
+
$heading_options = array(
|
615 |
+
|
616 |
+
array(
|
617 |
+
'label' => 'Main Heading Title',
|
618 |
+
'id' => 'main_heading_title',
|
619 |
+
'std' => 'CLICK TO EDIT',
|
620 |
+
'type' => 'text',
|
621 |
+
'visibility' => 'hidden'
|
622 |
+
),
|
623 |
+
array(
|
624 |
+
'label' => 'View All Title',
|
625 |
+
'id' => 'main_heading_link_title',
|
626 |
+
'std' => 'VIEW ALL',
|
627 |
+
'type' => 'text',
|
628 |
+
'visibility' => 'hidden'
|
629 |
+
),
|
630 |
+
|
631 |
+
array(
|
632 |
+
'label' => 'Title - Color',
|
633 |
+
'id' => 'css_main_heading_color',
|
634 |
+
'std' => '',
|
635 |
+
'type' => 'color',
|
636 |
+
'refresh_on_change' => false,
|
637 |
+
'affect_on_change_el' => '.dslc-module-heading h2',
|
638 |
+
'affect_on_change_rule' => 'color',
|
639 |
+
'section' => 'styling',
|
640 |
+
'tab' => 'Heading'
|
641 |
+
),
|
642 |
+
array(
|
643 |
+
'label' => 'Title - Font Size',
|
644 |
+
'id' => 'css_main_heading_font_size',
|
645 |
+
'std' => '17',
|
646 |
+
'type' => 'slider',
|
647 |
+
'refresh_on_change' => false,
|
648 |
+
'affect_on_change_el' => '.dslc-module-heading h2',
|
649 |
+
'affect_on_change_rule' => 'font-size',
|
650 |
+
'section' => 'styling',
|
651 |
+
'tab' => 'Heading',
|
652 |
+
'ext' => 'px'
|
653 |
+
),
|
654 |
+
array(
|
655 |
+
'label' => 'Title - Font Weight',
|
656 |
+
'id' => 'css_main_heading_font_weight',
|
657 |
+
'std' => '400',
|
658 |
+
'type' => 'slider',
|
659 |
+
'refresh_on_change' => false,
|
660 |
+
'affect_on_change_el' => '.dslc-module-heading h2',
|
661 |
+
'affect_on_change_rule' => 'font-weight',
|
662 |
+
'section' => 'styling',
|
663 |
+
'tab' => 'Heading',
|
664 |
+
'ext' => '',
|
665 |
+
'min' => 100,
|
666 |
+
'max' => 900,
|
667 |
+
'increment' => 100
|
668 |
+
),
|
669 |
+
array(
|
670 |
+
'label' => 'Title - Font Family',
|
671 |
+
'id' => 'css_main_heading_font_family',
|
672 |
+
'std' => 'Oswald',
|
673 |
+
'type' => 'font',
|
674 |
+
'refresh_on_change' => false,
|
675 |
+
'affect_on_change_el' => '.dslc-module-heading h2',
|
676 |
+
'affect_on_change_rule' => 'font-family',
|
677 |
+
'section' => 'styling',
|
678 |
+
'tab' => 'Heading',
|
679 |
+
),
|
680 |
+
array(
|
681 |
+
'label' => __( 'Title - Letter Spacing', 'live-composer-page-builder' ),
|
682 |
+
'id' => 'css_main_heading_letter_spacing',
|
683 |
+
'std' => '0',
|
684 |
+
'type' => 'slider',
|
685 |
+
'refresh_on_change' => false,
|
686 |
+
'affect_on_change_el' => '.dslc-module-heading h2',
|
687 |
+
'affect_on_change_rule' => 'letter-spacing',
|
688 |
+
'section' => 'styling',
|
689 |
+
'tab' => 'Heading',
|
690 |
+
'ext' => 'px',
|
691 |
+
'min' => -50,
|
692 |
+
'max' => 50
|
693 |
+
),
|
694 |
+
array(
|
695 |
+
'label' => 'Title - Line Height',
|
696 |
+
'id' => 'css_main_heading_line_height',
|
697 |
+
'std' => '37',
|
698 |
+
'type' => 'slider',
|
699 |
+
'refresh_on_change' => false,
|
700 |
+
'affect_on_change_el' => '.dslc-module-heading h2',
|
701 |
+
'affect_on_change_rule' => 'line-height',
|
702 |
+
'section' => 'styling',
|
703 |
+
'tab' => 'Heading',
|
704 |
+
'ext' => 'px'
|
705 |
+
),
|
706 |
+
|
707 |
+
|
708 |
+
array(
|
709 |
+
'label' => 'Link - Color',
|
710 |
+
'id' => 'css_main_heading_link_color',
|
711 |
+
'std' => '',
|
712 |
+
'type' => 'color',
|
713 |
+
'refresh_on_change' => false,
|
714 |
+
'affect_on_change_el' => '.dslc-module-heading-view-all a',
|
715 |
+
'affect_on_change_rule' => 'color',
|
716 |
+
'section' => 'styling',
|
717 |
+
'tab' => 'Heading'
|
718 |
+
),
|
719 |
+
array(
|
720 |
+
'label' => 'Link - Color - Hover',
|
721 |
+
'id' => 'css_main_heading_link_color_hover',
|
722 |
+
'std' => '',
|
723 |
+
'type' => 'color',
|
724 |
+
'refresh_on_change' => false,
|
725 |
+
'affect_on_change_el' => '.dslc-module-heading-view-all a:hover',
|
726 |
+
'affect_on_change_rule' => 'color',
|
727 |
+
'section' => 'styling',
|
728 |
+
'tab' => 'Heading'
|
729 |
+
),
|
730 |
+
array(
|
731 |
+
'label' => 'Link - Font Size',
|
732 |
+
'id' => 'css_main_heading_link_font_size',
|
733 |
+
'std' => '11',
|
734 |
+
'type' => 'slider',
|
735 |
+
'refresh_on_change' => false,
|
736 |
+
'affect_on_change_el' => '.dslc-module-heading-view-all a',
|
737 |
+
'affect_on_change_rule' => 'font-size',
|
738 |
+
'section' => 'styling',
|
739 |
+
'tab' => 'Heading',
|
740 |
+
'ext' => 'px'
|
741 |
+
),
|
742 |
+
array(
|
743 |
+
'label' => 'Link - Font Weight',
|
744 |
+
'id' => 'css_main_heading_link_font_weight',
|
745 |
+
'std' => '600',
|
746 |
+
'type' => 'slider',
|
747 |
+
'refresh_on_change' => false,
|
748 |
+
'affect_on_change_el' => '.dslc-module-heading-view-all a',
|
749 |
+
'affect_on_change_rule' => 'font-weight',
|
750 |
+
'section' => 'styling',
|
751 |
+
'tab' => 'Heading',
|
752 |
+
'ext' => '',
|
753 |
+
'min' => 100,
|
754 |
+
'max' => 900,
|
755 |
+
'increment' => 100
|
756 |
+
),
|
757 |
+
array(
|
758 |
+
'label' => 'Link - Font Family',
|
759 |
+
'id' => 'css_main_heading_link_font_family',
|
760 |
+
'std' => 'Open Sans',
|
761 |
+
'type' => 'font',
|
762 |
+
'refresh_on_change' => false,
|
763 |
+
'affect_on_change_el' => '.dslc-module-heading-view-all a',
|
764 |
+
'affect_on_change_rule' => 'font-family',
|
765 |
+
'section' => 'styling',
|
766 |
+
'tab' => 'Heading',
|
767 |
+
),
|
768 |
+
array(
|
769 |
+
'label' => __( 'Link - Letter Spacing', 'live-composer-page-builder' ),
|
770 |
+
'id' => 'css_main_heading_link_letter_spacing',
|
771 |
+
'std' => '0',
|
772 |
+
'type' => 'slider',
|
773 |
+
'refresh_on_change' => false,
|
774 |
+
'affect_on_change_el' => '.dslc-module-heading-view-all a',
|
775 |
+
'affect_on_change_rule' => 'letter-spacing',
|
776 |
+
'section' => 'styling',
|
777 |
+
'tab' => 'Heading',
|
778 |
+
'ext' => 'px',
|
779 |
+
'min' => -50,
|
780 |
+
'max' => 50
|
781 |
+
),
|
782 |
+
array(
|
783 |
+
'label' => 'Link - Padding Vertical',
|
784 |
+
'id' => 'css_main_heading_link_padding_ver',
|
785 |
+
'std' => '10',
|
786 |
+
'type' => 'slider',
|
787 |
+
'refresh_on_change' => false,
|
788 |
+
'affect_on_change_el' => '.dslc-module-heading-view-all',
|
789 |
+
'affect_on_change_rule' => 'padding-top,padding-bottom',
|
790 |
+
'section' => 'styling',
|
791 |
+
'tab' => 'Heading',
|
792 |
+
'ext' => 'px'
|
793 |
+
),
|
794 |
+
array(
|
795 |
+
'label' => 'Link - URL',
|
796 |
+
'id' => 'view_all_link',
|
797 |
+
'std' => '#',
|
798 |
+
'type' => 'text',
|
799 |
+
'section' => 'styling',
|
800 |
+
'tab' => 'Heading',
|
801 |
+
),
|
802 |
+
array(
|
803 |
+
'label' => 'Separator - Color',
|
804 |
+
'id' => 'css_main_heading_sep_color',
|
805 |
+
'std' => '#4f4f4f',
|
806 |
+
'type' => 'color',
|
807 |
+
'refresh_on_change' => false,
|
808 |
+
'affect_on_change_el' => '.dslc-module-heading-view-all a',
|
809 |
+
'affect_on_change_rule' => 'border-left-color',
|
810 |
+
'section' => 'styling',
|
811 |
+
'tab' => 'Heading'
|
812 |
+
),
|
813 |
+
array(
|
814 |
+
'label' => 'Separator - Style',
|
815 |
+
'id' => 'css_main_heading_sep_style',
|
816 |
+
'std' => 'dotted',
|
817 |
+
'type' => 'select',
|
818 |
+
'refresh_on_change' => false,
|
819 |
+
'affect_on_change_el' => '.dslc-module-heading-view-all a',
|
820 |
+
'affect_on_change_rule' => 'border-left-style',
|
821 |
+
'section' => 'styling',
|
822 |
+
'tab' => 'Heading',
|
823 |
+
'choices' => array(
|
824 |
+
array(
|
825 |
+
'label' => 'Solid',
|
826 |
+
'value' => 'solid',
|
827 |
+
),
|
828 |
+
array(
|
829 |
+
'label' => 'Dashed',
|
830 |
+
'value' => 'dashed',
|
831 |
+
),
|
832 |
+
array(
|
833 |
+
'label' => 'Dotted',
|
834 |
+
'value' => 'dotted',
|
835 |
+
),
|
836 |
+
)
|
837 |
+
),
|
838 |
+
|
839 |
+
array(
|
840 |
+
'label' => 'Margin Bottom',
|
841 |
+
'id' => 'css_heading_margin_bottom',
|
842 |
+
'std' => '20',
|
843 |
+
'type' => 'slider',
|
844 |
+
'refresh_on_change' => false,
|
845 |
+
'affect_on_change_el' => '.dslc-module-heading h2',
|
846 |
+
'affect_on_change_rule' => 'margin-bottom',
|
847 |
+
'section' => 'styling',
|
848 |
+
'tab' => 'Heading',
|
849 |
+
'ext' => 'px'
|
850 |
+
),
|
851 |
+
|
852 |
+
/**
|
853 |
+
* Responsive Tablet
|
854 |
+
*/
|
855 |
+
|
856 |
+
array(
|
857 |
+
'label' => 'Heading - Font Size',
|
858 |
+
'id' => 'css_res_t_main_heading_font_size',
|
859 |
+
'std' => '17',
|
860 |
+
'type' => 'slider',
|
861 |
+
'refresh_on_change' => false,
|
862 |
+
'affect_on_change_el' => '.dslc-module-heading h2',
|
863 |
+
'affect_on_change_rule' => 'font-size',
|
864 |
+
'section' => 'responsive',
|
865 |
+
'tab' => 'tablet',
|
866 |
+
'ext' => 'px'
|
867 |
+
),
|
868 |
+
array(
|
869 |
+
'label' => 'Heading - Line Height',
|
870 |
+
'id' => 'css_res_t_main_heading_line_height',
|
871 |
+
'std' => '37',
|
872 |
+
'type' => 'slider',
|
873 |
+
'refresh_on_change' => false,
|
874 |
+
'affect_on_change_el' => '.dslc-module-heading h2',
|
875 |
+
'affect_on_change_rule' => 'line-height',
|
876 |
+
'section' => 'responsive',
|
877 |
+
'tab' => 'tablet',
|
878 |
+
'ext' => 'px'
|
879 |
+
),
|
880 |
+
array(
|
881 |
+
'label' => 'Heading Link - Font Size',
|
882 |
+
'id' => 'css_res_t_main_heading_link_font_size',
|
883 |
+
'std' => '11',
|
884 |
+
'type' => 'slider',
|
885 |
+
'refresh_on_change' => false,
|
886 |
+
'affect_on_change_el' => '.dslc-module-heading-view-all a',
|
887 |
+
'affect_on_change_rule' => 'font-size',
|
888 |
+
'section' => 'responsive',
|
889 |
+
'tab' => 'tablet',
|
890 |
+
'ext' => 'px'
|
891 |
+
),
|
892 |
+
array(
|
893 |
+
'label' => 'Heading Link - Padding Vertical',
|
894 |
+
'id' => 'css_res_t_main_heading_link_padding_ver',
|
895 |
+
'std' => '10',
|
896 |
+
'type' => 'slider',
|
897 |
+
'refresh_on_change' => false,
|
898 |
+
'affect_on_change_el' => '.dslc-module-heading-view-all',
|
899 |
+
'affect_on_change_rule' => 'padding-top,padding-bottom',
|
900 |
+
'section' => 'responsive',
|
901 |
+
'tab' => 'tablet',
|
902 |
+
'ext' => 'px'
|
903 |
+
),
|
904 |
+
array(
|
905 |
+
'label' => 'Heading - Margin Bottom',
|
906 |
+
'id' => 'css_res_t_heading_margin_bottom',
|
907 |
+
'std' => '20',
|
908 |
+
'type' => 'slider',
|
909 |
+
'refresh_on_change' => false,
|
910 |
+
'affect_on_change_el' => '.dslc-module-heading h2',
|
911 |
+
'affect_on_change_rule' => 'margin-bottom',
|
912 |
+
'section' => 'responsive',
|
913 |
+
'tab' => 'tablet',
|
914 |
+
'ext' => 'px'
|
915 |
+
),
|
916 |
+
|
917 |
+
/**
|
918 |
+
* Responsive Phone
|
919 |
+
*/
|
920 |
+
|
921 |
+
array(
|
922 |
+
'label' => 'Heading - Font Size',
|
923 |
+
'id' => 'css_res_p_main_heading_font_size',
|
924 |
+
'std' => '17',
|
925 |
+
'type' => 'slider',
|
926 |
+
'refresh_on_change' => false,
|
927 |
+
'affect_on_change_el' => '.dslc-module-heading h2',
|
928 |
+
'affect_on_change_rule' => 'font-size',
|
929 |
+
'section' => 'responsive',
|
930 |
+
'tab' => 'phone',
|
931 |
+
'ext' => 'px'
|
932 |
+
),
|
933 |
+
array(
|
934 |
+
'label' => 'Heading - Line Height',
|
935 |
+
'id' => 'css_res_p_main_heading_line_height',
|
936 |
+
'std' => '37',
|
937 |
+
'type' => 'slider',
|
938 |
+
'refresh_on_change' => false,
|
939 |
+
'affect_on_change_el' => '.dslc-module-heading h2',
|
940 |
+
'affect_on_change_rule' => 'line-height',
|
941 |
+
'section' => 'responsive',
|
942 |
+
'tab' => 'phone',
|
943 |
+
'ext' => 'px'
|
944 |
+
),
|
945 |
+
array(
|
946 |
+
'label' => 'Heading Link - Font Size',
|
947 |
+
'id' => 'css_res_p_main_heading_link_font_size',
|
948 |
+
'std' => '11',
|
949 |
+
'type' => 'slider',
|
950 |
+
'refresh_on_change' => false,
|
951 |
+
'affect_on_change_el' => '.dslc-module-heading-view-all a',
|
952 |
+
'affect_on_change_rule' => 'font-size',
|
953 |
+
'section' => 'responsive',
|
954 |
+
'tab' => 'phone',
|
955 |
+
'ext' => 'px'
|
956 |
+
),
|
957 |
+
array(
|
958 |
+
'label' => 'Heading Link - Padding Vertical',
|
959 |
+
'id' => 'css_res_p_main_heading_link_padding_ver',
|
960 |
+
'std' => '10',
|
961 |
+
'type' => 'slider',
|
962 |
+
'refresh_on_change' => false,
|
963 |
+
'affect_on_change_el' => '.dslc-module-heading-view-all',
|
964 |
+
'affect_on_change_rule' => 'padding-top,padding-bottom',
|
965 |
+
'section' => 'responsive',
|
966 |
+
'tab' => 'phone',
|
967 |
+
'ext' => 'px'
|
968 |
+
),
|
969 |
+
array(
|
970 |
+
'label' => 'Heading - Margin Bottom',
|
971 |
+
'id' => 'css_res_p_heading_margin_bottom',
|
972 |
+
'std' => '20',
|
973 |
+
'type' => 'slider',
|
974 |
+
'refresh_on_change' => false,
|
975 |
+
'affect_on_change_el' => '.dslc-module-heading h2',
|
976 |
+
'affect_on_change_rule' => 'margin-bottom',
|
977 |
+
'section' => 'responsive',
|
978 |
+
'tab' => 'phone',
|
979 |
+
'ext' => 'px'
|
980 |
+
),
|
981 |
+
|
982 |
+
);
|
983 |
+
|
984 |
+
/**
|
985 |
+
* Carousel Arrows
|
986 |
+
*/
|
987 |
+
|
988 |
+
$carousel_arrows_options = array(
|
989 |
+
|
990 |
+
array(
|
991 |
+
'label' => 'Slide Speed',
|
992 |
+
'id' => 'arrows_slide_speed',
|
993 |
+
'std' => '200',
|
994 |
+
'type' => 'text',
|
995 |
+
'section' => 'styling',
|
996 |
+
'tab' => 'Carousel Arrows'
|
997 |
+
),
|
998 |
+
array(
|
999 |
+
'label' => 'BG Color',
|
1000 |
+
'id' => 'css_arrows_bg_color',
|
1001 |
+
'std' => '#c9c9c9',
|
1002 |
+
'type' => 'color',
|
1003 |
+
'refresh_on_change' => false,
|
1004 |
+
'affect_on_change_el' => '.dslc-carousel-nav-prev,.dslc-carousel-nav-next',
|
1005 |
+
'affect_on_change_rule' => 'background-color',
|
1006 |
+
'section' => 'styling',
|
1007 |
+
'tab' => 'Carousel Arrows'
|
1008 |
+
),
|
1009 |
+
array(
|
1010 |
+
'label' => 'BG Color - Hover',
|
1011 |
+
'id' => 'css_arrows_bg_color_hover',
|
1012 |
+
'std' => '#5890e5',
|
1013 |
+
'type' => 'color',
|
1014 |
+
'refresh_on_change' => false,
|
1015 |
+
'affect_on_change_el' => '.dslc-carousel-nav-prev:hover,.dslc-carousel-nav-next:hover',
|
1016 |
+
'affect_on_change_rule' => 'background-color',
|
1017 |
+
'section' => 'styling',
|
1018 |
+
'tab' => 'Carousel Arrows'
|
1019 |
+
),
|
1020 |
+
array(
|
1021 |
+
'label' => 'Border Color',
|
1022 |
+
'id' => 'css_arrows_border_color',
|
1023 |
+
'std' => '',
|
1024 |
+
'type' => 'color',
|
1025 |
+
'refresh_on_change' => false,
|
1026 |
+
'affect_on_change_el' => '.dslc-carousel-nav-prev,.dslc-carousel-nav-next',
|
1027 |
+
'affect_on_change_rule' => 'border-color',
|
1028 |
+
'section' => 'styling',
|
1029 |
+
'tab' => 'Carousel Arrows',
|
1030 |
+
),
|
1031 |
+
array(
|
1032 |
+
'label' => 'Border Color - Hover',
|
1033 |
+
'id' => 'css_arrows_border_color_hover',
|
1034 |
+
'std' => '',
|
1035 |
+
'type' => 'color',
|
1036 |
+
'refresh_on_change' => false,
|
1037 |
+
'affect_on_change_el' => '.dslc-carousel-nav-prev:hover,.dslc-carousel-nav-next:hover',
|
1038 |
+
'affect_on_change_rule' => 'border-color',
|
1039 |
+
'section' => 'styling',
|
1040 |
+
'tab' => 'Carousel Arrows',
|
1041 |
+
),
|
1042 |
+
array(
|
1043 |
+
'label' => 'Border Width',
|
1044 |
+
'id' => 'css_arrows_border_width',
|
1045 |
+
'std' => '0',
|
1046 |
+
'type' => 'slider',
|
1047 |
+
'refresh_on_change' => false,
|
1048 |
+
'affect_on_change_el' => '.dslc-carousel-nav-prev,.dslc-carousel-nav-next',
|
1049 |
+
'affect_on_change_rule' => 'border-width',
|
1050 |
+
'section' => 'styling',
|
1051 |
+
'ext' => 'px',
|
1052 |
+
'tab' => 'Carousel Arrows',
|
1053 |
+
),
|
1054 |
+
array(
|
1055 |
+
'label' => 'Border Radius',
|
1056 |
+
'id' => 'css_arrows_border_radius',
|
1057 |
+
'std' => '3',
|
1058 |
+
'type' => 'slider',
|
1059 |
+
'refresh_on_change' => false,
|
1060 |
+
'affect_on_change_el' => '.dslc-carousel-nav-prev,.dslc-carousel-nav-next',
|
1061 |
+
'affect_on_change_rule' => 'border-radius',
|
1062 |
+
'section' => 'styling',
|
1063 |
+
'tab' => 'Carousel Arrows',
|
1064 |
+
'ext' => 'px'
|
1065 |
+
),
|
1066 |
+
array(
|
1067 |
+
'label' => 'Color',
|
1068 |
+
'id' => 'css_arrows_color',
|
1069 |
+
'std' => '#ffffff',
|
1070 |
+
'type' => 'color',
|
1071 |
+
'refresh_on_change' => false,
|
1072 |
+
'affect_on_change_el' => '.dslc-carousel-nav-prev span,.dslc-carousel-nav-next span',
|
1073 |
+
'affect_on_change_rule' => 'color',
|
1074 |
+
'section' => 'styling',
|
1075 |
+
'tab' => 'Carousel Arrows'
|
1076 |
+
),
|
1077 |
+
array(
|
1078 |
+
'label' => 'Color - Hover',
|
1079 |
+
'id' => 'css_arrows_color_hover',
|
1080 |
+
'std' => '#ffffff',
|
1081 |
+
'type' => 'color',
|
1082 |
+
'refresh_on_change' => false,
|
1083 |
+
'affect_on_change_el' => '.dslc-carousel-nav-prev:hover span,.dslc-carousel-nav-next:hover span',
|
1084 |
+
'affect_on_change_rule' => 'color',
|
1085 |
+
'section' => 'styling',
|
1086 |
+
'tab' => 'Carousel Arrows'
|
1087 |
+
),
|
1088 |
+
array(
|
1089 |
+
'label' => 'Margin Top',
|
1090 |
+
'id' => 'css_arrows_margin_top',
|
1091 |
+
'std' => '6',
|
1092 |
+
'type' => 'slider',
|
1093 |
+
'refresh_on_change' => false,
|
1094 |
+
'affect_on_change_el' => '.dslc-carousel-nav',
|
1095 |
+
'affect_on_change_rule' => 'margin-top',
|
1096 |
+
'section' => 'styling',
|
1097 |
+
'tab' => 'Carousel Arrows',
|
1098 |
+
'ext' => 'px'
|
1099 |
+
),
|
1100 |
+
array(
|
1101 |
+
'label' => 'Size',
|
1102 |
+
'id' => 'css_arrows_size',
|
1103 |
+
'std' => '23',
|
1104 |
+
'type' => 'slider',
|
1105 |
+
'refresh_on_change' => false,
|
1106 |
+
'affect_on_change_el' => '.dslc-carousel-nav-prev,.dslc-carousel-nav-next',
|
1107 |
+
'affect_on_change_rule' => 'width,height',
|
1108 |
+
'section' => 'styling',
|
1109 |
+
'ext' => 'px',
|
1110 |
+
'tab' => 'Carousel Arrows'
|
1111 |
+
),
|
1112 |
+
array(
|
1113 |
+
'label' => 'Size - Arrows',
|
1114 |
+
'id' => 'css_arrows_arrow_size',
|
1115 |
+
'std' => '10',
|
1116 |
+
'type' => 'slider',
|
1117 |
+
'refresh_on_change' => false,
|
1118 |
+
'affect_on_change_el' => '.dslc-carousel-nav-prev span,.dslc-carousel-nav-next span',
|
1119 |
+
'affect_on_change_rule' => 'font-size',
|
1120 |
+
'section' => 'styling',
|
1121 |
+
'ext' => 'px',
|
1122 |
+
'tab' => 'Carousel Arrows'
|
1123 |
+
),
|
1124 |
+
array(
|
1125 |
+
'label' => 'Margin Bottom',
|
1126 |
+
'id' => 'css_arrows_margin_bottom',
|
1127 |
+
'std' => '20',
|
1128 |
+
'type' => 'slider',
|
1129 |
+
'refresh_on_change' => false,
|
1130 |
+
'affect_on_change_el' => '.dslc-carousel-nav',
|
1131 |
+
'affect_on_change_rule' => 'margin-bottom',
|
1132 |
+
'section' => 'styling',
|
1133 |
+
'tab' => 'Carousel Arrows',
|
1134 |
+
'ext' => 'px'
|
1135 |
+
),
|
1136 |
+
|
1137 |
+
);
|
1138 |
+
|
1139 |
+
/**
|
1140 |
+
* Carousel Circles
|
1141 |
+
*/
|
1142 |
+
|
1143 |
+
$carousel_circles_options = array(
|
1144 |
+
|
1145 |
+
array(
|
1146 |
+
'label' => 'Slide Speed',
|
1147 |
+
'id' => 'circles_slide_speed',
|
1148 |
+
'std' => '800',
|
1149 |
+
'type' => 'text',
|
1150 |
+
'section' => 'styling',
|
1151 |
+
'tab' => 'Carousel Circles'
|
1152 |
+
),
|
1153 |
+
array(
|
1154 |
+
'label' => 'Color',
|
1155 |
+
'id' => 'css_circles_color',
|
1156 |
+
'std' => '#b9b9b9',
|
1157 |
+
'type' => 'color',
|
1158 |
+
'refresh_on_change' => false,
|
1159 |
+
'affect_on_change_el' => '.owl-pagination .owl-page span',
|
1160 |
+
'affect_on_change_rule' => 'background-color',
|
1161 |
+
'section' => 'styling',
|
1162 |
+
'tab' => 'Carousel Circles'
|
1163 |
+
),
|
1164 |
+
array(
|
1165 |
+
'label' => 'Color - Active',
|
1166 |
+
'id' => 'css_circles_color_active',
|
1167 |
+
'std' => '#5890e5',
|
1168 |
+
'type' => 'color',
|
1169 |
+
'refresh_on_change' => false,
|
1170 |
+
'affect_on_change_el' => '.owl-pagination .owl-page.active span',
|
1171 |
+
'affect_on_change_rule' => 'background-color',
|
1172 |
+
'section' => 'styling',
|
1173 |
+
'tab' => 'Carousel Circles'
|
1174 |
+
),
|
1175 |
+
array(
|
1176 |
+
'label' => 'Margin Top',
|
1177 |
+
'id' => 'css_circles_margin_top',
|
1178 |
+
'std' => '20',
|
1179 |
+
'type' => 'slider',
|
1180 |
+
'refresh_on_change' => false,
|
1181 |
+
'affect_on_change_el' => '.owl-controls',
|
1182 |
+
'affect_on_change_rule' => 'margin-top',
|
1183 |
+
'section' => 'styling',
|
1184 |
+
'tab' => 'Carousel Circles',
|
1185 |
+
'ext' => 'px'
|
1186 |
+
),
|
1187 |
+
array(
|
1188 |
+
'label' => 'Size',
|
1189 |
+
'id' => 'css_circles_size',
|
1190 |
+
'std' => '7',
|
1191 |
+
'type' => 'slider',
|
1192 |
+
'refresh_on_change' => false,
|
1193 |
+
'affect_on_change_el' => '.owl-pagination .owl-page span',
|
1194 |
+
'affect_on_change_rule' => 'width,height',
|
1195 |
+
'section' => 'styling',
|
1196 |
+
'tab' => 'Carousel Circles',
|
1197 |
+
'ext' => 'px'
|
1198 |
+
),
|
1199 |
+
array(
|
1200 |
+
'label' => 'Spacing',
|
1201 |
+
'id' => 'css_circles_spacing',
|
1202 |
+
'std' => '3',
|
1203 |
+
'type' => 'slider',
|
1204 |
+
'refresh_on_change' => false,
|
1205 |
+
'affect_on_change_el' => '.owl-pagination .owl-page',
|
1206 |
+
'affect_on_change_rule' => 'margin-left,margin-right',
|
1207 |
+
'section' => 'styling',
|
1208 |
+
'tab' => 'Carousel Circles',
|
1209 |
+
'ext' => 'px'
|
1210 |
+
),
|
1211 |
+
|
1212 |
+
);
|
1213 |
+
|
1214 |
+
/**
|
1215 |
+
* Carousel Options
|
1216 |
+
*/
|
1217 |
+
|
1218 |
+
$carousel_options = array(
|
1219 |
+
|
1220 |
+
array(
|
1221 |
+
'label' => 'Autoplay ( ms )',
|
1222 |
+
'help' => 'The amount of miliseconds between each automatic slide.',
|
1223 |
+
'id' => 'carousel_autoplay',
|
1224 |
+
'std' => '0',
|
1225 |
+
'type' => 'text',
|
1226 |
+
'tab' => 'carousel',
|
1227 |
+
),
|
1228 |
+
array(
|
1229 |
+
'label' => 'Autoplay - Stop on Hover',
|
1230 |
+
'id' => 'carousel_autoplay_hover',
|
1231 |
+
'std' => 'false',
|
1232 |
+
'type' => 'select',
|
1233 |
+
'choices' => array(
|
1234 |
+
array(
|
1235 |
+
'label' => 'Enabled',
|
1236 |
+
'value' => 'true',
|
1237 |
+
),
|
1238 |
+
array(
|
1239 |
+
'label' => 'Disabled',
|
1240 |
+
'value' => 'false',
|
1241 |
+
),
|
1242 |
+
),
|
1243 |
+
'tab' => 'carousel',
|
1244 |
+
),
|
1245 |
+
|
1246 |
+
);
|
1247 |
+
|
1248 |
+
/**
|
1249 |
+
* Pagination
|
1250 |
+
*/
|
1251 |
+
|
1252 |
+
$pagination_options = array(
|
1253 |
+
|
1254 |
+
array(
|
1255 |
+
'label' => 'Align',
|
1256 |
+
'id' => 'css_pag_align',
|
1257 |
+
'std' => 'left',
|
1258 |
+
'type' => 'text_align',
|
1259 |
+
'refresh_on_change' => false,
|
1260 |
+
'affect_on_change_el' => '.dslc-pagination',
|
1261 |
+
'affect_on_change_rule' => 'text-align',
|
1262 |
+
'section' => 'styling',
|
1263 |
+
'tab' => 'Pagination',
|
1264 |
+
),
|
1265 |
+
array(
|
1266 |
+
'label' => 'Container - BG Color',
|
1267 |
+
'id' => 'css_pag_bg_color',
|
1268 |
+
'std' => '',
|
1269 |
+
'type' => 'color',
|
1270 |
+
'refresh_on_change' => false,
|
1271 |
+
'affect_on_change_el' => '.dslc-pagination',
|
1272 |
+
'affect_on_change_rule' => 'background-color',
|
1273 |
+
'section' => 'styling',
|
1274 |
+
'tab' => 'Pagination',
|
1275 |
+
),
|
1276 |
+
array(
|
1277 |
+
'label' => 'Container - Border Color',
|
1278 |
+
'id' => 'css_pag_border_color',
|
1279 |
+
'std' => '',
|
1280 |
+
'type' => 'color',
|
1281 |
+
'refresh_on_change' => false,
|
1282 |
+
'affect_on_change_el' => '.dslc-pagination',
|
1283 |
+
'affect_on_change_rule' => 'border-color',
|
1284 |
+
'section' => 'styling',
|
1285 |
+
'tab' => 'Pagination'
|
1286 |
+
),
|
1287 |
+
array(
|
1288 |
+
'label' => 'Container - Border Width',
|
1289 |
+
'id' => 'css_pag_border_width',
|
1290 |
+
'std' => '0',
|
1291 |
+
'type' => 'slider',
|
1292 |
+
'refresh_on_change' => false,
|
1293 |
+
'affect_on_change_el' => '.dslc-pagination',
|
1294 |
+
'affect_on_change_rule' => 'border-width',
|
1295 |
+
'section' => 'styling',
|
1296 |
+
'ext' => 'px',
|
1297 |
+
'tab' => 'Pagination'
|
1298 |
+
),
|
1299 |
+
array(
|
1300 |
+
'label' => 'Container - Borders',
|
1301 |
+
'id' => 'css_pag_border_trbl',
|
1302 |
+
'std' => 'top right bottom left',
|
1303 |
+
'type' => 'checkbox',
|
1304 |
+
'choices' => array(
|
1305 |
+
array(
|
1306 |
+
'label' => 'Top',
|
1307 |
+
'value' => 'top'
|
1308 |
+
),
|
1309 |
+
array(
|
1310 |
+
'label' => 'Right',
|
1311 |
+
'value' => 'right'
|
1312 |
+
),
|
1313 |
+
array(
|
1314 |
+
'label' => 'Bottom',
|
1315 |
+
'value' => 'bottom'
|
1316 |
+
),
|
1317 |
+
array(
|
1318 |
+
'label' => 'Left',
|
1319 |
+
'value' => 'left'
|
1320 |
+
),
|
1321 |
+
),
|
1322 |
+
'refresh_on_change' => false,
|
1323 |
+
'affect_on_change_el' => '.dslc-pagination',
|
1324 |
+
'affect_on_change_rule' => 'border-style',
|
1325 |
+
'section' => 'styling',
|
1326 |
+
'tab' => 'Pagination',
|
1327 |
+
),
|
1328 |
+
array(
|
1329 |
+
'label' => 'Container - Border Radius',
|
1330 |
+
'id' => 'css_pag_border_radius',
|
1331 |
+
'std' => '0',
|
1332 |
+
'type' => 'slider',
|
1333 |
+
'refresh_on_change' => false,
|
1334 |
+
'affect_on_change_el' => '.dslc-pagination',
|
1335 |
+
'affect_on_change_rule' => 'border-radius',
|
1336 |
+
'section' => 'styling',
|
1337 |
+
'tab' => 'Pagination',
|
1338 |
+
'ext' => 'px'
|
1339 |
+
),
|
1340 |
+
array(
|
1341 |
+
'label' => 'Container - Padding Vertical',
|
1342 |
+
'id' => 'css_pag_padding_vertical',
|
1343 |
+
'std' => '0',
|
1344 |
+
'type' => 'slider',
|
1345 |
+
'refresh_on_change' => false,
|
1346 |
+
'affect_on_change_el' => '.dslc-pagination',
|
1347 |
+
'affect_on_change_rule' => 'padding-top,padding-bottom',
|
1348 |
+
'section' => 'styling',
|
1349 |
+
'ext' => 'px',
|
1350 |
+
'tab' => 'Pagination'
|
1351 |
+
),
|
1352 |
+
array(
|
1353 |
+
'label' => 'Container - Padding Horizontal',
|
1354 |
+
'id' => 'css_pag_padding_horizontal',
|
1355 |
+
'std' => '0',
|
1356 |
+
'type' => 'slider',
|
1357 |
+
'refresh_on_change' => false,
|
1358 |
+
'affect_on_change_el' => '.dslc-pagination',
|
1359 |
+
'affect_on_change_rule' => 'padding-left,padding-right',
|
1360 |
+
'section' => 'styling',
|
1361 |
+
'ext' => 'px',
|
1362 |
+
'tab' => 'Pagination'
|
1363 |
+
),
|
1364 |
+
|
1365 |
+
array(
|
1366 |
+
'label' => 'Item - BG Color',
|
1367 |
+
'id' => 'css_pag_item_bg_color',
|
1368 |
+
'std' => '#ffffff',
|
1369 |
+
'type' => 'color',
|
1370 |
+
'refresh_on_change' => false,
|
1371 |
+
'affect_on_change_el' => '.dslc-pagination li.dslc-inactive a',
|
1372 |
+
'affect_on_change_rule' => 'background-color',
|
1373 |
+
'section' => 'styling',
|
1374 |
+
'tab' => 'Pagination',
|
1375 |
+
),
|
1376 |
+
array(
|
1377 |
+
'label' => 'Item - Active - BG Color',
|
1378 |
+
'id' => 'css_pag_item_bg_color_active',
|
1379 |
+
'std' => '#5890e5',
|
1380 |
+
'type' => 'color',
|
1381 |
+
'refresh_on_change' => false,
|
1382 |
+
'affect_on_change_el' => '.dslc-pagination li.dslc-active a',
|
1383 |
+
'affect_on_change_rule' => 'background-color',
|
1384 |
+
'section' => 'styling',
|
1385 |
+
'tab' => 'Pagination',
|
1386 |
+
),
|
1387 |
+
array(
|
1388 |
+
'label' => 'Item - Border Color',
|
1389 |
+
'id' => 'css_pag_item_border_color',
|
1390 |
+
'std' => '#e8e8e8',
|
1391 |
+
'type' => 'color',
|
1392 |
+
'refresh_on_change' => false,
|
1393 |
+
'affect_on_change_el' => '.dslc-pagination li.dslc-inactive a',
|
1394 |
+
'affect_on_change_rule' => 'border-color',
|
1395 |
+
'section' => 'styling',
|
1396 |
+
'tab' => 'Pagination'
|
1397 |
+
),
|
1398 |
+
array(
|
1399 |
+
'label' => 'Item - Active - Border Color',
|
1400 |
+
'id' => 'css_pag_item_border_color_active',
|
1401 |
+
'std' => '#5890e5',
|
1402 |
+
'type' => 'color',
|
1403 |
+
'refresh_on_change' => false,
|
1404 |
+
'affect_on_change_el' => '.dslc-pagination li.dslc-active a',
|
1405 |
+
'affect_on_change_rule' => 'border-color',
|
1406 |
+
'section' => 'styling',
|
1407 |
+
'tab' => 'Pagination'
|
1408 |
+
),
|
1409 |
+
array(
|
1410 |
+
'label' => 'Item - Border Width',
|
1411 |
+
'id' => 'css_pag_item_border_width',
|
1412 |
+
'std' => '1',
|
1413 |
+
'type' => 'slider',
|
1414 |
+
'refresh_on_change' => false,
|
1415 |
+
'affect_on_change_el' => '.dslc-pagination li.dslc-inactive a',
|
1416 |
+
'affect_on_change_rule' => 'border-width',
|
1417 |
+
'section' => 'styling',
|
1418 |
+
'ext' => 'px',
|
1419 |
+
'tab' => 'Pagination'
|
1420 |
+
),
|
1421 |
+
array(
|
1422 |
+
'label' => 'Item - Active - Border Width',
|
1423 |
+
'id' => 'css_pag_item_border_width_active',
|
1424 |
+
'std' => '1',
|
1425 |
+
'type' => 'slider',
|
1426 |
+
'refresh_on_change' => false,
|
1427 |
+
'affect_on_change_el' => '.dslc-pagination li.dslc-active a',
|
1428 |
+
'affect_on_change_rule' => 'border-width',
|
1429 |
+
'section' => 'styling',
|
1430 |
+
'ext' => 'px',
|
1431 |
+
'tab' => 'Pagination'
|
1432 |
+
),
|
1433 |
+
array(
|
1434 |
+
'label' => 'Item - Borders',
|
1435 |
+
'id' => 'css_pag_item_border_trbl',
|
1436 |
+
'std' => 'top right bottom left',
|
1437 |
+
'type' => 'checkbox',
|
1438 |
+
'choices' => array(
|
1439 |
+
array(
|
1440 |
+
'label' => 'Top',
|
1441 |
+
'value' => 'top'
|
1442 |
+
),
|
1443 |
+
array(
|
1444 |
+
'label' => 'Right',
|
1445 |
+
'value' => 'right'
|
1446 |
+
),
|
1447 |
+
array(
|
1448 |
+
'label' => 'Bottom',
|
1449 |
+
'value' => 'bottom'
|
1450 |
+
),
|
1451 |
+
array(
|
1452 |
+
'label' => 'Left',
|
1453 |
+
'value' => 'left'
|
1454 |
+
),
|
1455 |
+
),
|
1456 |
+
'refresh_on_change' => false,
|
1457 |
+
'affect_on_change_el' => '.dslc-pagination li a',
|
1458 |
+
'affect_on_change_rule' => 'border-style',
|
1459 |
+
'section' => 'styling',
|
1460 |
+
'tab' => 'Pagination',
|
1461 |
+
),
|
1462 |
+
array(
|
1463 |
+
'label' => 'Item - Border Radius',
|
1464 |
+
'id' => 'css_pag_item_border_radius',
|
1465 |
+
'std' => '3',
|
1466 |
+
'type' => 'slider',
|
1467 |
+
'refresh_on_change' => false,
|
1468 |
+
'affect_on_change_el' => '.dslc-pagination li a',
|
1469 |
+
'affect_on_change_rule' => 'border-radius',
|
1470 |
+
'section' => 'styling',
|
1471 |
+
'tab' => 'Pagination',
|
1472 |
+
'ext' => 'px'
|
1473 |
+
),
|
1474 |
+
array(
|
1475 |
+
'label' => 'Item - Color',
|
1476 |
+
'id' => 'css_pag_item_color',
|
1477 |
+
'std' => '#979797',
|
1478 |
+
'type' => 'color',
|
1479 |
+
'refresh_on_change' => false,
|
1480 |
+
'affect_on_change_el' => '.dslc-pagination li.dslc-inactive a',
|
1481 |
+
'affect_on_change_rule' => 'color',
|
1482 |
+
'section' => 'styling',
|
1483 |
+
'tab' => 'Pagination',
|
1484 |
+
),
|
1485 |
+
array(
|
1486 |
+
'label' => 'Item - Active - Color',
|
1487 |
+
'id' => 'css_pag_item_color_active',
|
1488 |
+
'std' => '#ffffff',
|
1489 |
+
'type' => 'color',
|
1490 |
+
'refresh_on_change' => false,
|
1491 |
+
'affect_on_change_el' => '.dslc-pagination li.dslc-active a',
|
1492 |
+
'affect_on_change_rule' => 'color',
|
1493 |
+
'section' => 'styling',
|
1494 |
+
'tab' => 'Pagination',
|
1495 |
+
),
|
1496 |
+
array(
|
1497 |
+
'label' => 'Item - Font Size',
|
1498 |
+
'id' => 'css_pag_item_font_size',
|
1499 |
+
'std' => '11',
|
1500 |
+
'type' => 'slider',
|
1501 |
+
'refresh_on_change' => false,
|
1502 |
+
'affect_on_change_el' => '.dslc-pagination li a',
|
1503 |
+
'affect_on_change_rule' => 'font-size',
|
1504 |
+
'section' => 'styling',
|
1505 |
+
'tab' => 'Pagination',
|
1506 |
+
'ext' => 'px'
|
1507 |
+
),
|
1508 |
+
array(
|
1509 |
+
'label' => 'Item - Font Weight',
|
1510 |
+
'id' => 'css_pag_item_font_weight',
|
1511 |
+
'std' => '700',
|
1512 |
+
'type' => 'slider',
|
1513 |
+
'refresh_on_change' => false,
|
1514 |
+
'affect_on_change_el' => '.dslc-pagination li a',
|
1515 |
+
'affect_on_change_rule' => 'font-weight',
|
1516 |
+
'section' => 'styling',
|
1517 |
+
'tab' => 'Pagination',
|
1518 |
+
'ext' => '',
|
1519 |
+
'min' => 100,
|
1520 |
+
'max' => 900,
|
1521 |
+
'increment' => 100
|
1522 |
+
),
|
1523 |
+
array(
|
1524 |
+
'label' => 'Item - Font Family',
|
1525 |
+
'id' => 'css_pag_item_font_family',
|
1526 |
+
'std' => 'Open Sans',
|
1527 |
+
'type' => 'font',
|
1528 |
+
'refresh_on_change' => false,
|
1529 |
+
'affect_on_change_el' => '.dslc-pagination li a',
|
1530 |
+
'affect_on_change_rule' => 'font-family',
|
1531 |
+
'section' => 'styling',
|
1532 |
+
'tab' => 'Pagination',
|
1533 |
+
),
|
1534 |
+
array(
|
1535 |
+
'label' => __( 'Item - Letter Spacing', 'live-composer-page-builder' ),
|
1536 |
+
'id' => 'css_pag_item_letter_spacing',
|
1537 |
+
'std' => '0',
|
1538 |
+
'type' => 'slider',
|
1539 |
+
'refresh_on_change' => false,
|
1540 |
+
'affect_on_change_el' => '.dslc-pagination li a',
|
1541 |
+
'affect_on_change_rule' => 'letter-spacing',
|
1542 |
+
'section' => 'styling',
|
1543 |
+
'tab' => 'Pagination',
|
1544 |
+
'ext' => 'px',
|
1545 |
+
'min' => -50,
|
1546 |
+
'max' => 50
|
1547 |
+
),
|
1548 |
+
array(
|
1549 |
+
'label' => 'Item - Padding Vertical',
|
1550 |
+
'id' => 'css_pag_item_padding_vertical',
|
1551 |
+
'std' => '12',
|
1552 |
+
'type' => 'slider',
|
1553 |
+
'refresh_on_change' => false,
|
1554 |
+
'affect_on_change_el' => '.dslc-pagination li a',
|
1555 |
+
'affect_on_change_rule' => 'padding-top,padding-bottom',
|
1556 |
+
'section' => 'styling',
|
1557 |
+
'ext' => 'px',
|
1558 |
+
'tab' => 'Pagination'
|
1559 |
+
),
|
1560 |
+
array(
|
1561 |
+
'label' => 'Item - Padding Horizontal',
|
1562 |
+
'id' => 'css_pag_item_padding_horizontal',
|
1563 |
+
'std' => '12',
|
1564 |
+
'type' => 'slider',
|
1565 |
+
'refresh_on_change' => false,
|
1566 |
+
'affect_on_change_el' => '.dslc-pagination li a',
|
1567 |
+
'affect_on_change_rule' => 'padding-left,padding-right',
|
1568 |
+
'section' => 'styling',
|
1569 |
+
'ext' => 'px',
|
1570 |
+
'tab' => 'Pagination'
|
1571 |
+
),
|
1572 |
+
array(
|
1573 |
+
'label' => 'Item - Spacing',
|
1574 |
+
'id' => 'css_pag_item_spacing',
|
1575 |
+
'std' => '10',
|
1576 |
+
'type' => 'slider',
|
1577 |
+
'refresh_on_change' => false,
|
1578 |
+
'affect_on_change_el' => '.dslc-pagination li',
|
1579 |
+
'affect_on_change_rule' => 'margin-right',
|
1580 |
+
'section' => 'styling',
|
1581 |
+
'ext' => 'px',
|
1582 |
+
'tab' => 'Pagination'
|
1583 |
+
),
|
1584 |
+
|
1585 |
+
);
|
1586 |
+
|
1587 |
+
/**
|
1588 |
+
* Responsive
|
1589 |
+
*/
|
1590 |
+
$res_posts_options = array(
|
1591 |
+
|
1592 |
+
/**
|
1593 |
+
* Smaller Monitor
|
1594 |
+
*/
|
1595 |
+
|
1596 |
+
array(
|
1597 |
+
'label' => 'Posts Per Row',
|
1598 |
+
'id' => 'res_sm_columns',
|
1599 |
+
'std' => 'auto',
|
1600 |
+
'type' => 'select',
|
1601 |
+
'choices' => array(
|
1602 |
+
array(
|
1603 |
+
'label' => 'Automatic',
|
1604 |
+
'value' => 'auto',
|
1605 |
+
),
|
1606 |
+
array(
|
1607 |
+
'label' => '1',
|
1608 |
+
'value' => '12',
|
1609 |
+
),
|
1610 |
+
array(
|
1611 |
+
'label' => '2',
|
1612 |
+
'value' => '6',
|
1613 |
+
),
|
1614 |
+
array(
|
1615 |
+
'label' => '3',
|
1616 |
+
'value' => '4',
|
1617 |
+
),
|
1618 |
+
array(
|
1619 |
+
'label' => '4',
|
1620 |
+
'value' => '3',
|
1621 |
+
),
|
1622 |
+
array(
|
1623 |
+
'label' => '6',
|
1624 |
+
'value' => '2',
|
1625 |
+
),
|
1626 |
+
),
|
1627 |
+
'tab' => 'smaller monitor',
|
1628 |
+
'section' => 'responsive'
|
1629 |
+
),
|
1630 |
+
array(
|
1631 |
+
'label' => 'Thumbnail',
|
1632 |
+
'id' => 'res_sm_thumb',
|
1633 |
+
'std' => 'block',
|
1634 |
+
'type' => 'select',
|
1635 |
+
'choices' => array(
|
1636 |
+
array(
|
1637 |
+
'label' => 'Enabled',
|
1638 |
+
'value' => 'block',
|
1639 |
+
),
|
1640 |
+
array(
|
1641 |
+
'label' => 'Disabled',
|
1642 |
+
'value' => 'none',
|
1643 |
+
),
|
1644 |
+
),
|
1645 |
+
'tab' => 'smaller monitor',
|
1646 |
+
'section' => 'responsive',
|
1647 |
+
'refresh_on_change' => false,
|
1648 |
+
'affect_on_change_rule' => 'display',
|
1649 |
+
'affect_on_change_el' => '.dslc-blog-post-thumb'
|
1650 |
+
),
|
1651 |
+
|
1652 |
+
/**
|
1653 |
+
* Tablet
|
1654 |
+
*/
|
1655 |
+
|
1656 |
+
array(
|
1657 |
+
'label' => 'Posts Per Row',
|
1658 |
+
'id' => 'res_tp_columns',
|
1659 |
+
'std' => 'auto',
|
1660 |
+
'type' => 'select',
|
1661 |
+
'choices' => array(
|
1662 |
+
array(
|
1663 |
+
'label' => 'Automatic',
|
1664 |
+
'value' => 'auto',
|
1665 |
+
),
|
1666 |
+
array(
|
1667 |
+
'label' => '1',
|
1668 |
+
'value' => '12',
|
1669 |
+
),
|
1670 |
+
array(
|
1671 |
+
'label' => '2',
|
1672 |
+
'value' => '6',
|
1673 |
+
),
|
1674 |
+
array(
|
1675 |
+
'label' => '3',
|
1676 |
+
'value' => '4',
|
1677 |
+
),
|
1678 |
+
array(
|
1679 |
+
'label' => '4',
|
1680 |
+
'value' => '3',
|
1681 |
+
),
|
1682 |
+
array(
|
1683 |
+
'label' => '6',
|
1684 |
+
'value' => '2',
|
1685 |
+
),
|
1686 |
+
),
|
1687 |
+
'tab' => 'tablet portrait',
|
1688 |
+
'section' => 'responsive'
|
1689 |
+
),
|
1690 |
+
|
1691 |
+
/**
|
1692 |
+
* Phone
|
1693 |
+
*/
|
1694 |
+
|
1695 |
+
array(
|
1696 |
+
'label' => 'Posts Per Row',
|
1697 |
+
'id' => 'res_p_columns',
|
1698 |
+
'std' => 'auto',
|
1699 |
+
'type' => 'select',
|
1700 |
+
'choices' => array(
|
1701 |
+
array(
|
1702 |
+
'label' => 'Automatic',
|
1703 |
+
'value' => 'auto',
|
1704 |
+
),
|
1705 |
+
array(
|
1706 |
+
'label' => '1',
|
1707 |
+
'value' => '12',
|
1708 |
+
),
|
1709 |
+
array(
|
1710 |
+
'label' => '2',
|
1711 |
+
'value' => '6',
|
1712 |
+
),
|
1713 |
+
array(
|
1714 |
+
'label' => '3',
|
1715 |
+
'value' => '4',
|
1716 |
+
),
|
1717 |
+
array(
|
1718 |
+
'label' => '4',
|
1719 |
+
'value' => '3',
|
1720 |
+
),
|
1721 |
+
array(
|
1722 |
+
'label' => '6',
|
1723 |
+
'value' => '2',
|
1724 |
+
),
|
1725 |
+
),
|
1726 |
+
'tab' => 'phone',
|
1727 |
+
'section' => 'responsive'
|
1728 |
+
),
|
1729 |
+
|
1730 |
+
);
|
1731 |
+
|
1732 |
+
return $$options_id;
|
1733 |
+
|
1734 |
+
}
|
1735 |
+
|
1736 |
+
/**
|
1737 |
+
* Declare module options
|
1738 |
+
*/
|
1739 |
+
function options() {
|
1740 |
+
die('Function "options" must be over-ridden in a sub-class (the module class).');
|
1741 |
+
}
|
1742 |
+
|
1743 |
+
/**
|
1744 |
+
* The front-end output of the module
|
1745 |
+
*/
|
1746 |
+
function output( $options ) {
|
1747 |
+
die('Function "output" must be over-ridden in a sub-class (the module class).');
|
1748 |
+
}
|
1749 |
+
|
1750 |
+
function module_start( $options ) {
|
1751 |
+
|
1752 |
+
global $dslc_should_filter;
|
1753 |
+
$dslc_should_filter = false;
|
1754 |
+
|
1755 |
+
if ( ! isset( $options['css_anim'] ) )
|
1756 |
+
$options['css_anim'] = 'none';
|
1757 |
+
|
1758 |
+
if ( ! isset( $options['css_anim_delay'] ) )
|
1759 |
+
$options['css_anim_delay'] = '0';
|
1760 |
+
|
1761 |
+
if ( ! isset( $options['css_anim_duration'] ) )
|
1762 |
+
$options['css_anim_duration'] = '650';
|
1763 |
+
|
1764 |
+
if ( ! isset( $options['css_anim_easing'] ) )
|
1765 |
+
$options['css_anim_easing'] = 'default';
|
1766 |
+
|
1767 |
+
$options['module_id'] = $this->module_id;
|
1768 |
+
|
1769 |
+
/**
|
1770 |
+
* Size Classes
|
1771 |
+
*/
|
1772 |
+
|
1773 |
+
$class_size_output = '';
|
1774 |
+
$data_attr_size = '12';
|
1775 |
+
|
1776 |
+
if ( isset( $options['dslc_m_size'] ) ) {
|
1777 |
+
$class_size_output .= ' dslc-col dslc-' . $options['dslc_m_size'] . '-col';
|
1778 |
+
$data_attr_size = $options['dslc_m_size'];
|
1779 |
+
}
|
1780 |
+
|
1781 |
+
if ( isset( $options['dslc_m_size_last'] ) && $options['dslc_m_size_last'] == 'yes' ) {
|
1782 |
+
$class_size_output .= ' dslc-last-col';
|
1783 |
+
}
|
1784 |
+
|
1785 |
+
/**
|
1786 |
+
* Show on ( desktop, tablet, phone )
|
1787 |
+
*/
|
1788 |
+
|
1789 |
+
$class_show_on = '';
|
1790 |
+
if ( isset( $options['css_show_on'] ) ) {
|
1791 |
+
|
1792 |
+
$show_on = explode( ' ', trim( $options['css_show_on'] ) );
|
1793 |
+
|
1794 |
+
if ( ! in_array( 'desktop', $show_on ) )
|
1795 |
+
$class_show_on .= 'dslc-hide-on-desktop ';
|
1796 |
+
|
1797 |
+
if ( ! in_array( 'tablet', $show_on ) )
|
1798 |
+
$class_show_on .= 'dslc-hide-on-tablet ';
|
1799 |
+
|
1800 |
+
if ( ! in_array( 'phone', $show_on ) )
|
1801 |
+
$class_show_on .= 'dslc-hide-on-phone ';
|
1802 |
+
|
1803 |
+
}
|
1804 |
+
|
1805 |
+
/**
|
1806 |
+
* Handle like
|
1807 |
+
*/
|
1808 |
+
|
1809 |
+
if ( isset( $this->handle_like ) )
|
1810 |
+
$class_handle_like = 'dslc-module-handle-like-' . $this->handle_like;
|
1811 |
+
else
|
1812 |
+
$class_handle_like = 'dslc-module-handle-like-regular';
|
1813 |
+
|
1814 |
+
/**
|
1815 |
+
* Globals
|
1816 |
+
*/
|
1817 |
+
|
1818 |
+
global $dslc_css_style;
|
1819 |
+
global $dslc_googlefonts_array;
|
1820 |
+
global $dslc_all_googlefonts_array;
|
1821 |
+
|
1822 |
+
/**
|
1823 |
+
* Title Attr
|
1824 |
+
*/
|
1825 |
+
|
1826 |
+
$title_attr = '';
|
1827 |
+
if ( dslc_is_editor_active() ) {
|
1828 |
+
$title_attr = 'title="' . strtoupper( esc_attr( $this->module_title ) ) .'"';
|
1829 |
+
}
|
1830 |
+
|
1831 |
+
/**
|
1832 |
+
* Option Preset
|
1833 |
+
*/
|
1834 |
+
|
1835 |
+
if ( ! isset( $options['css_load_preset'] ) ) {
|
1836 |
+
$options['css_load_preset'] = '';
|
1837 |
+
}
|
1838 |
+
|
1839 |
+
// Module class array
|
1840 |
+
$module_class_arr = array();
|
1841 |
+
$module_class_arr[] = 'dslc-module-front';
|
1842 |
+
$module_class_arr[] = 'dslc-module-' . $this->module_id;
|
1843 |
+
$module_class_arr[] = 'dslc-in-viewport-check';
|
1844 |
+
$module_class_arr[] = 'dslc-in-viewport-anim-'. $options['css_anim'];
|
1845 |
+
$module_class_arr[] = $class_size_output;
|
1846 |
+
$module_class_arr[] = $class_show_on;
|
1847 |
+
$module_class_arr[] = $class_handle_like;
|
1848 |
+
|
1849 |
+
// Module class array apply filters
|
1850 |
+
$module_class_arr = apply_filters( 'dslc_module_class', $module_class_arr, $this->module_id, $options );
|
1851 |
+
|
1852 |
+
// Turn module class array into string
|
1853 |
+
$module_class = '';
|
1854 |
+
foreach ( $module_class_arr as $module_class_inst ) {
|
1855 |
+
$module_class .= $module_class_inst . ' ';
|
1856 |
+
}
|
1857 |
+
|
1858 |
+
?>
|
1859 |
+
|
1860 |
+
<div id="dslc-module-<?php echo $options['module_instance_id']; ?>" class="<?php echo $module_class; ?>" data-module-id="<?php echo $options['module_instance_id']; ?>" data-dslc-module-id="<?php echo $this->module_id; ?>" data-dslc-module-size="<?php echo $data_attr_size ?>" data-dslc-anim="<?php echo $options['css_anim'] ?>" data-dslc-anim-delay="<?php echo $options['css_anim_delay']; ?>" data-dslc-anim-duration="<?php echo $options['css_anim_duration']; ?>" data-dslc-anim-easing="<?php echo $options['css_anim_easing']; ?>" data-dslc-preset="<?php echo $options['css_load_preset']; ?>" <?php echo $title_attr; ?>>
|
1861 |
+
|
1862 |
+
<?php do_action( 'dslc_module_before' ); ?>
|
1863 |
+
|
1864 |
+
<?php if ( DS_LIVE_COMPOSER_ACTIVE && is_user_logged_in() && current_user_can( DS_LIVE_COMPOSER_CAPABILITY ) ) : ?>
|
1865 |
+
|
1866 |
+
<style><?php
|
1867 |
+
|
1868 |
+
$options_arr = $this->options();
|
1869 |
+
|
1870 |
+
if ( isset( $options['css_custom'] ) && $options['css_custom'] == 'disabled' ) {
|
1871 |
+
|
1872 |
+
|
1873 |
+
|
1874 |
+
} else {
|
1875 |
+
|
1876 |
+
dslc_generate_custom_css( $options_arr, $options, true );
|
1877 |
+
$googlefonts_output = '';
|
1878 |
+
foreach ( $dslc_googlefonts_array as $googlefont) {
|
1879 |
+
if ( in_array( $googlefont, $dslc_all_googlefonts_array ) ) {
|
1880 |
+
$googlefont = str_replace( ' ', '+', $googlefont );
|
1881 |
+
if ( $googlefont != '' ) {
|
1882 |
+
$googlefonts_output .= '@import url("//fonts.googleapis.com/css?family=' . $googlefont . ':100,200,300,400,500,600,700,800,900&subset=latin,latin-ext"); ';
|
1883 |
+
}
|
1884 |
+
}
|
1885 |
+
}
|
1886 |
+
echo $googlefonts_output;
|
1887 |
+
echo $dslc_css_style;
|
1888 |
+
|
1889 |
+
}
|
1890 |
+
|
1891 |
+
?></style>
|
1892 |
+
|
1893 |
+
<div class="dslca-module-manage">
|
1894 |
+
<span class="dslca-module-manage-line"></span>
|
1895 |
+
<div class="dslca-module-manage-inner">
|
1896 |
+
<span class="dslca-module-manage-hook dslca-module-edit-hook"><span class="dslc-icon-cog"></span></span>
|
1897 |
+
<span class="dslca-module-manage-hook dslca-copy-module-hook"><span class="dslc-icon-copy"></span></span>
|
1898 |
+
<span class="dslca-module-manage-hook dslca-move-module-hook"><span class="dslc-icon-move"></span></span>
|
1899 |
+
<span class="dslca-module-manage-hook dslca-change-width-module-hook">
|
1900 |
+
<span class="dslc-icon-columns"></span>
|
1901 |
+
<div class="dslca-change-width-module-options">
|
1902 |
+
<span data-size="1">1/12</span><span data-size="2">2/12</span>
|
1903 |
+
<span data-size="3">3/12</span><span data-size="4">4/12</span>
|
1904 |
+
<span data-size="5">5/12</span><span data-size="6">6/12</span>
|
1905 |
+
<span data-size="7">7/12</span><span data-size="8">8/12</span>
|
1906 |
+
<span data-size="9">9/12</span><span data-size="10">10/12</span>
|
1907 |
+
<span data-size="11">11/12</span><span data-size="12">12/12</span>
|
1908 |
+
</div>
|
1909 |
+
</span>
|
1910 |
+
<span class="dslca-module-manage-hook dslca-delete-module-hook"><span class="dslc-icon-remove"></span></span>
|
1911 |
+
</div>
|
1912 |
+
<?php if ( DS_LIVE_COMPOSER_DEV_MODE ) : ?>
|
1913 |
+
<div class="dslca-module-manage-inner dslca-dev-mode">
|
1914 |
+
<span class="dslca-module-manage-hook dslca-module-get-defaults-hook"><span class="dslc-icon-upload-alt"></span></span>
|
1915 |
+
</div>
|
1916 |
+
<?php endif; ?>
|
1917 |
+
</div>
|
1918 |
+
|
1919 |
+
<?php endif; ?>
|
1920 |
+
|
1921 |
+
<?php
|
1922 |
+
}
|
1923 |
+
|
1924 |
+
function module_end( $user_options ) {
|
1925 |
+
|
1926 |
+
// Get options array
|
1927 |
+
$options = $this->options();
|
1928 |
+
|
1929 |
+
// Bring back IDs for image options
|
1930 |
+
global $dslc_var_image_option_bckp;
|
1931 |
+
foreach ( $dslc_var_image_option_bckp as $key => $value ) {
|
1932 |
+
$user_options[$key] = $value;
|
1933 |
+
}
|
1934 |
+
|
1935 |
+
// Other vars
|
1936 |
+
$user_options['module_id'] = $this->module_id;
|
1937 |
+
if ( ! isset( $user_options['dslc_m_size'] ) ) $user_options['dslc_m_size'] = '12';
|
1938 |
+
$option_ids = array();
|
1939 |
+
$user_options_no_defaults = $user_options;
|
1940 |
+
|
1941 |
+
?>
|
1942 |
+
|
1943 |
+
<?php if ( DS_LIVE_COMPOSER_ACTIVE && is_user_logged_in() && current_user_can( DS_LIVE_COMPOSER_CAPABILITY ) ) : ?>
|
1944 |
+
|
1945 |
+
<div class="dslca-module-options-front">
|
1946 |
+
|
1947 |
+
<?php foreach ( $options as $key => $option ) : ?>
|
1948 |
+
|
1949 |
+
<?php
|
1950 |
+
|
1951 |
+
// Option ID
|
1952 |
+
$option_id = $option['id'];
|
1953 |
+
$options_ids[] = $option['id'];
|
1954 |
+
|
1955 |
+
// If value already set use it, if not use default
|
1956 |
+
if ( isset( $user_options[ $option_id ] ) )
|
1957 |
+
$option_value = $user_options[ $option_id ];
|
1958 |
+
else
|
1959 |
+
$option_value = $option['std'];
|
1960 |
+
|
1961 |
+
if ( isset( $user_options[ $option_id ] ) && $user_options[ $option_id ] == $option['std'] ) {
|
1962 |
+
unset( $user_options_no_defaults[ $option_id ] );
|
1963 |
+
}
|
1964 |
+
|
1965 |
+
?>
|
1966 |
+
|
1967 |
+
<textarea class="dslca-module-option-front" data-id="<?php echo $option_id; ?>"><?php echo stripslashes ( $option_value ); ?></textarea>
|
1968 |
+
|
1969 |
+
<?php endforeach; ?>
|
1970 |
+
|
1971 |
+
<?php foreach ( $user_options as $user_option_id => $user_option_val ) : ?>
|
1972 |
+
|
1973 |
+
<?php if ( ! in_array( $user_option_id, $options_ids ) ) : ?>
|
1974 |
+
|
1975 |
+
<textarea class="dslca-module-option-front" data-id="<?php echo $user_option_id; ?>"><?php echo stripslashes( $user_option_val ); ?></textarea>
|
1976 |
+
|
1977 |
+
<?php endif; ?>
|
1978 |
+
|
1979 |
+
<?php endforeach; ?>
|
1980 |
+
|
1981 |
+
</div><!-- dslca-module-options-front -->
|
1982 |
+
|
1983 |
+
<textarea class="dslca-module-code"><?php echo base64_encode( serialize($user_options_no_defaults ) ); ?></textarea>
|
1984 |
+
|
1985 |
+
<span class="dslc-sortable-helper-icon dslc-icon-<?php echo $this->module_icon; ?>" data-title="<?php echo $this->module_title; ?>" data-icon="<?php echo $this->module_icon; ?>"></span>
|
1986 |
+
|
1987 |
+
<?php endif; ?>
|
1988 |
+
|
1989 |
+
<?php do_action( 'dslc_module_after' ); ?>
|
1990 |
+
|
1991 |
+
</div><!-- .dslc-module -->
|
1992 |
+
<?php
|
1993 |
+
|
1994 |
+
global $dslc_should_filter;
|
1995 |
+
$dslc_should_filter = true;
|
1996 |
+
|
1997 |
+
}
|
1998 |
+
|
1999 |
+
function presets_options() {
|
2000 |
+
|
2001 |
+
$choices = array(
|
2002 |
+
array(
|
2003 |
+
'label' => 'None',
|
2004 |
+
'value' => 'none',
|
2005 |
+
),
|
2006 |
+
);
|
2007 |
+
|
2008 |
+
// Get current presets
|
2009 |
+
$presets = get_option( 'dslc_presets' );
|
2010 |
+
if ( $presets === false ) {
|
2011 |
+
$presets = array();
|
2012 |
+
} else {
|
2013 |
+
$presets = maybe_unserialize( $presets );
|
2014 |
+
foreach( $presets as $preset ) {
|
2015 |
+
if ( $preset['module'] == $this->module_id ) {
|
2016 |
+
$choices[] = array(
|
2017 |
+
'label' => $preset['title'],
|
2018 |
+
'value' => $preset['id']
|
2019 |
+
);
|
2020 |
+
}
|
2021 |
+
}
|
2022 |
+
}
|
2023 |
+
|
2024 |
+
$options = array(
|
2025 |
+
array(
|
2026 |
+
'label' => __( 'Preset', 'live-composer-page-builder' ),
|
2027 |
+
'id' => 'css_load_preset',
|
2028 |
+
'std' => 'none',
|
2029 |
+
'type' => 'select',
|
2030 |
+
'section' => 'styling',
|
2031 |
+
'tab' => 'presets',
|
2032 |
+
'choices' => $choices,
|
2033 |
+
),
|
2034 |
+
array(
|
2035 |
+
'label' => __( 'Register New Preset', 'live-composer-page-builder' ),
|
2036 |
+
'id' => 'css_save_preset',
|
2037 |
+
'std' => '',
|
2038 |
+
'type' => 'text',
|
2039 |
+
'section' => 'styling',
|
2040 |
+
'tab' => 'presets',
|
2041 |
+
'refresh_on_change' => false,
|
2042 |
+
'help' => __( 'Type in the name of the preset and hit enter,<br>it will automatically be added to the presets on the left.', 'live-composer-page-builder' ),
|
2043 |
+
),
|
2044 |
+
);
|
2045 |
+
|
2046 |
+
return $options;
|
2047 |
+
|
2048 |
+
}
|
2049 |
+
|
2050 |
}
|
includes/display-functions.php
CHANGED
@@ -1,1534 +1,1535 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
/**
|
4 |
-
* Table of Contents
|
5 |
-
*
|
6 |
-
* - dslc_display_composer ( Displays the composer code in the front-end )
|
7 |
-
* - dslc_get_modules ( Returns an array of active modules )
|
8 |
-
* - dslc_sort_alphabetically ( Sorts an array alphabetically )
|
9 |
-
* - dslc_display_modules ( Displays a list of active modules )
|
10 |
-
* - dslc_display_templates ( Displays a list of active templates )
|
11 |
-
* - dslc_filter_content ( Filters the_content() to show composer output )
|
12 |
-
* - dslc_module_front ( Returns front-end output of a specific module )
|
13 |
-
* - dslc_custom_css ( Generates Custom CSS for the show page )
|
14 |
-
*/
|
15 |
-
|
16 |
-
|
17 |
-
/**
|
18 |
-
* Display the composer
|
19 |
-
*
|
20 |
-
* @since 1.0
|
21 |
-
*/
|
22 |
-
|
23 |
-
function dslc_display_composer() {
|
24 |
-
|
25 |
-
global $dslc_active;
|
26 |
-
|
27 |
-
// Reset the query ( because some devs leave their queries non-reseted )
|
28 |
-
wp_reset_query();
|
29 |
-
|
30 |
-
// Show the composer to users who are allowed to view it
|
31 |
-
if ( $dslc_active && is_user_logged_in() && current_user_can( DS_LIVE_COMPOSER_CAPABILITY ) ) :
|
32 |
-
|
33 |
-
$default_section = dslc_get_option( 'lc_default_opts_section', 'dslc_plugin_options_other' );
|
34 |
-
if ( empty( $default_section ) )
|
35 |
-
$default_section = 'functionality';
|
36 |
-
|
37 |
-
?>
|
38 |
-
|
39 |
-
<div class="dslca-container dslca-state-off" data-post-id="<?php the_ID(); ?>">
|
40 |
-
|
41 |
-
<div class="dslca-header dslc-clearfix" data-default-section="<?php echo $default_section; ?>">
|
42 |
-
|
43 |
-
<!-- Currently Editing -->
|
44 |
-
<span class="dslca-currently-editing"><span class="dslca-icon dslc-icon-info"></span>Currently Editing: <strong></strong></span>
|
45 |
-
|
46 |
-
<!-- Tabs -->
|
47 |
-
<span class="dslca-go-to-section-hook dslca-go-to-section-modules dslca-active" data-section=".dslca-modules"><span class="dslca-icon dslc-icon-list"></span></span>
|
48 |
-
<span class="dslca-go-to-section-hook dslca-go-to-section-templates" data-section=".dslca-templates"><span class="dslca-icon dslc-icon-bookmark"></span></span>
|
49 |
-
|
50 |
-
<!-- Module Option filters -->
|
51 |
-
<span class="dslca-options-filter-hook" data-section="functionality"><span class="dslca-icon dslc-icon-cog"></span> <?php _e( 'FUNCTIONALITY', 'live-composer-page-builder' ); ?></span>
|
52 |
-
<span class="dslca-options-filter-hook" data-section="styling"><span class="dslca-icon dslc-icon-tint"></span> <?php _e( 'STYLING', 'live-composer-page-builder' ); ?></span>
|
53 |
-
<span class="dslca-options-filter-hook" data-section="responsive"><span class="dslca-icon dslc-icon-mobile-phone"></span> <?php _e( 'RESPONSIVE', 'live-composer-page-builder' ); ?></span>
|
54 |
-
|
55 |
-
<!-- Module Options Actions -->
|
56 |
-
<div class="dslca-module-edit-actions">
|
57 |
-
<span class="dslca-module-edit-save"><?php _e( 'CONFIRM', 'live-composer-page-builder' ); ?></span>
|
58 |
-
<span class="dslca-module-edit-cancel"><?php _e( 'CANCEL', 'live-composer-page-builder' ); ?></span>
|
59 |
-
</div><!-- .dslca-module-edit-actions -->
|
60 |
-
|
61 |
-
<!-- Row Options Filters -->
|
62 |
-
<?php /*
|
63 |
-
<span class="dslca-row-options-filter-hook" data-section="styling"><span class="dslca-icon dslc-icon-tint"></span> <?php _e( 'STYLING', 'live-composer-page-builder' ); ?></span>
|
64 |
-
<span class="dslca-row-options-filter-hook" data-section="responsive"><span class="dslca-icon dslc-icon-mobile-phone"></span> <?php _e( 'RESPONSIVE', 'live-composer-page-builder' ); ?></span>
|
65 |
-
*/ ?>
|
66 |
-
|
67 |
-
<!-- Row Options Actions -->
|
68 |
-
<div class="dslca-row-edit-actions">
|
69 |
-
<span class="dslca-row-edit-save"><?php _e( 'CONFIRM', 'live-composer-page-builder' ); ?></span>
|
70 |
-
<span class="dslca-row-edit-cancel"><?php _e( 'CANCEL', 'live-composer-page-builder' ); ?></span>
|
71 |
-
</div><!-- .dslca-row-edit-actions -->
|
72 |
-
|
73 |
-
</div><!-- .dslca-header -->
|
74 |
-
|
75 |
-
<div class="dslca-actions">
|
76 |
-
|
77 |
-
<!-- Save Composer -->
|
78 |
-
<div class="dslca-save-composer dslca-save-composer-hook">
|
79 |
-
<span class="dslca-save-composer-helptext"><?php _e( 'PUBLISH CHANGES', 'live-composer-page-builder' ); ?></span>
|
80 |
-
<span class="dslca-save-composer-icon"><span class="dslca-icon dslc-icon-ok"></span></span>
|
81 |
-
</div><!-- .dslca-save-composer -->
|
82 |
-
|
83 |
-
<div class="dslca-save-draft-composer dslca-save-draft-composer-hook">
|
84 |
-
<span class="dslca-save-draft-composer-helptext"><?php _e( 'SAVE AS DRAFT', 'live-composer-page-builder' ); ?></span>
|
85 |
-
<span class="dslca-save-draft-composer-icon"><span class="dslca-icon dslc-icon-save"></span></span>
|
86 |
-
</div><!-- .dslca-save-draft-composer -->
|
87 |
-
|
88 |
-
<!-- Hide/Show -->
|
89 |
-
<span class="dslca-show-composer-hook"><span class="dslca-icon dslc-icon-arrow-up"></span><?php _e( 'SHOW EDITOR', 'live-composer-page-builder' ); ?></span>
|
90 |
-
<span class="dslca-hide-composer-hook"><span class="dslca-icon dslc-icon-arrow-down"></span><?php _e( 'HIDE EDITOR', 'live-composer-page-builder' ); ?></span>
|
91 |
-
|
92 |
-
<!-- Disable -->
|
93 |
-
<a href="<?php the_permalink(); ?>" class="dslca-close-composer-hook"><span class="dslca-icon dslc-icon-remove"></span><?php _e( 'DISABLE EDITOR', 'live-composer-page-builder' ); ?></a>
|
94 |
-
|
95 |
-
<div class="dslc-clear"></div>
|
96 |
-
|
97 |
-
</div><!-- .dslca-actions -->
|
98 |
-
|
99 |
-
<div class="dslca-sections">
|
100 |
-
|
101 |
-
<!-- Modules Listing -->
|
102 |
-
<div class="dslca-section dslca-modules" data-bg="#5890e5">
|
103 |
-
|
104 |
-
<div class="dslca-section-title">
|
105 |
-
<div class="dslca-section-title-filter">
|
106 |
-
<span class="dslca-section-title-filter-curr"><?php _e( 'ALL MODULES', 'live-composer-page-builder' ); ?></span>
|
107 |
-
<span class="dslca-icon dslc-icon-angle-up"></span>
|
108 |
-
<div class="dslca-section-title-filter-options"></div>
|
109 |
-
</div><!-- .dslca-section-title-filter -->
|
110 |
-
</div><!-- .dslca-section-title -->
|
111 |
-
|
112 |
-
<div class="dslca-section-scroller">
|
113 |
-
<div class="dslca-section-scroller-inner">
|
114 |
-
<div class="dslca-section-scroller-content">
|
115 |
-
<?php dslc_display_modules(); ?>
|
116 |
-
</div><!-- .dslca-section-scroller-content -->
|
117 |
-
</div><!-- .dslca-section-scroller-inner -->
|
118 |
-
</div><!-- .dslca-section-scroller-content -->
|
119 |
-
|
120 |
-
<div class="dslca-section-scroller-fade"></div>
|
121 |
-
|
122 |
-
<div class="dslca-section-scroller-nav">
|
123 |
-
<a href="#" class="dslca-section-scroller-prev"><span class="dslca-icon dslc-icon-angle-left"></span></a>
|
124 |
-
<a href="#" class="dslca-section-scroller-next"><span class="dslca-icon dslc-icon-angle-right"></span></a>
|
125 |
-
</div><!-- .dslca-section-scroller -->
|
126 |
-
|
127 |
-
</div><!-- .dslca-modules -->
|
128 |
-
|
129 |
-
<!-- Module Edit -->
|
130 |
-
|
131 |
-
<div class="dslca-section dslca-module-edit" data-bg="#5890e5">
|
132 |
-
|
133 |
-
<form class="dslca-module-edit-form">
|
134 |
-
<?php do_action( 'dslc_options_prepend' ); ?>
|
135 |
-
<div class="dslca-module-edit-options dslc-clearfix">
|
136 |
-
<div class="dslca-module-edit-options-tabs"></div>
|
137 |
-
<div class="dslca-module-edit-options-inner"></div>
|
138 |
-
</div>
|
139 |
-
<?php do_action( 'dslc_options_append' ); ?>
|
140 |
-
</form>
|
141 |
-
|
142 |
-
</div><!-- .dslca-module-edit -->
|
143 |
-
|
144 |
-
<!-- Module Section Edit -->
|
145 |
-
|
146 |
-
<div class="dslca-section dslca-modules-section-edit" data-bg="#5890e5">
|
147 |
-
|
148 |
-
<form class="dslca-modules-section-edit-form">
|
149 |
-
|
150 |
-
<div class="dslca-modules-section-edit-options dslc-clearfix">
|
151 |
-
|
152 |
-
<div class="dslca-modules-section-edit-options-inner">
|
153 |
-
|
154 |
-
<div class="dslca-modules-section-edit-options-wrapper dslc-clearfix">
|
155 |
-
|
156 |
-
<?php dslc_row_display_options(); ?>
|
157 |
-
|
158 |
-
</div><!-- .dslca-modules-section-edit-options-wrapper -->
|
159 |
-
|
160 |
-
</div><!-- .dslca-modules-section-edit-options-inner -->
|
161 |
-
|
162 |
-
</div><!-- .dslca-modules-section-edit-options -->
|
163 |
-
|
164 |
-
</form><!-- .dslca-modules-section-edit-form -->
|
165 |
-
|
166 |
-
</div><!-- .dslca-module-section-edit -->
|
167 |
-
|
168 |
-
<!-- Module Templates -->
|
169 |
-
|
170 |
-
<div class="dslca-section dslca-templates dslc-clearfix" data-bg="#ca564f">
|
171 |
-
|
172 |
-
<div class="dslca-section-title">
|
173 |
-
<?php _e( 'TEMPLATES', 'live-composer-page-builder' ); ?>
|
174 |
-
</div><!-- .dslca-section-title -->
|
175 |
-
|
176 |
-
<span class="dslca-go-to-section-hook" data-section=".dslca-templates-load"><span class="dslca-icon dslc-icon-circle-arrow-down"></span><?php _e( 'Load', 'live-composer-page-builder' ); ?></span>
|
177 |
-
<span class="dslca-open-modal-hook" data-modal=".dslca-modal-templates-save"><span class="dslca-icon dslc-icon-save"></span><?php _e( 'Save', 'live-composer-page-builder' ); ?></span>
|
178 |
-
<span class="dslca-open-modal-hook" data-modal=".dslca-modal-templates-import"><span class="dslca-icon dslc-icon-download-alt"></span><?php _e( 'Import', 'live-composer-page-builder' ); ?></span>
|
179 |
-
<span class="dslca-open-modal-hook" data-modal=".dslca-modal-templates-export"><span class="dslca-icon dslc-icon-upload-alt"></span><?php _e( 'Export', 'live-composer-page-builder' ); ?></span>
|
180 |
-
|
181 |
-
<div class="dslca-modal dslca-modal-templates-save" data-bg="#ca564f">
|
182 |
-
|
183 |
-
<form class="dslca-template-save-form">
|
184 |
-
<input type="text" id="dslca-save-template-title" placeholder="<?php _e( 'Name of the template', 'live-composer-page-builder' ); ?>">
|
185 |
-
<span class="dslca-submit"><?php _e( 'SAVE', 'live-composer-page-builder' ); ?></span>
|
186 |
-
<span class="dslca-cancel dslca-close-modal-hook" data-modal=".dslca-modal-templates-save"><?php _e( 'CANCEL', 'live-composer-page-builder' ); ?></span>
|
187 |
-
</form>
|
188 |
-
|
189 |
-
</div><!-- .dslca-modal -->
|
190 |
-
|
191 |
-
<div class="dslca-modal dslca-modal-templates-export" data-bg="#ca564f">
|
192 |
-
|
193 |
-
<form class="dslca-template-export-form">
|
194 |
-
<textarea id="dslca-export-code"></textarea>
|
195 |
-
<span class="dslca-cancel dslca-close-modal-hook" data-modal=".dslca-modal-templates-export"><?php _e( 'CLOSE', 'live-composer-page-builder' ); ?></span>
|
196 |
-
</form>
|
197 |
-
|
198 |
-
</div><!-- .dslca-modal -->
|
199 |
-
|
200 |
-
<div class="dslca-modal dslca-modal-templates-import" data-bg="#ca564f">
|
201 |
-
|
202 |
-
<form class="dslca-template-import-form">
|
203 |
-
<textarea id="dslca-import-code" placeholder="<?php _e( 'Enter the exported code heree', 'live-composer-page-builder' ); ?>"></textarea>
|
204 |
-
<span class="dslca-submit">
|
205 |
-
<span class="dslca-modal-title"><?php _e( 'IMPORT', 'live-composer-page-builder' ); ?></span>
|
206 |
-
<div class="dslca-loading followingBallsGWrap">
|
207 |
-
<div class="followingBallsG_1 followingBallsG"></div>
|
208 |
-
<div class="followingBallsG_2 followingBallsG"></div>
|
209 |
-
<div class="followingBallsG_3 followingBallsG"></div>
|
210 |
-
<div class="followingBallsG_4 followingBallsG"></div>
|
211 |
-
</div>
|
212 |
-
</span>
|
213 |
-
<span class="dslca-cancel dslca-close-modal-hook" data-modal=".dslca-modal-templates-import"><?php _e( 'CANCEL', 'live-composer-page-builder' ); ?></span>
|
214 |
-
</form>
|
215 |
-
|
216 |
-
</div><!-- .dslca-modal -->
|
217 |
-
|
218 |
-
</div><!-- .dslca-section-templates -->
|
219 |
-
|
220 |
-
<!-- Module Template Load -->
|
221 |
-
|
222 |
-
<div class="dslca-section dslca-templates-load dslc-clearfix" data-bg="#ca564f">
|
223 |
-
|
224 |
-
<span class="dslca-go-to-section-hook dslca-section-back" data-section=".dslca-templates"><span class="dslca-icon dslc-icon-reply"></span></span>
|
225 |
-
|
226 |
-
<div class="dslca-section-title">
|
227 |
-
<div class="dslca-section-title-filter">
|
228 |
-
<span class="dslca-section-title-filter-curr"><?php _e( 'ALL TEMPLATES', 'live-composer-page-builder' ); ?></span>
|
229 |
-
<span class="dslca-icon dslc-icon-angle-up"></span>
|
230 |
-
<div class="dslca-section-title-filter-options"></div>
|
231 |
-
</div><!-- .dslca-section-title-filter -->
|
232 |
-
</div><!-- .dslca-section-title -->
|
233 |
-
|
234 |
-
<div class="dslca-section-scroller">
|
235 |
-
<div class="dslca-section-scroller-inner">
|
236 |
-
<div class="dslca-section-scroller-content">
|
237 |
-
<?php dslc_display_templates(); ?>
|
238 |
-
</div>
|
239 |
-
</div>
|
240 |
-
</div>
|
241 |
-
|
242 |
-
<div class="dslca-section-scroller-nav">
|
243 |
-
<span class="dslca-section-scroller-prev"><span class="dslca-icon dslc-icon-angle-left"></span></span>
|
244 |
-
<span class="dslca-section-scroller-next"><span class="dslca-icon dslc-icon-angle-right"></span></span>
|
245 |
-
</div><!-- .dslca-section-scroller -->
|
246 |
-
|
247 |
-
</div><!-- .dslca-templates-load -->
|
248 |
-
|
249 |
-
</div><!-- .dslca-sections -->
|
250 |
-
|
251 |
-
<!-- Module Template Export -->
|
252 |
-
|
253 |
-
<textarea id="dslca-code"></textarea>
|
254 |
-
<div class="dslca-module-options-front-backup"></div>
|
255 |
-
|
256 |
-
<div class="dslca-container-loader">
|
257 |
-
<div class="dslca-container-loader-inner followingBallsGWrap">
|
258 |
-
<div class="followingBallsG_1 followingBallsG"></div>
|
259 |
-
<div class="followingBallsG_2 followingBallsG"></div>
|
260 |
-
<div class="followingBallsG_3 followingBallsG"></div>
|
261 |
-
<div class="followingBallsG_4 followingBallsG"></div>
|
262 |
-
</div>
|
263 |
-
</div>
|
264 |
-
|
265 |
-
</div><!-- .dscla-container -->
|
266 |
-
|
267 |
-
<div class="dslca-prompt-modal">
|
268 |
-
|
269 |
-
<div class="dslca-prompt-modal-content">
|
270 |
-
|
271 |
-
<div class="dslca-prompt-modal-msg">
|
272 |
-
|
273 |
-
Message goes here
|
274 |
-
|
275 |
-
</div><!-- .dslca-prompt-modal-msg -->
|
276 |
-
|
277 |
-
<div class="dslca-prompt-modal-actions">
|
278 |
-
|
279 |
-
<a href="#" class="dslca-prompt-modal-confirm-hook"><span class="dslc-icon dslc-icon-ok"></span><?php _e( 'Confirm', 'live-composer-page-builder' ); ?></a>
|
280 |
-
<span class="dslca-prompt-modal-cancel-hook"><span class="dslc-icon dslc-icon-remove"></span><?php _e( 'Cancel', 'live-composer-page-builder' ); ?></span>
|
281 |
-
|
282 |
-
</div>
|
283 |
-
|
284 |
-
</div><!-- .dslca-prompt-modal-content -->
|
285 |
-
|
286 |
-
</div><!-- .dslca-prompt-modal -->
|
287 |
-
|
288 |
-
<div class="dslca-module-edit-field-icon-ttip">
|
289 |
-
<?php _e( 'Icons used in this plugin are from "Font Awesome".<br><a href="http://livecomposerplugin.com/icons-listing/" class="dslca-link" target="_blank">View full list of icons.</a>', 'live-composer-page-builder' ); ?>
|
290 |
-
<span class="dslca-module-edit-field-ttip-close"><span class="dslc-icon dslc-icon-remove"></span></span>
|
291 |
-
</div>
|
292 |
-
|
293 |
-
<div class="dslca-module-edit-field-ttip">
|
294 |
-
<span class="dslca-module-edit-field-ttip-close"><span class="dslc-icon dslc-icon-remove"></span></span>
|
295 |
-
<div class="dslca-module-edit-field-ttip-inner"></div>
|
296 |
-
</div>
|
297 |
-
|
298 |
-
<div class="dslca-module-edit-field-icon-switch-sets">
|
299 |
-
<?php
|
300 |
-
global $dslc_var_icons;
|
301 |
-
foreach ( $dslc_var_icons as $key => $value ) :
|
302 |
-
?><span data-set="<?php echo $key; ?>"><?php echo $key; ?></span><?php
|
303 |
-
endforeach;
|
304 |
-
?>
|
305 |
-
</div>
|
306 |
-
|
307 |
-
<div class="dslca-invisible-overlay"></div>
|
308 |
-
|
309 |
-
<?php
|
310 |
-
|
311 |
-
endif;
|
312 |
-
|
313 |
-
global $dslc_var_templates_pt;
|
314 |
-
|
315 |
-
// Get the position of the activation button
|
316 |
-
$activate_button_position = dslc_get_option( 'lc_module_activate_button_pos', 'dslc_plugin_options_other' );
|
317 |
-
if ( empty( $activate_button_position ) )
|
318 |
-
$activate_button_position = 'right';
|
319 |
-
|
320 |
-
// LC and WP Customizer do not work well together, don't proceed if customizer active
|
321 |
-
if ( ( ! function_exists( 'is_customize_preview' ) || ! is_customize_preview() ) ) :
|
322 |
-
|
323 |
-
// If editor not active and user can access the editor
|
324 |
-
if ( ! DS_LIVE_COMPOSER_ACTIVE && is_user_logged_in() && current_user_can( DS_LIVE_COMPOSER_CAPABILITY ) ) :
|
325 |
-
|
326 |
-
// If a singular page ( posts and pages )
|
327 |
-
if ( is_singular() ) {
|
328 |
-
|
329 |
-
// If a page or a template go ahead normally
|
330 |
-
if ( is_page() || get_post_type() == 'dslc_templates' || ! isset( $dslc_var_templates_pt[get_post_type()] ) ) {
|
331 |
-
|
332 |
-
?><a href="<?php echo add_query_arg( array( 'dslc' => 'active' ), get_permalink() ); ?>" class="dslca-activate-composer-hook dslca-position-<?php echo $activate_button_position; ?>"><?php _e( 'ACTIVATE EDITOR', 'live-composer-page-builder' ); ?></a><?php
|
333 |
-
|
334 |
-
// If not a page or a template post type
|
335 |
-
} else {
|
336 |
-
|
337 |
-
// Check if it has a template attached to it
|
338 |
-
$template = dslc_st_get_template_ID( get_the_ID() );
|
339 |
-
|
340 |
-
if ( $template ) {
|
341 |
-
|
342 |
-
?><a target="_blank" href="<?php echo add_query_arg( array( 'dslc' => 'active' ), get_permalink( $template ) ); ?>" class="dslca-activate-composer-hook"><?php _e( 'EDIT TEMPLATE', 'live-composer-page-builder' ); ?></a><?php
|
343 |
-
|
344 |
-
} else {
|
345 |
-
|
346 |
-
?><a target="_blank" href="<?php echo admin_url( 'post-new.php?post_type=dslc_templates' ); ?>" class="dslca-activate-composer-hook"><?php _e( 'CREATE TEMPLATE', 'live-composer-page-builder' ); ?></a><?php
|
347 |
-
|
348 |
-
}
|
349 |
-
|
350 |
-
}
|
351 |
-
|
352 |
-
// If a 404 page
|
353 |
-
} elseif ( is_404() ) {
|
354 |
-
|
355 |
-
// Get ID of the page set to power the 404 page
|
356 |
-
$template_ID = dslc_get_option( '404_page', 'dslc_plugin_options_archives' );
|
357 |
-
|
358 |
-
// If there is a page that powers it
|
359 |
-
if ( $template_ID != 'none' ) {
|
360 |
-
|
361 |
-
// Output the button
|
362 |
-
?><a href="<?php echo add_query_arg( array( 'dslc' => 'active' ), get_permalink( $template_ID ) ); ?>" class="dslca-activate-composer-hook dslca-position-<?php echo $activate_button_position; ?>"><?php _e( 'ACTIVATE EDITOR', 'live-composer-page-builder' ); ?></a><?php
|
363 |
-
|
364 |
-
}
|
365 |
-
|
366 |
-
// If a search results page
|
367 |
-
} elseif ( is_search() ) {
|
368 |
-
|
369 |
-
// Get ID of the page set to power the search results page
|
370 |
-
$template_ID = dslc_get_option( 'search_results', 'dslc_plugin_options_archives' );
|
371 |
-
|
372 |
-
// If there is a page that powers it
|
373 |
-
if ( $template_ID != 'none' ) {
|
374 |
-
|
375 |
-
// Output the button
|
376 |
-
?><a href="<?php echo add_query_arg( array( 'dslc' => 'active' ), get_permalink( $template_ID ) ); ?>" class="dslca-activate-composer-hook dslca-position-<?php echo $activate_button_position; ?>"><?php _e( 'ACTIVATE EDITOR', 'live-composer-page-builder' ); ?></a><?php
|
377 |
-
|
378 |
-
}
|
379 |
-
|
380 |
-
// If authors archives page
|
381 |
-
} elseif ( is_author() ) {
|
382 |
-
|
383 |
-
// Get ID of the page set to power the author archives
|
384 |
-
$template_ID = dslc_get_option( 'author', 'dslc_plugin_options_archives' );
|
385 |
-
|
386 |
-
// If there is a page that powers it
|
387 |
-
if ( $template_ID != 'none' ) {
|
388 |
-
|
389 |
-
// Output the button
|
390 |
-
?><a href="<?php echo add_query_arg( array( 'dslc' => 'active' ), get_permalink( $template_ID ) ); ?>" class="dslca-activate-composer-hook dslca-position-<?php echo $activate_button_position; ?>"><?php _e( 'ACTIVATE EDITOR', 'live-composer-page-builder' ); ?></a><?php
|
391 |
-
|
392 |
-
}
|
393 |
-
|
394 |
-
// If other archives ( not author )
|
395 |
-
} elseif ( is_archive() ) {
|
396 |
-
|
397 |
-
// Get ID of the page set to power the archives of the shown post type
|
398 |
-
$template_ID = dslc_get_option( get_post_type(), 'dslc_plugin_options_archives' );
|
399 |
-
|
400 |
-
// If there is a page that powers it
|
401 |
-
if ( $template_ID != 'none' ) {
|
402 |
-
|
403 |
-
// Output the button
|
404 |
-
?><a href="<?php echo add_query_arg( array( 'dslc' => 'active' ), get_permalink( $template_ID ) ); ?>" class="dslca-activate-composer-hook dslca-position-<?php echo $activate_button_position; ?>"><?php _e( 'ACTIVATE EDITOR', 'live-composer-page-builder' ); ?></a><?php
|
405 |
-
|
406 |
-
}
|
407 |
-
|
408 |
-
}
|
409 |
-
|
410 |
-
endif;
|
411 |
-
|
412 |
-
endif;
|
413 |
-
|
414 |
-
} add_action( 'wp_footer', 'dslc_display_composer' );
|
415 |
-
|
416 |
-
/**
|
417 |
-
* Returns array of active modules (false if none)
|
418 |
-
*
|
419 |
-
* @since 1.0
|
420 |
-
*/
|
421 |
-
|
422 |
-
function dslc_get_modules() {
|
423 |
-
|
424 |
-
global $dslc_var_modules;
|
425 |
-
|
426 |
-
if ( empty( $dslc_var_modules ) )
|
427 |
-
return false;
|
428 |
-
else
|
429 |
-
return $dslc_var_modules;
|
430 |
-
|
431 |
-
}
|
432 |
-
|
433 |
-
/**
|
434 |
-
* Sorting Function
|
435 |
-
*
|
436 |
-
* @since 1.0
|
437 |
-
*/
|
438 |
-
|
439 |
-
function dslc_sort_alphabetically( $a, $b ) {
|
440 |
-
return strcmp( $a['title'], $b['title'] );
|
441 |
-
}
|
442 |
-
|
443 |
-
/**
|
444 |
-
* Displays a list of modules (for drag&drop)
|
445 |
-
*
|
446 |
-
* @since 1.0
|
447 |
-
*/
|
448 |
-
|
449 |
-
function dslc_display_modules() {
|
450 |
-
|
451 |
-
$dslc_modules = dslc_get_modules();
|
452 |
-
|
453 |
-
// Get value of module listing order option
|
454 |
-
$module_listing_order = dslc_get_option( 'lc_module_listing_order', 'dslc_plugin_options_other' );
|
455 |
-
if ( empty( $module_listing_order ) )
|
456 |
-
$module_listing_order = 'original';
|
457 |
-
|
458 |
-
// Order alphabetically if needed
|
459 |
-
if ( $module_listing_order == 'alphabetic' ) {
|
460 |
-
usort( $dslc_modules, 'dslc_sort_alphabetically' );
|
461 |
-
}
|
462 |
-
|
463 |
-
if ( $dslc_modules ) {
|
464 |
-
|
465 |
-
?>
|
466 |
-
|
467 |
-
<div class="dslca-module dslca-scroller-item dslca-origin" data-origin="general" data-id="DSLC_M_A">
|
468 |
-
<span class="dslca-icon dslc-icon-th-large"></span><span class="dslca-module-title"><?php _e( 'MODULES AREA', 'live-composer-page-builder' ); ?></span>
|
469 |
-
</div><!-- .dslc-module -->
|
470 |
-
|
471 |
-
<?php
|
472 |
-
|
473 |
-
foreach ( $dslc_modules as $dslc_module ) {
|
474 |
-
|
475 |
-
if ( empty( $dslc_module['icon'] ) )
|
476 |
-
$dslc_module['icon'] = 'circle';
|
477 |
-
|
478 |
-
if ( empty ( $dslc_module['origin'] ) )
|
479 |
-
$dslc_module['origin'] = 'lc'
|
480 |
-
|
481 |
-
?>
|
482 |
-
<div class="dslca-module dslca-scroller-item dslca-origin dslca-origin-<?php echo $dslc_module['origin']; ?>" data-origin="<?php echo $dslc_module['origin']; ?>" data-id="<?php echo $dslc_module['id']; ?>">
|
483 |
-
<span class="dslca-icon dslc-icon-<?php echo $dslc_module['icon']; ?>"></span><span class="dslca-module-title"><?php echo $dslc_module['title']; ?></span>
|
484 |
-
</div><!-- .dslc-module -->
|
485 |
-
<?php
|
486 |
-
|
487 |
-
}
|
488 |
-
|
489 |
-
} else {
|
490 |
-
|
491 |
-
echo 'No Modules Found.';
|
492 |
-
|
493 |
-
}
|
494 |
-
|
495 |
-
}
|
496 |
-
|
497 |
-
/**
|
498 |
-
* Displays a list of templates
|
499 |
-
*
|
500 |
-
* @since 1.0
|
501 |
-
*/
|
502 |
-
|
503 |
-
function dslc_display_templates() {
|
504 |
-
|
505 |
-
// Get all the templates
|
506 |
-
$templates = dslc_get_templates();
|
507 |
-
|
508 |
-
// Array to store different types of templates
|
509 |
-
$templates_arr = array();
|
510 |
-
|
511 |
-
// If there are active templates
|
512 |
-
if ( $templates ) {
|
513 |
-
|
514 |
-
// Go through all templates, popular array
|
515 |
-
foreach ( $templates as $template ) {
|
516 |
-
|
517 |
-
$template['section'] = strtolower( str_replace( ' ', '_', $template['section'] ) );
|
518 |
-
|
519 |
-
$templates_arr[$template['section']][$template['id']] = $template;
|
520 |
-
|
521 |
-
}
|
522 |
-
|
523 |
-
// If there are templates
|
524 |
-
if ( ! empty ( $templates_arr ) ) {
|
525 |
-
|
526 |
-
// Go through each section
|
527 |
-
foreach ( $templates_arr as $template_section_id => $template_section_tpls ) {
|
528 |
-
|
529 |
-
// Go through each template of a section
|
530 |
-
foreach ( $templates_arr[$template_section_id] as $template ) {
|
531 |
-
|
532 |
-
?>
|
533 |
-
<div class="dslca-template dslca-scroller-item dslca-origin dslca-template-origin-<?php echo $template_section_id; ?>" data-origin="<?php echo $template_section_id; ?>" data-id="<?php echo $template['id']; ?>">
|
534 |
-
<span class="dslca-template-title"><?php echo $template['title']; ?></span>
|
535 |
-
<?php if ( $template_section_id == 'user' ) : ?>
|
536 |
-
<span class="dslca-delete-template-hook" data-id="<?php echo $template['id']; ?>">
|
537 |
-
<span class="dslca-icon dslc-icon-trash"></span>
|
538 |
-
</span>
|
539 |
-
<?php endif; ?>
|
540 |
-
</div><!-- .dslc-template -->
|
541 |
-
<?php
|
542 |
-
|
543 |
-
}
|
544 |
-
|
545 |
-
}
|
546 |
-
|
547 |
-
} else {
|
548 |
-
|
549 |
-
echo 'No Templates Found';
|
550 |
-
|
551 |
-
}
|
552 |
-
|
553 |
-
}
|
554 |
-
|
555 |
-
}
|
556 |
-
|
557 |
-
|
558 |
-
/**
|
559 |
-
* Hooks into the_content filter to add LC elements
|
560 |
-
*
|
561 |
-
* @since 1.0
|
562 |
-
*/
|
563 |
-
function dslc_filter_content( $content ) {
|
564 |
-
|
565 |
-
// If post pass protected and pass not supplied return original content
|
566 |
-
if ( post_password_required( get_the_ID() ) ) {
|
567 |
-
return $content;
|
568 |
-
}
|
569 |
-
|
570 |
-
// Global variables
|
571 |
-
global $dslc_should_filter;
|
572 |
-
global $wp_the_query;
|
573 |
-
global $dslc_post_types;
|
574 |
-
|
575 |
-
// Get ID of the post in which the content filter fired
|
576 |
-
$currID = get_the_ID();
|
577 |
-
|
578 |
-
|
579 |
-
|
580 |
-
|
581 |
-
|
582 |
-
|
583 |
-
|
584 |
-
|
585 |
-
|
586 |
-
//
|
587 |
-
//
|
588 |
-
//
|
589 |
-
//
|
590 |
-
|
591 |
-
|
592 |
-
|
593 |
-
|
594 |
-
$
|
595 |
-
$
|
596 |
-
$
|
597 |
-
$
|
598 |
-
$
|
599 |
-
$
|
600 |
-
$
|
601 |
-
$
|
602 |
-
$
|
603 |
-
$
|
604 |
-
|
605 |
-
|
606 |
-
|
607 |
-
|
608 |
-
$
|
609 |
-
|
610 |
-
|
611 |
-
|
612 |
-
|
613 |
-
|
614 |
-
|
615 |
-
|
616 |
-
$
|
617 |
-
$
|
618 |
-
$
|
619 |
-
$
|
620 |
-
|
621 |
-
|
622 |
-
|
623 |
-
|
624 |
-
$
|
625 |
-
|
626 |
-
|
627 |
-
|
628 |
-
|
629 |
-
$
|
630 |
-
|
631 |
-
|
632 |
-
|
633 |
-
|
634 |
-
$
|
635 |
-
|
636 |
-
|
637 |
-
|
638 |
-
|
639 |
-
|
640 |
-
|
641 |
-
|
642 |
-
|
643 |
-
|
644 |
-
|
645 |
-
|
646 |
-
|
647 |
-
|
648 |
-
|
649 |
-
|
650 |
-
|
651 |
-
|
652 |
-
|
653 |
-
|
654 |
-
|
655 |
-
|
656 |
-
|
657 |
-
|
658 |
-
|
659 |
-
|
660 |
-
|
661 |
-
|
662 |
-
|
663 |
-
|
664 |
-
|
665 |
-
|
666 |
-
|
667 |
-
|
668 |
-
|
669 |
-
|
670 |
-
|
671 |
-
|
672 |
-
|
673 |
-
|
674 |
-
|
675 |
-
|
676 |
-
|
677 |
-
|
678 |
-
|
679 |
-
|
680 |
-
|
681 |
-
|
682 |
-
|
683 |
-
|
684 |
-
|
685 |
-
|
686 |
-
|
687 |
-
|
688 |
-
|
689 |
-
|
690 |
-
|
691 |
-
|
692 |
-
|
693 |
-
|
694 |
-
|
695 |
-
|
696 |
-
|
697 |
-
|
698 |
-
|
699 |
-
|
700 |
-
|
701 |
-
|
702 |
-
|
703 |
-
|
704 |
-
|
705 |
-
|
706 |
-
|
707 |
-
|
708 |
-
|
709 |
-
|
710 |
-
|
711 |
-
|
712 |
-
|
713 |
-
|
714 |
-
|
715 |
-
|
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 |
-
|
748 |
-
<span class="dslca-
|
749 |
-
|
750 |
-
|
751 |
-
|
752 |
-
|
753 |
-
|
754 |
-
|
755 |
-
|
756 |
-
|
757 |
-
|
758 |
-
|
759 |
-
|
760 |
-
|
761 |
-
|
762 |
-
|
763 |
-
|
764 |
-
|
765 |
-
|
766 |
-
|
767 |
-
|
768 |
-
|
769 |
-
<span class="dslca-wp-editor-
|
770 |
-
|
771 |
-
|
772 |
-
|
773 |
-
|
774 |
-
|
775 |
-
|
776 |
-
|
777 |
-
|
778 |
-
|
779 |
-
|
780 |
-
|
781 |
-
|
782 |
-
|
783 |
-
|
784 |
-
|
785 |
-
|
786 |
-
|
787 |
-
|
788 |
-
|
789 |
-
|
790 |
-
|
791 |
-
|
792 |
-
|
793 |
-
|
794 |
-
|
795 |
-
|
796 |
-
|
797 |
-
|
798 |
-
|
799 |
-
|
800 |
-
|
801 |
-
|
802 |
-
|
803 |
-
|
804 |
-
|
805 |
-
|
806 |
-
|
807 |
-
|
808 |
-
|
809 |
-
|
810 |
-
|
811 |
-
|
812 |
-
|
813 |
-
|
814 |
-
|
815 |
-
|
816 |
-
|
817 |
-
|
818 |
-
|
819 |
-
|
820 |
-
|
821 |
-
|
822 |
-
|
823 |
-
|
824 |
-
|
825 |
-
|
826 |
-
|
827 |
-
|
828 |
-
|
829 |
-
|
830 |
-
|
831 |
-
|
832 |
-
|
833 |
-
|
834 |
-
|
835 |
-
|
836 |
-
|
837 |
-
|
838 |
-
|
839 |
-
|
840 |
-
|
841 |
-
|
842 |
-
|
843 |
-
|
844 |
-
|
845 |
-
|
846 |
-
|
847 |
-
|
848 |
-
|
849 |
-
*
|
850 |
-
*
|
851 |
-
|
852 |
-
|
853 |
-
|
854 |
-
|
855 |
-
|
856 |
-
|
857 |
-
|
858 |
-
|
859 |
-
|
860 |
-
|
861 |
-
|
862 |
-
|
863 |
-
|
864 |
-
|
865 |
-
|
866 |
-
|
867 |
-
|
868 |
-
|
869 |
-
|
870 |
-
|
871 |
-
|
872 |
-
|
873 |
-
|
874 |
-
|
875 |
-
|
876 |
-
|
877 |
-
|
878 |
-
|
879 |
-
|
880 |
-
|
881 |
-
|
882 |
-
|
883 |
-
|
884 |
-
|
885 |
-
|
886 |
-
|
887 |
-
|
888 |
-
|
889 |
-
$dslc_var_image_option_bckp
|
890 |
-
$
|
891 |
-
|
892 |
-
|
893 |
-
|
894 |
-
|
895 |
-
|
896 |
-
|
897 |
-
|
898 |
-
|
899 |
-
|
900 |
-
|
901 |
-
|
902 |
-
|
903 |
-
|
904 |
-
|
905 |
-
|
906 |
-
|
907 |
-
|
908 |
-
|
909 |
-
|
910 |
-
|
911 |
-
|
912 |
-
|
913 |
-
|
914 |
-
$
|
915 |
-
$settings[$all_opt['id']]
|
916 |
-
|
917 |
-
|
918 |
-
|
919 |
-
|
920 |
-
|
921 |
-
|
922 |
-
|
923 |
-
|
924 |
-
|
925 |
-
|
926 |
-
|
927 |
-
|
928 |
-
|
929 |
-
|
930 |
-
|
931 |
-
|
932 |
-
|
933 |
-
|
934 |
-
|
935 |
-
|
936 |
-
|
937 |
-
|
938 |
-
|
939 |
-
|
940 |
-
*
|
941 |
-
*
|
942 |
-
|
943 |
-
|
944 |
-
|
945 |
-
|
946 |
-
|
947 |
-
|
948 |
-
$
|
949 |
-
$
|
950 |
-
|
951 |
-
|
952 |
-
|
953 |
-
|
954 |
-
|
955 |
-
|
956 |
-
|
957 |
-
|
958 |
-
|
959 |
-
|
960 |
-
|
961 |
-
|
962 |
-
|
963 |
-
|
964 |
-
|
965 |
-
|
966 |
-
|
967 |
-
|
968 |
-
|
969 |
-
|
970 |
-
|
971 |
-
|
972 |
-
|
973 |
-
|
974 |
-
|
975 |
-
|
976 |
-
|
977 |
-
|
978 |
-
|
979 |
-
|
980 |
-
|
981 |
-
|
982 |
-
|
983 |
-
|
984 |
-
|
985 |
-
|
986 |
-
|
987 |
-
|
988 |
-
|
989 |
-
|
990 |
-
|
991 |
-
|
992 |
-
|
993 |
-
|
994 |
-
|
995 |
-
|
996 |
-
|
997 |
-
|
998 |
-
|
999 |
-
|
1000 |
-
$atts['bg_video'] = str_replace( '.
|
1001 |
-
|
1002 |
-
|
1003 |
-
|
1004 |
-
|
1005 |
-
|
1006 |
-
|
1007 |
-
|
1008 |
-
<source type="video/
|
1009 |
-
|
1010 |
-
|
1011 |
-
|
1012 |
-
|
1013 |
-
|
1014 |
-
|
1015 |
-
|
1016 |
-
|
1017 |
-
|
1018 |
-
|
1019 |
-
|
1020 |
-
|
1021 |
-
|
1022 |
-
|
1023 |
-
|
1024 |
-
|
1025 |
-
|
1026 |
-
$
|
1027 |
-
$
|
1028 |
-
|
1029 |
-
|
1030 |
-
|
1031 |
-
$
|
1032 |
-
$
|
1033 |
-
|
1034 |
-
|
1035 |
-
|
1036 |
-
|
1037 |
-
|
1038 |
-
|
1039 |
-
|
1040 |
-
|
1041 |
-
|
1042 |
-
|
1043 |
-
|
1044 |
-
|
1045 |
-
|
1046 |
-
|
1047 |
-
|
1048 |
-
|
1049 |
-
|
1050 |
-
|
1051 |
-
|
1052 |
-
|
1053 |
-
|
1054 |
-
|
1055 |
-
|
1056 |
-
|
1057 |
-
|
1058 |
-
|
1059 |
-
|
1060 |
-
|
1061 |
-
|
1062 |
-
|
1063 |
-
|
1064 |
-
$filter_classes =
|
1065 |
-
$
|
1066 |
-
|
1067 |
-
|
1068 |
-
|
1069 |
-
|
1070 |
-
|
1071 |
-
|
1072 |
-
|
1073 |
-
|
1074 |
-
|
1075 |
-
|
1076 |
-
|
1077 |
-
|
1078 |
-
|
1079 |
-
|
1080 |
-
|
1081 |
-
|
1082 |
-
|
1083 |
-
|
1084 |
-
|
1085 |
-
|
1086 |
-
|
1087 |
-
|
1088 |
-
|
1089 |
-
|
1090 |
-
|
1091 |
-
|
1092 |
-
|
1093 |
-
|
1094 |
-
|
1095 |
-
|
1096 |
-
|
1097 |
-
|
1098 |
-
|
1099 |
-
|
1100 |
-
<span class="dslca-manage-action dslca-
|
1101 |
-
<span class="dslca-manage-action dslca-
|
1102 |
-
<span class="dslca-manage-action dslca-
|
1103 |
-
<span class="dslca-manage-action dslca-
|
1104 |
-
|
1105 |
-
|
1106 |
-
|
1107 |
-
|
1108 |
-
|
1109 |
-
|
1110 |
-
|
1111 |
-
|
1112 |
-
|
1113 |
-
|
1114 |
-
|
1115 |
-
|
1116 |
-
|
1117 |
-
|
1118 |
-
|
1119 |
-
|
1120 |
-
|
1121 |
-
|
1122 |
-
*
|
1123 |
-
*
|
1124 |
-
|
1125 |
-
|
1126 |
-
|
1127 |
-
|
1128 |
-
|
1129 |
-
|
1130 |
-
|
1131 |
-
$
|
1132 |
-
|
1133 |
-
|
1134 |
-
|
1135 |
-
|
1136 |
-
|
1137 |
-
|
1138 |
-
|
1139 |
-
|
1140 |
-
|
1141 |
-
|
1142 |
-
|
1143 |
-
|
1144 |
-
|
1145 |
-
|
1146 |
-
<
|
1147 |
-
|
1148 |
-
<span class="dslca-manage-action dslca-
|
1149 |
-
<span class="dslca-manage-action dslca-
|
1150 |
-
|
1151 |
-
<
|
1152 |
-
|
1153 |
-
<span data-size="
|
1154 |
-
<span data-size="
|
1155 |
-
<span data-size="
|
1156 |
-
<span data-size="
|
1157 |
-
<span data-size="
|
1158 |
-
|
1159 |
-
|
1160 |
-
|
1161 |
-
|
1162 |
-
|
1163 |
-
|
1164 |
-
|
1165 |
-
|
1166 |
-
|
1167 |
-
|
1168 |
-
|
1169 |
-
|
1170 |
-
|
1171 |
-
|
1172 |
-
|
1173 |
-
|
1174 |
-
|
1175 |
-
|
1176 |
-
|
1177 |
-
|
1178 |
-
|
1179 |
-
|
1180 |
-
|
1181 |
-
|
1182 |
-
|
1183 |
-
|
1184 |
-
|
1185 |
-
|
1186 |
-
|
1187 |
-
|
1188 |
-
|
1189 |
-
*
|
1190 |
-
*
|
1191 |
-
|
1192 |
-
|
1193 |
-
|
1194 |
-
|
1195 |
-
|
1196 |
-
|
1197 |
-
|
1198 |
-
|
1199 |
-
|
1200 |
-
|
1201 |
-
|
1202 |
-
|
1203 |
-
|
1204 |
-
|
1205 |
-
|
1206 |
-
|
1207 |
-
|
1208 |
-
|
1209 |
-
|
1210 |
-
|
1211 |
-
|
1212 |
-
|
1213 |
-
|
1214 |
-
*
|
1215 |
-
*
|
1216 |
-
|
1217 |
-
|
1218 |
-
|
1219 |
-
|
1220 |
-
|
1221 |
-
|
1222 |
-
|
1223 |
-
|
1224 |
-
global $
|
1225 |
-
global $
|
1226 |
-
global $
|
1227 |
-
global $
|
1228 |
-
global $
|
1229 |
-
|
1230 |
-
|
1231 |
-
$
|
1232 |
-
|
1233 |
-
|
1234 |
-
|
1235 |
-
|
1236 |
-
|
1237 |
-
|
1238 |
-
|
1239 |
-
|
1240 |
-
|
1241 |
-
|
1242 |
-
|
1243 |
-
|
1244 |
-
|
1245 |
-
$lc_width
|
1246 |
-
|
1247 |
-
|
1248 |
-
|
1249 |
-
|
1250 |
-
|
1251 |
-
|
1252 |
-
|
1253 |
-
|
1254 |
-
|
1255 |
-
|
1256 |
-
|
1257 |
-
|
1258 |
-
|
1259 |
-
|
1260 |
-
|
1261 |
-
|
1262 |
-
|
1263 |
-
|
1264 |
-
|
1265 |
-
|
1266 |
-
|
1267 |
-
|
1268 |
-
|
1269 |
-
|
1270 |
-
|
1271 |
-
|
1272 |
-
|
1273 |
-
|
1274 |
-
|
1275 |
-
|
1276 |
-
$
|
1277 |
-
|
1278 |
-
|
1279 |
-
|
1280 |
-
|
1281 |
-
|
1282 |
-
|
1283 |
-
|
1284 |
-
$
|
1285 |
-
|
1286 |
-
|
1287 |
-
|
1288 |
-
|
1289 |
-
|
1290 |
-
$
|
1291 |
-
|
1292 |
-
|
1293 |
-
|
1294 |
-
|
1295 |
-
|
1296 |
-
|
1297 |
-
|
1298 |
-
|
1299 |
-
|
1300 |
-
$
|
1301 |
-
|
1302 |
-
|
1303 |
-
|
1304 |
-
|
1305 |
-
|
1306 |
-
|
1307 |
-
|
1308 |
-
|
1309 |
-
$composer_code = str_replace( '
|
1310 |
-
$composer_code = str_replace( '
|
1311 |
-
$composer_code = str_replace( '[dslc_module
|
1312 |
-
$composer_code = str_replace( '[
|
1313 |
-
|
1314 |
-
|
1315 |
-
|
1316 |
-
|
1317 |
-
|
1318 |
-
|
1319 |
-
|
1320 |
-
$
|
1321 |
-
|
1322 |
-
|
1323 |
-
|
1324 |
-
|
1325 |
-
|
1326 |
-
|
1327 |
-
|
1328 |
-
|
1329 |
-
|
1330 |
-
|
1331 |
-
|
1332 |
-
|
1333 |
-
$
|
1334 |
-
$
|
1335 |
-
|
1336 |
-
|
1337 |
-
|
1338 |
-
|
1339 |
-
|
1340 |
-
|
1341 |
-
|
1342 |
-
|
1343 |
-
|
1344 |
-
|
1345 |
-
|
1346 |
-
|
1347 |
-
|
1348 |
-
|
1349 |
-
|
1350 |
-
|
1351 |
-
|
1352 |
-
|
1353 |
-
|
1354 |
-
|
1355 |
-
|
1356 |
-
|
1357 |
-
|
1358 |
-
|
1359 |
-
|
1360 |
-
|
1361 |
-
|
1362 |
-
|
1363 |
-
|
1364 |
-
|
1365 |
-
|
1366 |
-
|
1367 |
-
|
1368 |
-
|
1369 |
-
|
1370 |
-
|
1371 |
-
|
1372 |
-
|
1373 |
-
if ( $dynamic_css_location
|
1374 |
-
|
1375 |
-
|
1376 |
-
|
1377 |
-
|
1378 |
-
|
1379 |
-
|
1380 |
-
|
1381 |
-
|
1382 |
-
|
1383 |
-
|
1384 |
-
|
1385 |
-
|
1386 |
-
|
1387 |
-
|
1388 |
-
|
1389 |
-
|
1390 |
-
|
1391 |
-
|
1392 |
-
|
1393 |
-
|
1394 |
-
|
1395 |
-
|
1396 |
-
|
1397 |
-
|
1398 |
-
|
1399 |
-
|
1400 |
-
|
1401 |
-
|
1402 |
-
|
1403 |
-
|
1404 |
-
|
1405 |
-
|
1406 |
-
|
1407 |
-
|
1408 |
-
|
1409 |
-
|
1410 |
-
|
1411 |
-
|
1412 |
-
|
1413 |
-
|
1414 |
-
|
1415 |
-
|
1416 |
-
|
1417 |
-
|
1418 |
-
|
1419 |
-
|
1420 |
-
|
1421 |
-
|
1422 |
-
|
1423 |
-
|
1424 |
-
|
1425 |
-
|
1426 |
-
|
1427 |
-
|
1428 |
-
|
1429 |
-
|
1430 |
-
|
1431 |
-
|
1432 |
-
|
1433 |
-
$dslc_var_image_option_bckp
|
1434 |
-
|
1435 |
-
|
1436 |
-
|
1437 |
-
|
1438 |
-
|
1439 |
-
$
|
1440 |
-
$settings[$option_arr['id']]
|
1441 |
-
|
1442 |
-
|
1443 |
-
|
1444 |
-
|
1445 |
-
|
1446 |
-
|
1447 |
-
|
1448 |
-
|
1449 |
-
|
1450 |
-
|
1451 |
-
|
1452 |
-
|
1453 |
-
|
1454 |
-
|
1455 |
-
|
1456 |
-
|
1457 |
-
|
1458 |
-
|
1459 |
-
|
1460 |
-
|
1461 |
-
|
1462 |
-
|
1463 |
-
|
1464 |
-
|
1465 |
-
|
1466 |
-
|
1467 |
-
|
1468 |
-
|
1469 |
-
|
1470 |
-
|
1471 |
-
|
1472 |
-
if ( ! isset( $atts['
|
1473 |
-
if ( ! isset( $atts['
|
1474 |
-
$
|
1475 |
-
|
1476 |
-
|
1477 |
-
|
1478 |
-
|
1479 |
-
|
1480 |
-
|
1481 |
-
|
1482 |
-
|
1483 |
-
|
1484 |
-
|
1485 |
-
|
1486 |
-
|
1487 |
-
|
1488 |
-
|
1489 |
-
|
1490 |
-
|
1491 |
-
|
1492 |
-
|
1493 |
-
|
1494 |
-
|
1495 |
-
|
1496 |
-
|
1497 |
-
|
1498 |
-
if($paged > 1 && $showitems < $pages) { echo "<li class='dslc-inactive'><a href='".get_pagenum_link(
|
1499 |
-
|
1500 |
-
|
1501 |
-
|
1502 |
-
|
1503 |
-
|
1504 |
-
|
1505 |
-
|
1506 |
-
|
1507 |
-
if ($paged < $pages
|
1508 |
-
|
1509 |
-
|
1510 |
-
|
1511 |
-
|
1512 |
-
if
|
1513 |
-
|
1514 |
-
|
1515 |
-
|
1516 |
-
|
1517 |
-
|
1518 |
-
|
1519 |
-
|
1520 |
-
|
1521 |
-
|
1522 |
-
|
1523 |
-
|
1524 |
-
|
1525 |
-
|
1526 |
-
|
1527 |
-
|
1528 |
-
|
1529 |
-
|
1530 |
-
|
1531 |
-
|
1532 |
-
|
1533 |
-
|
|
|
1534 |
}
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* Table of Contents
|
5 |
+
*
|
6 |
+
* - dslc_display_composer ( Displays the composer code in the front-end )
|
7 |
+
* - dslc_get_modules ( Returns an array of active modules )
|
8 |
+
* - dslc_sort_alphabetically ( Sorts an array alphabetically )
|
9 |
+
* - dslc_display_modules ( Displays a list of active modules )
|
10 |
+
* - dslc_display_templates ( Displays a list of active templates )
|
11 |
+
* - dslc_filter_content ( Filters the_content() to show composer output )
|
12 |
+
* - dslc_module_front ( Returns front-end output of a specific module )
|
13 |
+
* - dslc_custom_css ( Generates Custom CSS for the show page )
|
14 |
+
*/
|
15 |
+
|
16 |
+
|
17 |
+
/**
|
18 |
+
* Display the composer
|
19 |
+
*
|
20 |
+
* @since 1.0
|
21 |
+
*/
|
22 |
+
|
23 |
+
function dslc_display_composer() {
|
24 |
+
|
25 |
+
global $dslc_active;
|
26 |
+
|
27 |
+
// Reset the query ( because some devs leave their queries non-reseted )
|
28 |
+
wp_reset_query();
|
29 |
+
|
30 |
+
// Show the composer to users who are allowed to view it
|
31 |
+
if ( $dslc_active && is_user_logged_in() && current_user_can( DS_LIVE_COMPOSER_CAPABILITY ) ) :
|
32 |
+
|
33 |
+
$default_section = dslc_get_option( 'lc_default_opts_section', 'dslc_plugin_options_other' );
|
34 |
+
if ( empty( $default_section ) )
|
35 |
+
$default_section = 'functionality';
|
36 |
+
|
37 |
+
?>
|
38 |
+
|
39 |
+
<div class="dslca-container dslca-state-off" data-post-id="<?php the_ID(); ?>">
|
40 |
+
|
41 |
+
<div class="dslca-header dslc-clearfix" data-default-section="<?php echo $default_section; ?>">
|
42 |
+
|
43 |
+
<!-- Currently Editing -->
|
44 |
+
<span class="dslca-currently-editing"><span class="dslca-icon dslc-icon-info"></span>Currently Editing: <strong></strong></span>
|
45 |
+
|
46 |
+
<!-- Tabs -->
|
47 |
+
<span class="dslca-go-to-section-hook dslca-go-to-section-modules dslca-active" data-section=".dslca-modules"><span class="dslca-icon dslc-icon-list"></span></span>
|
48 |
+
<span class="dslca-go-to-section-hook dslca-go-to-section-templates" data-section=".dslca-templates"><span class="dslca-icon dslc-icon-bookmark"></span></span>
|
49 |
+
|
50 |
+
<!-- Module Option filters -->
|
51 |
+
<span class="dslca-options-filter-hook" data-section="functionality"><span class="dslca-icon dslc-icon-cog"></span> <?php _e( 'FUNCTIONALITY', 'live-composer-page-builder' ); ?></span>
|
52 |
+
<span class="dslca-options-filter-hook" data-section="styling"><span class="dslca-icon dslc-icon-tint"></span> <?php _e( 'STYLING', 'live-composer-page-builder' ); ?></span>
|
53 |
+
<span class="dslca-options-filter-hook" data-section="responsive"><span class="dslca-icon dslc-icon-mobile-phone"></span> <?php _e( 'RESPONSIVE', 'live-composer-page-builder' ); ?></span>
|
54 |
+
|
55 |
+
<!-- Module Options Actions -->
|
56 |
+
<div class="dslca-module-edit-actions">
|
57 |
+
<span class="dslca-module-edit-save"><?php _e( 'CONFIRM', 'live-composer-page-builder' ); ?></span>
|
58 |
+
<span class="dslca-module-edit-cancel"><?php _e( 'CANCEL', 'live-composer-page-builder' ); ?></span>
|
59 |
+
</div><!-- .dslca-module-edit-actions -->
|
60 |
+
|
61 |
+
<!-- Row Options Filters -->
|
62 |
+
<?php /*
|
63 |
+
<span class="dslca-row-options-filter-hook" data-section="styling"><span class="dslca-icon dslc-icon-tint"></span> <?php _e( 'STYLING', 'live-composer-page-builder' ); ?></span>
|
64 |
+
<span class="dslca-row-options-filter-hook" data-section="responsive"><span class="dslca-icon dslc-icon-mobile-phone"></span> <?php _e( 'RESPONSIVE', 'live-composer-page-builder' ); ?></span>
|
65 |
+
*/ ?>
|
66 |
+
|
67 |
+
<!-- Row Options Actions -->
|
68 |
+
<div class="dslca-row-edit-actions">
|
69 |
+
<span class="dslca-row-edit-save"><?php _e( 'CONFIRM', 'live-composer-page-builder' ); ?></span>
|
70 |
+
<span class="dslca-row-edit-cancel"><?php _e( 'CANCEL', 'live-composer-page-builder' ); ?></span>
|
71 |
+
</div><!-- .dslca-row-edit-actions -->
|
72 |
+
|
73 |
+
</div><!-- .dslca-header -->
|
74 |
+
|
75 |
+
<div class="dslca-actions">
|
76 |
+
|
77 |
+
<!-- Save Composer -->
|
78 |
+
<div class="dslca-save-composer dslca-save-composer-hook">
|
79 |
+
<span class="dslca-save-composer-helptext"><?php _e( 'PUBLISH CHANGES', 'live-composer-page-builder' ); ?></span>
|
80 |
+
<span class="dslca-save-composer-icon"><span class="dslca-icon dslc-icon-ok"></span></span>
|
81 |
+
</div><!-- .dslca-save-composer -->
|
82 |
+
|
83 |
+
<div class="dslca-save-draft-composer dslca-save-draft-composer-hook">
|
84 |
+
<span class="dslca-save-draft-composer-helptext"><?php _e( 'SAVE AS DRAFT', 'live-composer-page-builder' ); ?></span>
|
85 |
+
<span class="dslca-save-draft-composer-icon"><span class="dslca-icon dslc-icon-save"></span></span>
|
86 |
+
</div><!-- .dslca-save-draft-composer -->
|
87 |
+
|
88 |
+
<!-- Hide/Show -->
|
89 |
+
<span class="dslca-show-composer-hook"><span class="dslca-icon dslc-icon-arrow-up"></span><?php _e( 'SHOW EDITOR', 'live-composer-page-builder' ); ?></span>
|
90 |
+
<span class="dslca-hide-composer-hook"><span class="dslca-icon dslc-icon-arrow-down"></span><?php _e( 'HIDE EDITOR', 'live-composer-page-builder' ); ?></span>
|
91 |
+
|
92 |
+
<!-- Disable -->
|
93 |
+
<a href="<?php the_permalink(); ?>" class="dslca-close-composer-hook"><span class="dslca-icon dslc-icon-remove"></span><?php _e( 'DISABLE EDITOR', 'live-composer-page-builder' ); ?></a>
|
94 |
+
|
95 |
+
<div class="dslc-clear"></div>
|
96 |
+
|
97 |
+
</div><!-- .dslca-actions -->
|
98 |
+
|
99 |
+
<div class="dslca-sections">
|
100 |
+
|
101 |
+
<!-- Modules Listing -->
|
102 |
+
<div class="dslca-section dslca-modules" data-bg="#5890e5">
|
103 |
+
|
104 |
+
<div class="dslca-section-title">
|
105 |
+
<div class="dslca-section-title-filter">
|
106 |
+
<span class="dslca-section-title-filter-curr"><?php _e( 'ALL MODULES', 'live-composer-page-builder' ); ?></span>
|
107 |
+
<span class="dslca-icon dslc-icon-angle-up"></span>
|
108 |
+
<div class="dslca-section-title-filter-options"></div>
|
109 |
+
</div><!-- .dslca-section-title-filter -->
|
110 |
+
</div><!-- .dslca-section-title -->
|
111 |
+
|
112 |
+
<div class="dslca-section-scroller">
|
113 |
+
<div class="dslca-section-scroller-inner">
|
114 |
+
<div class="dslca-section-scroller-content">
|
115 |
+
<?php dslc_display_modules(); ?>
|
116 |
+
</div><!-- .dslca-section-scroller-content -->
|
117 |
+
</div><!-- .dslca-section-scroller-inner -->
|
118 |
+
</div><!-- .dslca-section-scroller-content -->
|
119 |
+
|
120 |
+
<div class="dslca-section-scroller-fade"></div>
|
121 |
+
|
122 |
+
<div class="dslca-section-scroller-nav">
|
123 |
+
<a href="#" class="dslca-section-scroller-prev"><span class="dslca-icon dslc-icon-angle-left"></span></a>
|
124 |
+
<a href="#" class="dslca-section-scroller-next"><span class="dslca-icon dslc-icon-angle-right"></span></a>
|
125 |
+
</div><!-- .dslca-section-scroller -->
|
126 |
+
|
127 |
+
</div><!-- .dslca-modules -->
|
128 |
+
|
129 |
+
<!-- Module Edit -->
|
130 |
+
|
131 |
+
<div class="dslca-section dslca-module-edit" data-bg="#5890e5">
|
132 |
+
|
133 |
+
<form class="dslca-module-edit-form">
|
134 |
+
<?php do_action( 'dslc_options_prepend' ); ?>
|
135 |
+
<div class="dslca-module-edit-options dslc-clearfix">
|
136 |
+
<div class="dslca-module-edit-options-tabs"></div>
|
137 |
+
<div class="dslca-module-edit-options-inner"></div>
|
138 |
+
</div>
|
139 |
+
<?php do_action( 'dslc_options_append' ); ?>
|
140 |
+
</form>
|
141 |
+
|
142 |
+
</div><!-- .dslca-module-edit -->
|
143 |
+
|
144 |
+
<!-- Module Section Edit -->
|
145 |
+
|
146 |
+
<div class="dslca-section dslca-modules-section-edit" data-bg="#5890e5">
|
147 |
+
|
148 |
+
<form class="dslca-modules-section-edit-form">
|
149 |
+
|
150 |
+
<div class="dslca-modules-section-edit-options dslc-clearfix">
|
151 |
+
|
152 |
+
<div class="dslca-modules-section-edit-options-inner">
|
153 |
+
|
154 |
+
<div class="dslca-modules-section-edit-options-wrapper dslc-clearfix">
|
155 |
+
|
156 |
+
<?php dslc_row_display_options(); ?>
|
157 |
+
|
158 |
+
</div><!-- .dslca-modules-section-edit-options-wrapper -->
|
159 |
+
|
160 |
+
</div><!-- .dslca-modules-section-edit-options-inner -->
|
161 |
+
|
162 |
+
</div><!-- .dslca-modules-section-edit-options -->
|
163 |
+
|
164 |
+
</form><!-- .dslca-modules-section-edit-form -->
|
165 |
+
|
166 |
+
</div><!-- .dslca-module-section-edit -->
|
167 |
+
|
168 |
+
<!-- Module Templates -->
|
169 |
+
|
170 |
+
<div class="dslca-section dslca-templates dslc-clearfix" data-bg="#ca564f">
|
171 |
+
|
172 |
+
<div class="dslca-section-title">
|
173 |
+
<?php _e( 'TEMPLATES', 'live-composer-page-builder' ); ?>
|
174 |
+
</div><!-- .dslca-section-title -->
|
175 |
+
|
176 |
+
<span class="dslca-go-to-section-hook" data-section=".dslca-templates-load"><span class="dslca-icon dslc-icon-circle-arrow-down"></span><?php _e( 'Load', 'live-composer-page-builder' ); ?></span>
|
177 |
+
<span class="dslca-open-modal-hook" data-modal=".dslca-modal-templates-save"><span class="dslca-icon dslc-icon-save"></span><?php _e( 'Save', 'live-composer-page-builder' ); ?></span>
|
178 |
+
<span class="dslca-open-modal-hook" data-modal=".dslca-modal-templates-import"><span class="dslca-icon dslc-icon-download-alt"></span><?php _e( 'Import', 'live-composer-page-builder' ); ?></span>
|
179 |
+
<span class="dslca-open-modal-hook" data-modal=".dslca-modal-templates-export"><span class="dslca-icon dslc-icon-upload-alt"></span><?php _e( 'Export', 'live-composer-page-builder' ); ?></span>
|
180 |
+
|
181 |
+
<div class="dslca-modal dslca-modal-templates-save" data-bg="#ca564f">
|
182 |
+
|
183 |
+
<form class="dslca-template-save-form">
|
184 |
+
<input type="text" id="dslca-save-template-title" placeholder="<?php _e( 'Name of the template', 'live-composer-page-builder' ); ?>">
|
185 |
+
<span class="dslca-submit"><?php _e( 'SAVE', 'live-composer-page-builder' ); ?></span>
|
186 |
+
<span class="dslca-cancel dslca-close-modal-hook" data-modal=".dslca-modal-templates-save"><?php _e( 'CANCEL', 'live-composer-page-builder' ); ?></span>
|
187 |
+
</form>
|
188 |
+
|
189 |
+
</div><!-- .dslca-modal -->
|
190 |
+
|
191 |
+
<div class="dslca-modal dslca-modal-templates-export" data-bg="#ca564f">
|
192 |
+
|
193 |
+
<form class="dslca-template-export-form">
|
194 |
+
<textarea id="dslca-export-code"></textarea>
|
195 |
+
<span class="dslca-cancel dslca-close-modal-hook" data-modal=".dslca-modal-templates-export"><?php _e( 'CLOSE', 'live-composer-page-builder' ); ?></span>
|
196 |
+
</form>
|
197 |
+
|
198 |
+
</div><!-- .dslca-modal -->
|
199 |
+
|
200 |
+
<div class="dslca-modal dslca-modal-templates-import" data-bg="#ca564f">
|
201 |
+
|
202 |
+
<form class="dslca-template-import-form">
|
203 |
+
<textarea id="dslca-import-code" placeholder="<?php _e( 'Enter the exported code heree', 'live-composer-page-builder' ); ?>"></textarea>
|
204 |
+
<span class="dslca-submit">
|
205 |
+
<span class="dslca-modal-title"><?php _e( 'IMPORT', 'live-composer-page-builder' ); ?></span>
|
206 |
+
<div class="dslca-loading followingBallsGWrap">
|
207 |
+
<div class="followingBallsG_1 followingBallsG"></div>
|
208 |
+
<div class="followingBallsG_2 followingBallsG"></div>
|
209 |
+
<div class="followingBallsG_3 followingBallsG"></div>
|
210 |
+
<div class="followingBallsG_4 followingBallsG"></div>
|
211 |
+
</div>
|
212 |
+
</span>
|
213 |
+
<span class="dslca-cancel dslca-close-modal-hook" data-modal=".dslca-modal-templates-import"><?php _e( 'CANCEL', 'live-composer-page-builder' ); ?></span>
|
214 |
+
</form>
|
215 |
+
|
216 |
+
</div><!-- .dslca-modal -->
|
217 |
+
|
218 |
+
</div><!-- .dslca-section-templates -->
|
219 |
+
|
220 |
+
<!-- Module Template Load -->
|
221 |
+
|
222 |
+
<div class="dslca-section dslca-templates-load dslc-clearfix" data-bg="#ca564f">
|
223 |
+
|
224 |
+
<span class="dslca-go-to-section-hook dslca-section-back" data-section=".dslca-templates"><span class="dslca-icon dslc-icon-reply"></span></span>
|
225 |
+
|
226 |
+
<div class="dslca-section-title">
|
227 |
+
<div class="dslca-section-title-filter">
|
228 |
+
<span class="dslca-section-title-filter-curr"><?php _e( 'ALL TEMPLATES', 'live-composer-page-builder' ); ?></span>
|
229 |
+
<span class="dslca-icon dslc-icon-angle-up"></span>
|
230 |
+
<div class="dslca-section-title-filter-options"></div>
|
231 |
+
</div><!-- .dslca-section-title-filter -->
|
232 |
+
</div><!-- .dslca-section-title -->
|
233 |
+
|
234 |
+
<div class="dslca-section-scroller">
|
235 |
+
<div class="dslca-section-scroller-inner">
|
236 |
+
<div class="dslca-section-scroller-content">
|
237 |
+
<?php dslc_display_templates(); ?>
|
238 |
+
</div>
|
239 |
+
</div>
|
240 |
+
</div>
|
241 |
+
|
242 |
+
<div class="dslca-section-scroller-nav">
|
243 |
+
<span class="dslca-section-scroller-prev"><span class="dslca-icon dslc-icon-angle-left"></span></span>
|
244 |
+
<span class="dslca-section-scroller-next"><span class="dslca-icon dslc-icon-angle-right"></span></span>
|
245 |
+
</div><!-- .dslca-section-scroller -->
|
246 |
+
|
247 |
+
</div><!-- .dslca-templates-load -->
|
248 |
+
|
249 |
+
</div><!-- .dslca-sections -->
|
250 |
+
|
251 |
+
<!-- Module Template Export -->
|
252 |
+
|
253 |
+
<textarea id="dslca-code"></textarea>
|
254 |
+
<div class="dslca-module-options-front-backup"></div>
|
255 |
+
|
256 |
+
<div class="dslca-container-loader">
|
257 |
+
<div class="dslca-container-loader-inner followingBallsGWrap">
|
258 |
+
<div class="followingBallsG_1 followingBallsG"></div>
|
259 |
+
<div class="followingBallsG_2 followingBallsG"></div>
|
260 |
+
<div class="followingBallsG_3 followingBallsG"></div>
|
261 |
+
<div class="followingBallsG_4 followingBallsG"></div>
|
262 |
+
</div>
|
263 |
+
</div>
|
264 |
+
|
265 |
+
</div><!-- .dscla-container -->
|
266 |
+
|
267 |
+
<div class="dslca-prompt-modal">
|
268 |
+
|
269 |
+
<div class="dslca-prompt-modal-content">
|
270 |
+
|
271 |
+
<div class="dslca-prompt-modal-msg">
|
272 |
+
|
273 |
+
Message goes here
|
274 |
+
|
275 |
+
</div><!-- .dslca-prompt-modal-msg -->
|
276 |
+
|
277 |
+
<div class="dslca-prompt-modal-actions">
|
278 |
+
|
279 |
+
<a href="#" class="dslca-prompt-modal-confirm-hook"><span class="dslc-icon dslc-icon-ok"></span><?php _e( 'Confirm', 'live-composer-page-builder' ); ?></a>
|
280 |
+
<span class="dslca-prompt-modal-cancel-hook"><span class="dslc-icon dslc-icon-remove"></span><?php _e( 'Cancel', 'live-composer-page-builder' ); ?></span>
|
281 |
+
|
282 |
+
</div>
|
283 |
+
|
284 |
+
</div><!-- .dslca-prompt-modal-content -->
|
285 |
+
|
286 |
+
</div><!-- .dslca-prompt-modal -->
|
287 |
+
|
288 |
+
<div class="dslca-module-edit-field-icon-ttip">
|
289 |
+
<?php _e( 'Icons used in this plugin are from "Font Awesome".<br><a href="http://livecomposerplugin.com/icons-listing/" class="dslca-link" target="_blank">View full list of icons.</a>', 'live-composer-page-builder' ); ?>
|
290 |
+
<span class="dslca-module-edit-field-ttip-close"><span class="dslc-icon dslc-icon-remove"></span></span>
|
291 |
+
</div>
|
292 |
+
|
293 |
+
<div class="dslca-module-edit-field-ttip">
|
294 |
+
<span class="dslca-module-edit-field-ttip-close"><span class="dslc-icon dslc-icon-remove"></span></span>
|
295 |
+
<div class="dslca-module-edit-field-ttip-inner"></div>
|
296 |
+
</div>
|
297 |
+
|
298 |
+
<div class="dslca-module-edit-field-icon-switch-sets">
|
299 |
+
<?php
|
300 |
+
global $dslc_var_icons;
|
301 |
+
foreach ( $dslc_var_icons as $key => $value ) :
|
302 |
+
?><span data-set="<?php echo $key; ?>"><?php echo $key; ?></span><?php
|
303 |
+
endforeach;
|
304 |
+
?>
|
305 |
+
</div>
|
306 |
+
|
307 |
+
<div class="dslca-invisible-overlay"></div>
|
308 |
+
|
309 |
+
<?php
|
310 |
+
|
311 |
+
endif;
|
312 |
+
|
313 |
+
global $dslc_var_templates_pt;
|
314 |
+
|
315 |
+
// Get the position of the activation button
|
316 |
+
$activate_button_position = dslc_get_option( 'lc_module_activate_button_pos', 'dslc_plugin_options_other' );
|
317 |
+
if ( empty( $activate_button_position ) )
|
318 |
+
$activate_button_position = 'right';
|
319 |
+
|
320 |
+
// LC and WP Customizer do not work well together, don't proceed if customizer active
|
321 |
+
if ( ( ! function_exists( 'is_customize_preview' ) || ! is_customize_preview() ) ) :
|
322 |
+
|
323 |
+
// If editor not active and user can access the editor
|
324 |
+
if ( ! DS_LIVE_COMPOSER_ACTIVE && is_user_logged_in() && current_user_can( DS_LIVE_COMPOSER_CAPABILITY ) ) :
|
325 |
+
|
326 |
+
// If a singular page ( posts and pages )
|
327 |
+
if ( is_singular() ) {
|
328 |
+
|
329 |
+
// If a page or a template go ahead normally
|
330 |
+
if ( is_page() || get_post_type() == 'dslc_templates' || ! isset( $dslc_var_templates_pt[get_post_type()] ) ) {
|
331 |
+
|
332 |
+
?><a href="<?php echo add_query_arg( array( 'dslc' => 'active' ), get_permalink() ); ?>" class="dslca-activate-composer-hook dslca-position-<?php echo $activate_button_position; ?>"><?php _e( 'ACTIVATE EDITOR', 'live-composer-page-builder' ); ?></a><?php
|
333 |
+
|
334 |
+
// If not a page or a template post type
|
335 |
+
} else {
|
336 |
+
|
337 |
+
// Check if it has a template attached to it
|
338 |
+
$template = dslc_st_get_template_ID( get_the_ID() );
|
339 |
+
|
340 |
+
if ( $template ) {
|
341 |
+
|
342 |
+
?><a target="_blank" href="<?php echo add_query_arg( array( 'dslc' => 'active' ), get_permalink( $template ) ); ?>" class="dslca-activate-composer-hook"><?php _e( 'EDIT TEMPLATE', 'live-composer-page-builder' ); ?></a><?php
|
343 |
+
|
344 |
+
} else {
|
345 |
+
|
346 |
+
?><a target="_blank" href="<?php echo admin_url( 'post-new.php?post_type=dslc_templates' ); ?>" class="dslca-activate-composer-hook"><?php _e( 'CREATE TEMPLATE', 'live-composer-page-builder' ); ?></a><?php
|
347 |
+
|
348 |
+
}
|
349 |
+
|
350 |
+
}
|
351 |
+
|
352 |
+
// If a 404 page
|
353 |
+
} elseif ( is_404() ) {
|
354 |
+
|
355 |
+
// Get ID of the page set to power the 404 page
|
356 |
+
$template_ID = dslc_get_option( '404_page', 'dslc_plugin_options_archives' );
|
357 |
+
|
358 |
+
// If there is a page that powers it
|
359 |
+
if ( $template_ID != 'none' ) {
|
360 |
+
|
361 |
+
// Output the button
|
362 |
+
?><a href="<?php echo add_query_arg( array( 'dslc' => 'active' ), get_permalink( $template_ID ) ); ?>" class="dslca-activate-composer-hook dslca-position-<?php echo $activate_button_position; ?>"><?php _e( 'ACTIVATE EDITOR', 'live-composer-page-builder' ); ?></a><?php
|
363 |
+
|
364 |
+
}
|
365 |
+
|
366 |
+
// If a search results page
|
367 |
+
} elseif ( is_search() ) {
|
368 |
+
|
369 |
+
// Get ID of the page set to power the search results page
|
370 |
+
$template_ID = dslc_get_option( 'search_results', 'dslc_plugin_options_archives' );
|
371 |
+
|
372 |
+
// If there is a page that powers it
|
373 |
+
if ( $template_ID != 'none' ) {
|
374 |
+
|
375 |
+
// Output the button
|
376 |
+
?><a href="<?php echo add_query_arg( array( 'dslc' => 'active' ), get_permalink( $template_ID ) ); ?>" class="dslca-activate-composer-hook dslca-position-<?php echo $activate_button_position; ?>"><?php _e( 'ACTIVATE EDITOR', 'live-composer-page-builder' ); ?></a><?php
|
377 |
+
|
378 |
+
}
|
379 |
+
|
380 |
+
// If authors archives page
|
381 |
+
} elseif ( is_author() ) {
|
382 |
+
|
383 |
+
// Get ID of the page set to power the author archives
|
384 |
+
$template_ID = dslc_get_option( 'author', 'dslc_plugin_options_archives' );
|
385 |
+
|
386 |
+
// If there is a page that powers it
|
387 |
+
if ( $template_ID != 'none' ) {
|
388 |
+
|
389 |
+
// Output the button
|
390 |
+
?><a href="<?php echo add_query_arg( array( 'dslc' => 'active' ), get_permalink( $template_ID ) ); ?>" class="dslca-activate-composer-hook dslca-position-<?php echo $activate_button_position; ?>"><?php _e( 'ACTIVATE EDITOR', 'live-composer-page-builder' ); ?></a><?php
|
391 |
+
|
392 |
+
}
|
393 |
+
|
394 |
+
// If other archives ( not author )
|
395 |
+
} elseif ( is_archive() ) {
|
396 |
+
|
397 |
+
// Get ID of the page set to power the archives of the shown post type
|
398 |
+
$template_ID = dslc_get_option( get_post_type(), 'dslc_plugin_options_archives' );
|
399 |
+
|
400 |
+
// If there is a page that powers it
|
401 |
+
if ( $template_ID != 'none' ) {
|
402 |
+
|
403 |
+
// Output the button
|
404 |
+
?><a href="<?php echo add_query_arg( array( 'dslc' => 'active' ), get_permalink( $template_ID ) ); ?>" class="dslca-activate-composer-hook dslca-position-<?php echo $activate_button_position; ?>"><?php _e( 'ACTIVATE EDITOR', 'live-composer-page-builder' ); ?></a><?php
|
405 |
+
|
406 |
+
}
|
407 |
+
|
408 |
+
}
|
409 |
+
|
410 |
+
endif;
|
411 |
+
|
412 |
+
endif;
|
413 |
+
|
414 |
+
} add_action( 'wp_footer', 'dslc_display_composer' );
|
415 |
+
|
416 |
+
/**
|
417 |
+
* Returns array of active modules (false if none)
|
418 |
+
*
|
419 |
+
* @since 1.0
|
420 |
+
*/
|
421 |
+
|
422 |
+
function dslc_get_modules() {
|
423 |
+
|
424 |
+
global $dslc_var_modules;
|
425 |
+
|
426 |
+
if ( empty( $dslc_var_modules ) )
|
427 |
+
return false;
|
428 |
+
else
|
429 |
+
return $dslc_var_modules;
|
430 |
+
|
431 |
+
}
|
432 |
+
|
433 |
+
/**
|
434 |
+
* Sorting Function
|
435 |
+
*
|
436 |
+
* @since 1.0
|
437 |
+
*/
|
438 |
+
|
439 |
+
function dslc_sort_alphabetically( $a, $b ) {
|
440 |
+
return strcmp( $a['title'], $b['title'] );
|
441 |
+
}
|
442 |
+
|
443 |
+
/**
|
444 |
+
* Displays a list of modules (for drag&drop)
|
445 |
+
*
|
446 |
+
* @since 1.0
|
447 |
+
*/
|
448 |
+
|
449 |
+
function dslc_display_modules() {
|
450 |
+
|
451 |
+
$dslc_modules = dslc_get_modules();
|
452 |
+
|
453 |
+
// Get value of module listing order option
|
454 |
+
$module_listing_order = dslc_get_option( 'lc_module_listing_order', 'dslc_plugin_options_other' );
|
455 |
+
if ( empty( $module_listing_order ) )
|
456 |
+
$module_listing_order = 'original';
|
457 |
+
|
458 |
+
// Order alphabetically if needed
|
459 |
+
if ( $module_listing_order == 'alphabetic' ) {
|
460 |
+
usort( $dslc_modules, 'dslc_sort_alphabetically' );
|
461 |
+
}
|
462 |
+
|
463 |
+
if ( $dslc_modules ) {
|
464 |
+
|
465 |
+
?>
|
466 |
+
|
467 |
+
<div class="dslca-module dslca-scroller-item dslca-origin" data-origin="general" data-id="DSLC_M_A">
|
468 |
+
<span class="dslca-icon dslc-icon-th-large"></span><span class="dslca-module-title"><?php _e( 'MODULES AREA', 'live-composer-page-builder' ); ?></span>
|
469 |
+
</div><!-- .dslc-module -->
|
470 |
+
|
471 |
+
<?php
|
472 |
+
|
473 |
+
foreach ( $dslc_modules as $dslc_module ) {
|
474 |
+
|
475 |
+
if ( empty( $dslc_module['icon'] ) )
|
476 |
+
$dslc_module['icon'] = 'circle';
|
477 |
+
|
478 |
+
if ( empty ( $dslc_module['origin'] ) )
|
479 |
+
$dslc_module['origin'] = 'lc'
|
480 |
+
|
481 |
+
?>
|
482 |
+
<div class="dslca-module dslca-scroller-item dslca-origin dslca-origin-<?php echo $dslc_module['origin']; ?>" data-origin="<?php echo $dslc_module['origin']; ?>" data-id="<?php echo $dslc_module['id']; ?>">
|
483 |
+
<span class="dslca-icon dslc-icon-<?php echo $dslc_module['icon']; ?>"></span><span class="dslca-module-title"><?php echo $dslc_module['title']; ?></span>
|
484 |
+
</div><!-- .dslc-module -->
|
485 |
+
<?php
|
486 |
+
|
487 |
+
}
|
488 |
+
|
489 |
+
} else {
|
490 |
+
|
491 |
+
echo 'No Modules Found.';
|
492 |
+
|
493 |
+
}
|
494 |
+
|
495 |
+
}
|
496 |
+
|
497 |
+
/**
|
498 |
+
* Displays a list of templates
|
499 |
+
*
|
500 |
+
* @since 1.0
|
501 |
+
*/
|
502 |
+
|
503 |
+
function dslc_display_templates() {
|
504 |
+
|
505 |
+
// Get all the templates
|
506 |
+
$templates = dslc_get_templates();
|
507 |
+
|
508 |
+
// Array to store different types of templates
|
509 |
+
$templates_arr = array();
|
510 |
+
|
511 |
+
// If there are active templates
|
512 |
+
if ( $templates ) {
|
513 |
+
|
514 |
+
// Go through all templates, popular array
|
515 |
+
foreach ( $templates as $template ) {
|
516 |
+
|
517 |
+
$template['section'] = strtolower( str_replace( ' ', '_', $template['section'] ) );
|
518 |
+
|
519 |
+
$templates_arr[$template['section']][$template['id']] = $template;
|
520 |
+
|
521 |
+
}
|
522 |
+
|
523 |
+
// If there are templates
|
524 |
+
if ( ! empty ( $templates_arr ) ) {
|
525 |
+
|
526 |
+
// Go through each section
|
527 |
+
foreach ( $templates_arr as $template_section_id => $template_section_tpls ) {
|
528 |
+
|
529 |
+
// Go through each template of a section
|
530 |
+
foreach ( $templates_arr[$template_section_id] as $template ) {
|
531 |
+
|
532 |
+
?>
|
533 |
+
<div class="dslca-template dslca-scroller-item dslca-origin dslca-template-origin-<?php echo $template_section_id; ?>" data-origin="<?php echo $template_section_id; ?>" data-id="<?php echo $template['id']; ?>">
|
534 |
+
<span class="dslca-template-title"><?php echo $template['title']; ?></span>
|
535 |
+
<?php if ( $template_section_id == 'user' ) : ?>
|
536 |
+
<span class="dslca-delete-template-hook" data-id="<?php echo $template['id']; ?>">
|
537 |
+
<span class="dslca-icon dslc-icon-trash"></span>
|
538 |
+
</span>
|
539 |
+
<?php endif; ?>
|
540 |
+
</div><!-- .dslc-template -->
|
541 |
+
<?php
|
542 |
+
|
543 |
+
}
|
544 |
+
|
545 |
+
}
|
546 |
+
|
547 |
+
} else {
|
548 |
+
|
549 |
+
echo 'No Templates Found';
|
550 |
+
|
551 |
+
}
|
552 |
+
|
553 |
+
}
|
554 |
+
|
555 |
+
}
|
556 |
+
|
557 |
+
|
558 |
+
/**
|
559 |
+
* Hooks into the_content filter to add LC elements
|
560 |
+
*
|
561 |
+
* @since 1.0
|
562 |
+
*/
|
563 |
+
function dslc_filter_content( $content ) {
|
564 |
+
|
565 |
+
// If post pass protected and pass not supplied return original content
|
566 |
+
if ( post_password_required( get_the_ID() ) ) {
|
567 |
+
return $content;
|
568 |
+
}
|
569 |
+
|
570 |
+
// Global variables
|
571 |
+
global $dslc_should_filter;
|
572 |
+
global $wp_the_query;
|
573 |
+
global $dslc_post_types;
|
574 |
+
|
575 |
+
// Get ID of the post in which the content filter fired
|
576 |
+
$currID = get_the_ID();
|
577 |
+
|
578 |
+
|
579 |
+
// Get ID of the post from the main query
|
580 |
+
if ( isset( $wp_the_query->queried_object_id ) ) {
|
581 |
+
$realID = $wp_the_query->queried_object_id;
|
582 |
+
} else {
|
583 |
+
$realID = 'nope';
|
584 |
+
}
|
585 |
+
|
586 |
+
// Check if we should we filtering the content
|
587 |
+
// 1) Proceed if ID of the post in which content filter fired is same as the post ID from the main query
|
588 |
+
// 2) Proceed if in a WordPress loop ( https://codex.wordpress.org/Function_Reference/in_the_loop )
|
589 |
+
// 3) Proceed if global var $dslc_should_filter is true
|
590 |
+
// Irrelevant of the other 3 proceed if archives, search or 404 page
|
591 |
+
if ( ( $currID == $realID && in_the_loop() && $dslc_should_filter ) || is_archive() || is_author() || is_search() || is_404() ) {
|
592 |
+
|
593 |
+
// Variables that are used throughout the function
|
594 |
+
$composer_wrapper_before = '';
|
595 |
+
$composer_wrapper_after = '';
|
596 |
+
$composer_header_append = ''; // HTML to output after LC header HTML
|
597 |
+
$composer_footer_append = ''; // HTML to otuput after LC footer HTML
|
598 |
+
$composer_header = ''; // HTML for LC header
|
599 |
+
$composer_footer = ''; // HTML for LC footer
|
600 |
+
$composer_prepend = ''; // HTML to output before LC content
|
601 |
+
$composer_content = ''; // HTML for LC content
|
602 |
+
$composer_append = ''; // HTML to ouput after LC content
|
603 |
+
$template_code = false; // LC code if current post powered by template
|
604 |
+
$template_ID = false; // ID of the template that powers current post
|
605 |
+
|
606 |
+
// Wrapping all LC elements ( unless header/footer outputed by theme )
|
607 |
+
if ( ! defined( 'DS_LIVE_COMPOSER_HF_AUTO' ) || DS_LIVE_COMPOSER_HF_AUTO ) {
|
608 |
+
$composer_wrapper_before = '<div id="dslc-content" class="dslc-content dslc-clearfix">';
|
609 |
+
$composer_wrapper_after = '</div>';
|
610 |
+
}
|
611 |
+
|
612 |
+
// Get LC code of the current post
|
613 |
+
$composer_code = dslc_get_code( get_the_ID() );
|
614 |
+
|
615 |
+
// Interactive Tutorials
|
616 |
+
$tut_page = false;
|
617 |
+
$tut_ch_one = dslc_get_option( 'lc_tut_chapter_one', 'dslc_plugin_options_tuts' );
|
618 |
+
$tut_ch_two = dslc_get_option( 'lc_tut_chapter_two', 'dslc_plugin_options_tuts' );
|
619 |
+
$tut_ch_three = dslc_get_option( 'lc_tut_chapter_three', 'dslc_plugin_options_tuts' );
|
620 |
+
$tut_ch_four = dslc_get_option( 'lc_tut_chapter_four', 'dslc_plugin_options_tuts' );
|
621 |
+
|
622 |
+
// If current page set to be tutorial chapter one or four
|
623 |
+
if ( get_the_ID() == $tut_ch_one || get_the_ID() == $tut_ch_four ) {
|
624 |
+
$tut_page = true;
|
625 |
+
$composer_code = '';
|
626 |
+
|
627 |
+
// If current page set to be tutorial chapter two
|
628 |
+
} elseif ( get_the_ID() == $tut_ch_two ) {
|
629 |
+
$tut_page = true;
|
630 |
+
$composer_code = '[dslc_modules_section type="wrapped" columns_spacing="spacing" bg_color="rgb(242, 245, 247)" bg_image_thumb="disabled" bg_image="" bg_image_repeat="repeat" bg_image_position="left top" bg_image_attachment="scroll" bg_image_size="auto" bg_video="" bg_video_overlay_color="#000000" bg_video_overlay_opacity="0" border_color="" border_width="0" border_style="solid" border="top right bottom left" margin_h="0" margin_b="0" padding="85" padding_h="0" custom_class="" custom_id="" ] [dslc_modules_area last="yes" first="no" size="12"] [/dslc_modules_area] [/dslc_modules_section] ';
|
631 |
+
|
632 |
+
// If current page set to be tutorial chapter three
|
633 |
+
} elseif ( get_the_ID() == $tut_ch_three ) {
|
634 |
+
$tut_page = true;
|
635 |
+
$composer_code = '[dslc_modules_section type="wrapped" columns_spacing="spacing" bg_color="rgb(242, 245, 247)" bg_image_thumb="disabled" bg_image="" bg_image_repeat="repeat" bg_image_position="left top" bg_image_attachment="scroll" bg_image_size="auto" bg_video="" bg_video_overlay_color="#000000" bg_video_overlay_opacity="0" border_color="" border_width="0" border_style="solid" border="top right bottom left" margin_h="0" margin_b="0" padding="85" padding_h="0" custom_class="" custom_id="" ] [dslc_modules_area last="yes" first="no" size="12"] [/dslc_modules_area] [/dslc_modules_section] ';
|
636 |
+
}
|
637 |
+
|
638 |
+
// If currently showing a singular post of a post type that supports "post templates"
|
639 |
+
if ( is_singular( $dslc_post_types ) ) {
|
640 |
+
|
641 |
+
// Get template ID set for currently shown post
|
642 |
+
$template_ID = dslc_st_get_template_ID( get_the_ID() );
|
643 |
+
|
644 |
+
// If template ID exists
|
645 |
+
if ( $template_ID ) {
|
646 |
+
|
647 |
+
// Get LC code of the template
|
648 |
+
$composer_code = dslc_get_code( $template_ID );
|
649 |
+
|
650 |
+
}
|
651 |
+
|
652 |
+
}
|
653 |
+
|
654 |
+
// If currently showing a category archive page
|
655 |
+
if ( is_archive() && ! is_author() && ! is_search() ) {
|
656 |
+
|
657 |
+
// Get ID of the page set to power the category of the current post type
|
658 |
+
$template_ID = dslc_get_option( get_post_type(), 'dslc_plugin_options_archives' );
|
659 |
+
|
660 |
+
// If there is a page that powers it
|
661 |
+
if ( $template_ID ) {
|
662 |
+
|
663 |
+
// Get LC code of the page
|
664 |
+
$composer_code = dslc_get_code( $template_ID );
|
665 |
+
|
666 |
+
}
|
667 |
+
|
668 |
+
}
|
669 |
+
|
670 |
+
// If currently showing an author archive page
|
671 |
+
if ( is_author() ) {
|
672 |
+
|
673 |
+
// Get ID of the page set to power the author archives
|
674 |
+
$template_ID = dslc_get_option( 'author', 'dslc_plugin_options_archives' );
|
675 |
+
|
676 |
+
// If there is a page that powers it
|
677 |
+
if ( $template_ID ) {
|
678 |
+
|
679 |
+
// Get LC code of the page
|
680 |
+
$composer_code = dslc_get_code( $template_ID );
|
681 |
+
|
682 |
+
}
|
683 |
+
|
684 |
+
}
|
685 |
+
|
686 |
+
// If currently showing a search results page
|
687 |
+
if ( is_search() ) {
|
688 |
+
|
689 |
+
// Get ID of the page set to power the search results page
|
690 |
+
$template_ID = dslc_get_option( 'search_results', 'dslc_plugin_options_archives' );
|
691 |
+
|
692 |
+
// If there is a page that powers it
|
693 |
+
if ( $template_ID ) {
|
694 |
+
|
695 |
+
// Get LC code of the page
|
696 |
+
$composer_code = dslc_get_code( $template_ID );
|
697 |
+
|
698 |
+
}
|
699 |
+
|
700 |
+
}
|
701 |
+
|
702 |
+
// If currently showina 404 page
|
703 |
+
if ( is_404() ) {
|
704 |
+
|
705 |
+
// Get ID of the page set to power the 404 page
|
706 |
+
$template_ID = dslc_get_option( '404_page', 'dslc_plugin_options_archives' );
|
707 |
+
|
708 |
+
// If there is a page that powers it
|
709 |
+
if ( $template_ID ) {
|
710 |
+
|
711 |
+
// Get LC code of the page
|
712 |
+
$composer_code = dslc_get_code( $template_ID );
|
713 |
+
|
714 |
+
}
|
715 |
+
|
716 |
+
}
|
717 |
+
|
718 |
+
// If currently showing a singular post of a post type which is not "dslc_hf" ( used for header/footer )
|
719 |
+
// And the constant DS_LIVE_COMPOSER_HF_AUTO is not defined or is set to false
|
720 |
+
if ( ! is_singular( 'dslc_hf' ) && ( ! defined( 'DS_LIVE_COMPOSER_HF_AUTO' ) || DS_LIVE_COMPOSER_HF_AUTO ) ) {
|
721 |
+
|
722 |
+
$composer_header = dslc_hf_get_header();
|
723 |
+
$composer_footer = dslc_hf_get_footer();
|
724 |
+
|
725 |
+
}
|
726 |
+
|
727 |
+
// If editor is currently active clear the composer_prepend var
|
728 |
+
if ( dslc_is_editor_active( 'access' ) ) {
|
729 |
+
$composer_prepend = '';
|
730 |
+
}
|
731 |
+
|
732 |
+
// If editor is currently active generate the LC elements and store them in composer_append var
|
733 |
+
if ( dslc_is_editor_active( 'access' ) ) {
|
734 |
+
|
735 |
+
// Get the editor type from the settings
|
736 |
+
$editor_type = dslc_get_option( 'lc_editor_type', 'dslc_plugin_options_other' );
|
737 |
+
|
738 |
+
// If no editor type set in settings
|
739 |
+
if ( empty( $editor_type ) ) {
|
740 |
+
|
741 |
+
// Default to "both" ( Visual and HTML )
|
742 |
+
$editor_type = 'both';
|
743 |
+
|
744 |
+
}
|
745 |
+
|
746 |
+
// The "Add modules row" and "Import" buttons
|
747 |
+
$composer_append = '<div class="dslca-add-modules-section">
|
748 |
+
<span class="dslca-add-modules-section-hook"><span class="dslca-icon dslc-icon-align-justify"></span>' . __( 'Add Modules Row', 'live-composer-page-builder' ) . '</span>
|
749 |
+
<span class="dslca-import-modules-section-hook"><span class="dslca-icon dslc-icon-download-alt"></span>' . __( 'Import', 'live-composer-page-builder' ) . '</span>
|
750 |
+
</div>';
|
751 |
+
|
752 |
+
// Start output fetching
|
753 |
+
ob_start();
|
754 |
+
|
755 |
+
?>
|
756 |
+
<div class="dslca-wp-editor">
|
757 |
+
<div class="dslca-wp-editor-inner">
|
758 |
+
<?php
|
759 |
+
|
760 |
+
if ( $editor_type == 'visual' )
|
761 |
+
wp_editor( '', 'dslcawpeditor', array( 'quicktags' => false ) );
|
762 |
+
else
|
763 |
+
wp_editor( '', 'dslcawpeditor' );
|
764 |
+
?>
|
765 |
+
<div class="dslca-wp-editor-notification">
|
766 |
+
<?php _e( 'Module settings are being loaded. Save/Cancel actions will appear shortly.', 'live-composer-page-builder' ); ?>
|
767 |
+
</div><!-- .dslca-wp-editor-notification -->
|
768 |
+
<div class="dslca-wp-editor-actions">
|
769 |
+
<span class="dslca-wp-editor-save-hook"><?php _e( 'CONFIRM', 'live-composer-page-builder' ); ?></span>
|
770 |
+
<span class="dslca-wp-editor-cancel-hook"><?php _e( 'CANCEL', 'live-composer-page-builder' ); ?></span>
|
771 |
+
</div>
|
772 |
+
</div>
|
773 |
+
</div>
|
774 |
+
<?php
|
775 |
+
|
776 |
+
// Stop output fetching
|
777 |
+
$composer_append .= ob_get_contents();
|
778 |
+
ob_end_clean();
|
779 |
+
|
780 |
+
}
|
781 |
+
|
782 |
+
// If there is LC code to add to the content output
|
783 |
+
if ( $composer_code || $template_code ) {
|
784 |
+
|
785 |
+
// Turn the LC code into HTML code
|
786 |
+
$composer_content = do_shortcode( $composer_code );
|
787 |
+
|
788 |
+
// If there is header or footer LC code to add to the content output
|
789 |
+
} elseif ( $composer_header || $composer_footer ) {
|
790 |
+
|
791 |
+
// If editor not active
|
792 |
+
if ( ! DS_LIVE_COMPOSER_ACTIVE ) {
|
793 |
+
|
794 |
+
// Pass the LC header, regular content and LC footer
|
795 |
+
return $composer_wrapper_before . $composer_header . '<div id="dslc-theme-content"><div id="dslc-theme-content-inner">' . $content . '</div></div>' . $composer_footer . $composer_wrapper_after;
|
796 |
+
|
797 |
+
}
|
798 |
+
|
799 |
+
} else {
|
800 |
+
|
801 |
+
// If editor not active
|
802 |
+
if ( ! DS_LIVE_COMPOSER_ACTIVE ) {
|
803 |
+
|
804 |
+
// Pass back the original wrapped in a div ( in case there's a need to style it )
|
805 |
+
return '<div id="dslc-theme-content"><div id="dslc-theme-content-inner">' . $content . '</div></div>';
|
806 |
+
|
807 |
+
}
|
808 |
+
|
809 |
+
}
|
810 |
+
|
811 |
+
// If singular post shown and has a featured image
|
812 |
+
if ( is_singular() && has_post_thumbnail( get_the_ID() ) ) {
|
813 |
+
// Hidden input holding value of the URL of the featured image of the shown post ( used by rows for BG image )
|
814 |
+
$composer_append .= '<input type="hidden" id="dslca-post-data-thumb" value="' . apply_filters( 'dslc_row_bg_featured_image', wp_get_attachment_url( get_post_thumbnail_id( get_the_ID() ) ) ) . '" />';
|
815 |
+
}
|
816 |
+
|
817 |
+
// If current page is used for a tutorial
|
818 |
+
if ( $tut_page ) {
|
819 |
+
// Hidden input holding value of the current post ID
|
820 |
+
$composer_append .= '<input type="hidden" id="dslca-tut-page" value="' . get_the_ID() . '" />';
|
821 |
+
}
|
822 |
+
|
823 |
+
// Get readable representation of the LC modules output ( textual output )
|
824 |
+
$content_for_search = '';
|
825 |
+
if ( get_post_meta( get_the_ID(), 'dslc_content_for_search', true ) ) {
|
826 |
+
$content_for_search = get_post_meta( get_the_ID(), 'dslc_content_for_search', true );
|
827 |
+
}
|
828 |
+
|
829 |
+
// If editor active include a textarea that holds readable representation of the output
|
830 |
+
if ( DS_LIVE_COMPOSER_ACTIVE ) {
|
831 |
+
$composer_append .= '<textarea id="dslca-content-for-search">' . $content_for_search . '</textarea>';
|
832 |
+
}
|
833 |
+
|
834 |
+
// Pass the filtered content output
|
835 |
+
return $composer_wrapper_before . do_action( 'dslc_output_prepend') . $composer_header . '<div id="dslc-main">' . $composer_prepend . $composer_content . '</div>' . $composer_append . $composer_footer . do_action( 'dslc_output_append') . $composer_wrapper_after;
|
836 |
+
|
837 |
+
// If LC should not filter the content
|
838 |
+
} else {
|
839 |
+
|
840 |
+
// Pass back the original wrapped in a div ( in case there's a need to style it )
|
841 |
+
return '<div id="dslc-theme-content"><div id="dslc-theme-content-inner">' . $content . '</div></div>';
|
842 |
+
|
843 |
+
}
|
844 |
+
|
845 |
+
} add_filter( 'the_content', 'dslc_filter_content', 101 );
|
846 |
+
|
847 |
+
|
848 |
+
/**
|
849 |
+
* Output front end module content
|
850 |
+
*
|
851 |
+
* @since 1.0
|
852 |
+
*/
|
853 |
+
|
854 |
+
function dslc_module_front( $atts, $settings_raw = null ) {
|
855 |
+
|
856 |
+
$settings = maybe_unserialize( base64_decode( $settings_raw ) );
|
857 |
+
|
858 |
+
if ( is_array( $settings ) ) {
|
859 |
+
|
860 |
+
// The ID of the module
|
861 |
+
$module_id = $settings['module_id'];
|
862 |
+
|
863 |
+
// Check if active
|
864 |
+
if ( ! dslc_is_module_active( $module_id ) )
|
865 |
+
return;
|
866 |
+
|
867 |
+
// If class does not exists
|
868 |
+
if ( ! class_exists( $module_id ) )
|
869 |
+
return;
|
870 |
+
|
871 |
+
// Apply new instance ID if needed
|
872 |
+
if ( isset( $atts['give_new_id'] ) ) {
|
873 |
+
$settings['module_instance_id'] = dslc_get_new_module_id();
|
874 |
+
}
|
875 |
+
|
876 |
+
if ( isset( $atts['last'] ) && $atts['last'] == 'yes' ) {
|
877 |
+
$settings['dslc_m_size_last'] = 'yes';
|
878 |
+
} else {
|
879 |
+
$settings['dslc_m_size_last'] = 'no';
|
880 |
+
}
|
881 |
+
|
882 |
+
// Instanciate the module class
|
883 |
+
$module_instance = new $module_id();
|
884 |
+
|
885 |
+
// Start output fetching
|
886 |
+
ob_start();
|
887 |
+
|
888 |
+
// Fixing the options array
|
889 |
+
global $dslc_var_image_option_bckp;
|
890 |
+
$dslc_var_image_option_bckp = array();
|
891 |
+
$all_opts = $module_instance->options();
|
892 |
+
foreach( $all_opts as $all_opt ) {
|
893 |
+
|
894 |
+
// Fix settings when a new option added after a module is used
|
895 |
+
if ( ! isset( $settings[ $all_opt['id'] ] ) ) {
|
896 |
+
|
897 |
+
if ( isset( $all_opt['std'] ) && $all_opt['std'] !== '' ) {
|
898 |
+
$settings[$all_opt['id']] = $all_opt['std'];
|
899 |
+
} else {
|
900 |
+
$settings[$all_opt['id']] = false;
|
901 |
+
}
|
902 |
+
|
903 |
+
}
|
904 |
+
|
905 |
+
}
|
906 |
+
|
907 |
+
// Load preset options if preset supplied
|
908 |
+
$settings = apply_filters( 'dslc_filter_settings', $settings );
|
909 |
+
|
910 |
+
// Transform image ID to URL
|
911 |
+
foreach( $all_opts as $all_opt ) {
|
912 |
+
if ( $all_opt['type'] == 'image' ) {
|
913 |
+
if ( isset( $settings[$all_opt['id']] ) && ! empty( $settings[$all_opt['id']] ) && is_numeric( $settings[$all_opt['id']] ) ) {
|
914 |
+
$dslc_var_image_option_bckp[$all_opt['id']] = $settings[$all_opt['id']];
|
915 |
+
$image_info = wp_get_attachment_image_src( $settings[$all_opt['id']], 'full' );
|
916 |
+
$settings[$all_opt['id']] = $image_info[0];
|
917 |
+
}
|
918 |
+
}
|
919 |
+
}
|
920 |
+
|
921 |
+
// Module output
|
922 |
+
$module_instance->output( $settings );
|
923 |
+
|
924 |
+
// End output fetching
|
925 |
+
$output = ob_get_contents();
|
926 |
+
ob_end_clean();
|
927 |
+
|
928 |
+
// Return the output
|
929 |
+
return $output;
|
930 |
+
|
931 |
+
} else {
|
932 |
+
|
933 |
+
return 'A module broke';
|
934 |
+
|
935 |
+
}
|
936 |
+
|
937 |
+
} add_shortcode( 'dslc_module', 'dslc_module_front' );
|
938 |
+
|
939 |
+
/**
|
940 |
+
* Output front end modules area content
|
941 |
+
*
|
942 |
+
* @since 1.0
|
943 |
+
*/
|
944 |
+
|
945 |
+
function dslc_modules_section_front( $atts, $content = null ) {
|
946 |
+
|
947 |
+
global $dslc_active;
|
948 |
+
$section_style = dslc_row_get_style( $atts );
|
949 |
+
$section_class = '';
|
950 |
+
$overlay_style = '';
|
951 |
+
|
952 |
+
// Columns spacing
|
953 |
+
if ( ! isset( $atts['columns_spacing'] ) )
|
954 |
+
$atts['columns_spacing'] = 'spacing';
|
955 |
+
|
956 |
+
// Custom Class
|
957 |
+
if ( ! isset( $atts['custom_class'] ) )
|
958 |
+
$atts['custom_class'] = '';
|
959 |
+
|
960 |
+
// Show On
|
961 |
+
if ( ! isset( $atts['show_on'] ) )
|
962 |
+
$atts['show_on'] = 'desktop tablet phone';
|
963 |
+
|
964 |
+
// Custom ID
|
965 |
+
if ( ! isset( $atts['custom_id'] ) )
|
966 |
+
$atts['custom_id'] = '';
|
967 |
+
|
968 |
+
// Full/Wrapped
|
969 |
+
if ( isset( $atts['type'] ) && ! empty( $atts['type'] ) && $atts['type'] == 'full' )
|
970 |
+
$section_class .= 'dslc-full ';
|
971 |
+
|
972 |
+
// Parallax
|
973 |
+
$parallax_class = '';
|
974 |
+
if ( isset( $atts['bg_image_attachment'] ) && ! empty( $atts['bg_image_attachment'] ) && $atts['bg_image_attachment'] == 'parallax' )
|
975 |
+
$parallax_class = ' dslc-init-parallax ';
|
976 |
+
|
977 |
+
// Overlay Color
|
978 |
+
if ( isset( $atts['bg_video_overlay_color'] ) && ! empty( $atts['bg_video_overlay_color'] ) )
|
979 |
+
$overlay_style .= 'background-color:' . $atts['bg_video_overlay_color'] . '; ';
|
980 |
+
|
981 |
+
// Overlay Opacity
|
982 |
+
if ( isset( $atts['bg_video_overlay_opacity'] ) && ! empty( $atts['bg_video_overlay_opacity'] ) )
|
983 |
+
$overlay_style .= 'opacity:' . $atts['bg_video_overlay_opacity'] . '; ';
|
984 |
+
|
985 |
+
/**
|
986 |
+
* BG Video
|
987 |
+
*/
|
988 |
+
|
989 |
+
// Overlay
|
990 |
+
$bg_video = '<div class="dslc-bg-video dslc-force-show"><div class="dslc-bg-video-inner"></div><div class="dslc-bg-video-overlay" style="'. $overlay_style .'"></div></div>';
|
991 |
+
|
992 |
+
// BG Video
|
993 |
+
if ( isset( $atts['bg_video'] ) && $atts['bg_video'] !== '' && $atts['bg_video'] !== 'disabled' ) {
|
994 |
+
|
995 |
+
// If it's numeric ( in the media library )
|
996 |
+
if ( is_numeric( $atts['bg_video'] ) )
|
997 |
+
$atts['bg_video'] = wp_get_attachment_url( $atts['bg_video'] );
|
998 |
+
|
999 |
+
// Remove the file type extension
|
1000 |
+
$atts['bg_video'] = str_replace( '.mp4', '', $atts['bg_video'] );
|
1001 |
+
$atts['bg_video'] = str_replace( '.webm', '', $atts['bg_video'] );
|
1002 |
+
|
1003 |
+
// The HTML
|
1004 |
+
$bg_video = '
|
1005 |
+
<div class="dslc-bg-video">
|
1006 |
+
<div class="dslc-bg-video-inner">
|
1007 |
+
<video>
|
1008 |
+
<source type="video/mp4" src="' . $atts['bg_video'] . '.mp4" />
|
1009 |
+
<source type="video/webm" src="' . $atts['bg_video'] . '.webm" />
|
1010 |
+
</video>
|
1011 |
+
</div>
|
1012 |
+
<div class="dslc-bg-video-overlay" style="'. $overlay_style .'"></div>
|
1013 |
+
</div>';
|
1014 |
+
|
1015 |
+
}
|
1016 |
+
|
1017 |
+
// No video HTML if builder innactive or no video
|
1018 |
+
if ( ! $dslc_active && $atts['bg_video'] == '' && $atts['bg_image'] == '' && isset( $atts['bg_image_thumb'] ) && $atts['bg_image_thumb'] == 'disabled' ) {
|
1019 |
+
$bg_video = '';
|
1020 |
+
}
|
1021 |
+
|
1022 |
+
/**
|
1023 |
+
* Admin Classes
|
1024 |
+
*/
|
1025 |
+
|
1026 |
+
$a_container_class = '';
|
1027 |
+
$a_prepend = '';
|
1028 |
+
$a_append = '';
|
1029 |
+
|
1030 |
+
if ( $dslc_active ) {
|
1031 |
+
$a_container_class .= 'dslc-modules-section-empty ';
|
1032 |
+
$a_prepend = '<div class="dslc-modules-section-inner dslc-clearfix">';
|
1033 |
+
$a_append = '</div>';
|
1034 |
+
}
|
1035 |
+
|
1036 |
+
// Columns spacing
|
1037 |
+
if ( $atts['columns_spacing'] == 'nospacing' )
|
1038 |
+
$section_class .= 'dslc-no-columns-spacing ';
|
1039 |
+
|
1040 |
+
// Custom Class
|
1041 |
+
if ( $atts['custom_class'] != '' )
|
1042 |
+
$section_class .= $atts['custom_class'] . ' ';
|
1043 |
+
|
1044 |
+
// Show on Class
|
1045 |
+
if ( $atts['show_on'] != '' ) {
|
1046 |
+
|
1047 |
+
$show_on = explode( ' ', trim( $atts['show_on'] ) );
|
1048 |
+
|
1049 |
+
if ( ! in_array( 'desktop', $show_on ) ) {
|
1050 |
+
$section_class .= 'dslc-hide-on-desktop ';
|
1051 |
+
}
|
1052 |
+
|
1053 |
+
if ( ! in_array( 'tablet', $show_on ) ) {
|
1054 |
+
$section_class .= 'dslc-hide-on-tablet ';
|
1055 |
+
}
|
1056 |
+
|
1057 |
+
if ( ! in_array( 'phone', $show_on ) ) {
|
1058 |
+
$section_class .= 'dslc-hide-on-phone ';
|
1059 |
+
}
|
1060 |
+
|
1061 |
+
}
|
1062 |
+
|
1063 |
+
// Allows devs to add classes
|
1064 |
+
$filter_classes = array();
|
1065 |
+
$filter_classes = apply_filters( 'dslc_row_class', $filter_classes );
|
1066 |
+
$extra_classes = '';
|
1067 |
+
if ( count( $filter_classes ) > 0 ) {
|
1068 |
+
foreach ( $filter_classes as $filter_class ) {
|
1069 |
+
$extra_classes .= $filter_class . ' ';
|
1070 |
+
}
|
1071 |
+
}
|
1072 |
+
|
1073 |
+
// Custom ID
|
1074 |
+
$section_id = false;
|
1075 |
+
if ( $atts['custom_id'] != '' )
|
1076 |
+
$section_id = $atts['custom_id'];
|
1077 |
+
|
1078 |
+
// Custom ID - Output
|
1079 |
+
$section_id_output = '';
|
1080 |
+
if ( $section_id )
|
1081 |
+
$section_id_output = 'id="' . $section_id . '"';
|
1082 |
+
|
1083 |
+
$output = '
|
1084 |
+
<div ' . $section_id_output . ' class="dslc-modules-section ' . $a_container_class . $parallax_class . $section_class . $extra_classes .'" style="' . dslc_row_get_style( $atts ) . '">
|
1085 |
+
|
1086 |
+
'.$bg_video.'
|
1087 |
+
|
1088 |
+
<div class="dslc-modules-section-wrapper dslc-clearfix">'
|
1089 |
+
|
1090 |
+
. $a_prepend. do_shortcode( $content ) . $a_append
|
1091 |
+
|
1092 |
+
. '</div>';
|
1093 |
+
|
1094 |
+
if ( $dslc_active && is_user_logged_in() && current_user_can( DS_LIVE_COMPOSER_CAPABILITY ) ) {
|
1095 |
+
|
1096 |
+
// Management
|
1097 |
+
$output .= '
|
1098 |
+
<div class="dslca-modules-section-manage">
|
1099 |
+
<div class="dslca-modules-section-manage-inner">
|
1100 |
+
<span class="dslca-manage-action dslca-edit-modules-section-hook"><span class="dslca-icon dslc-icon-cog"></span></span>
|
1101 |
+
<span class="dslca-manage-action dslca-copy-modules-section-hook"><span class="dslca-icon dslc-icon-copy"></span></span>
|
1102 |
+
<span class="dslca-manage-action dslca-move-modules-section-hook"><span class="dslca-icon dslc-icon-move"></span></span>
|
1103 |
+
<span class="dslca-manage-action dslca-export-modules-section-hook"><span class="dslca-icon dslc-icon-upload-alt"></span></span>
|
1104 |
+
<span class="dslca-manage-action dslca-delete-modules-section-hook"><span class="dslca-icon dslc-icon-remove"></span></span>
|
1105 |
+
</div>
|
1106 |
+
</div>
|
1107 |
+
<div class="dslca-modules-section-settings">' . dslc_row_get_options_fields( $atts ) . '</div>' ;
|
1108 |
+
|
1109 |
+
// Loading
|
1110 |
+
$output .= '<div class="dslca-module-loading dslca-modules-area-loading"><div class="dslca-module-loading-inner"></div></div>';
|
1111 |
+
|
1112 |
+
}
|
1113 |
+
|
1114 |
+
$output .= '</div>';
|
1115 |
+
|
1116 |
+
// Return the output
|
1117 |
+
return $output;
|
1118 |
+
|
1119 |
+
} add_shortcode( 'dslc_modules_section', 'dslc_modules_section_front' );
|
1120 |
+
|
1121 |
+
/**
|
1122 |
+
* Output front end modules area content
|
1123 |
+
*
|
1124 |
+
* @since 1.0
|
1125 |
+
*/
|
1126 |
+
|
1127 |
+
function dslc_modules_area_front( $atts, $content = null ) {
|
1128 |
+
|
1129 |
+
global $dslc_active;
|
1130 |
+
|
1131 |
+
$pos_class = '';
|
1132 |
+
$module_area_size = $atts['size'];
|
1133 |
+
|
1134 |
+
if ( $atts['last'] == 'yes' )
|
1135 |
+
$pos_class = 'dslc-last-col';
|
1136 |
+
|
1137 |
+
if ( isset( $atts['first'] ) && $atts['first'] == 'yes' )
|
1138 |
+
$pos_class = 'dslc-first-col';
|
1139 |
+
|
1140 |
+
$output = '<div class="dslc-modules-area dslc-col dslc-' . $atts['size'] . '-col '. $pos_class .'" data-size="' . $atts['size'] . '">';
|
1141 |
+
|
1142 |
+
if ( $dslc_active && is_user_logged_in() && current_user_can( DS_LIVE_COMPOSER_CAPABILITY ) ) {
|
1143 |
+
|
1144 |
+
// Management
|
1145 |
+
$output .= '<div class="dslca-modules-area-manage">
|
1146 |
+
<span class="dslca-modules-area-manage-line"></span>
|
1147 |
+
<div class="dslca-modules-area-manage-inner">
|
1148 |
+
<span class="dslca-manage-action dslca-copy-modules-area-hook"><span class="dslca-icon dslc-icon-copy"></span></span>
|
1149 |
+
<span class="dslca-manage-action dslca-move-modules-area-hook"><span class="dslca-icon dslc-icon-move"></span></span>
|
1150 |
+
<span class="dslca-manage-action dslca-change-width-modules-area-hook">
|
1151 |
+
<span class="dslca-icon dslc-icon-columns"></span>
|
1152 |
+
<div class="dslca-change-width-modules-area-options">
|
1153 |
+
<span data-size="1">1/12</span><span data-size="2">2/12</span>
|
1154 |
+
<span data-size="3">3/12</span><span data-size="4">4/12</span>
|
1155 |
+
<span data-size="5">5/12</span><span data-size="6">6/12</span>
|
1156 |
+
<span data-size="7">7/12</span><span data-size="8">8/12</span>
|
1157 |
+
<span data-size="9">9/12</span><span data-size="10">10/12</span>
|
1158 |
+
<span data-size="11">11/12</span><span data-size="12">12/12</span>
|
1159 |
+
</div>
|
1160 |
+
</span>
|
1161 |
+
<span class="dslca-manage-action dslca-delete-modules-area-hook"><span class="dslca-icon dslc-icon-remove"></span></span>
|
1162 |
+
</div>
|
1163 |
+
</div>';
|
1164 |
+
|
1165 |
+
// No content info
|
1166 |
+
$output .= '<div class="dslca-no-content">
|
1167 |
+
<span class="dslca-no-content-primary"><span class="dslca-icon dslc-icon-download-alt"></span><span class="dslca-no-content-help-text">' . __( 'Drop modules here', 'live-composer-page-builder' ) . '</span></span>
|
1168 |
+
</div>';
|
1169 |
+
|
1170 |
+
// Loading
|
1171 |
+
$output .= '<div class="dslca-module-loading"><div class="dslca-module-loading-inner"></div></div>';
|
1172 |
+
|
1173 |
+
}
|
1174 |
+
|
1175 |
+
// Modules output
|
1176 |
+
if ( empty( $content ) || $content == ' ' )
|
1177 |
+
$output .= ' ';
|
1178 |
+
else
|
1179 |
+
$output .= do_shortcode( $content );
|
1180 |
+
|
1181 |
+
$output .= '</div>';
|
1182 |
+
|
1183 |
+
// Return the output
|
1184 |
+
return $output;
|
1185 |
+
|
1186 |
+
} add_shortcode( 'dslc_modules_area', 'dslc_modules_area_front' );
|
1187 |
+
|
1188 |
+
/**
|
1189 |
+
* Loads a template part
|
1190 |
+
*
|
1191 |
+
* @since 1.0
|
1192 |
+
*/
|
1193 |
+
function dslc_load_template( $filename, $default = '' ) {
|
1194 |
+
|
1195 |
+
$template = '';
|
1196 |
+
|
1197 |
+
// If filename supplied
|
1198 |
+
if ( $filename ) {
|
1199 |
+
|
1200 |
+
// Look for template in the theme
|
1201 |
+
$template = locate_template( array ( $filename ) );
|
1202 |
+
|
1203 |
+
// If not found in theme load default
|
1204 |
+
if ( ! $template )
|
1205 |
+
$template = DS_LIVE_COMPOSER_ABS . $default;
|
1206 |
+
|
1207 |
+
load_template( $template, false );
|
1208 |
+
|
1209 |
+
}
|
1210 |
+
|
1211 |
+
}
|
1212 |
+
|
1213 |
+
/**
|
1214 |
+
* Custom CSS
|
1215 |
+
*
|
1216 |
+
* @since 1.0
|
1217 |
+
*/
|
1218 |
+
|
1219 |
+
function dslc_custom_css() {
|
1220 |
+
|
1221 |
+
if ( ! is_singular() && ! is_archive() && ! is_author() && ! is_search() && ! is_404() && ! is_home() )
|
1222 |
+
return;
|
1223 |
+
|
1224 |
+
global $dslc_active;
|
1225 |
+
global $dslc_css_style;
|
1226 |
+
global $content_width;
|
1227 |
+
global $dslc_googlefonts_array;
|
1228 |
+
global $dslc_all_googlefonts_array;
|
1229 |
+
global $dslc_post_types;
|
1230 |
+
|
1231 |
+
$composer_code = '';
|
1232 |
+
$template_code = '';
|
1233 |
+
|
1234 |
+
$lc_width = dslc_get_option( 'lc_max_width', 'dslc_plugin_options' );
|
1235 |
+
|
1236 |
+
if ( empty( $lc_width ) ) {
|
1237 |
+
$lc_width = $content_width . 'px';
|
1238 |
+
} else {
|
1239 |
+
|
1240 |
+
if ( strpos( $lc_width, 'px' ) === false && strpos( $lc_width, '%' ) === false )
|
1241 |
+
$lc_width = $lc_width . 'px';
|
1242 |
+
|
1243 |
+
}
|
1244 |
+
|
1245 |
+
// Filter $lc_width ( for devs )
|
1246 |
+
$lc_width = apply_filters( 'dslc_content_width', $lc_width );
|
1247 |
+
|
1248 |
+
$template_ID = false;
|
1249 |
+
|
1250 |
+
// If single, load template
|
1251 |
+
if ( is_singular( $dslc_post_types ) ) {
|
1252 |
+
$template_ID = dslc_st_get_template_ID( get_the_ID() );
|
1253 |
+
}
|
1254 |
+
|
1255 |
+
// If archive, load template
|
1256 |
+
if ( is_archive() && ! is_author() && ! is_search() ) {
|
1257 |
+
$template_ID = dslc_get_option( get_post_type(), 'dslc_plugin_options_archives' );
|
1258 |
+
}
|
1259 |
+
|
1260 |
+
if ( is_author() ) {
|
1261 |
+
$template_ID = dslc_get_option( 'author', 'dslc_plugin_options_archives' );
|
1262 |
+
}
|
1263 |
+
|
1264 |
+
if ( is_search() ) {
|
1265 |
+
$template_ID = dslc_get_option( 'search_results', 'dslc_plugin_options_archives' );
|
1266 |
+
}
|
1267 |
+
|
1268 |
+
if ( is_404() ) {
|
1269 |
+
$template_ID = dslc_get_option( '404_page', 'dslc_plugin_options_archives' );
|
1270 |
+
}
|
1271 |
+
|
1272 |
+
// Header/Footer
|
1273 |
+
if ( $template_ID ) {
|
1274 |
+
$header_footer = dslc_hf_get_ID( $template_ID );
|
1275 |
+
} else if ( is_singular( $dslc_post_types ) ) {
|
1276 |
+
$template_ID = dslc_st_get_template_ID( get_the_ID() );
|
1277 |
+
$header_footer = dslc_hf_get_ID( $template_ID );
|
1278 |
+
} else {
|
1279 |
+
$header_footer = dslc_hf_get_ID( get_the_ID() );
|
1280 |
+
}
|
1281 |
+
|
1282 |
+
// Header
|
1283 |
+
if ( $header_footer['header'] ) {
|
1284 |
+
$header_code = get_post_meta( $header_footer['header'], 'dslc_code', true );
|
1285 |
+
$composer_code .= $header_code;
|
1286 |
+
}
|
1287 |
+
|
1288 |
+
// Footer
|
1289 |
+
if ( $header_footer['footer'] ) {
|
1290 |
+
$footer_code = get_post_meta( $header_footer['footer'], 'dslc_code', true );
|
1291 |
+
$composer_code .= $footer_code;
|
1292 |
+
}
|
1293 |
+
|
1294 |
+
// Template content
|
1295 |
+
if ( $template_ID ) {
|
1296 |
+
$composer_code .= get_post_meta( $template_ID, 'dslc_code', true );
|
1297 |
+
}
|
1298 |
+
|
1299 |
+
// Post/Page content
|
1300 |
+
$post_id = get_the_ID();
|
1301 |
+
$composer_code .= get_post_meta( $post_id, 'dslc_code', true );
|
1302 |
+
|
1303 |
+
echo '<style type="text/css">';
|
1304 |
+
|
1305 |
+
// If composer not used on this page stop execution
|
1306 |
+
if ( $composer_code ) {
|
1307 |
+
|
1308 |
+
// Replace shortcode names
|
1309 |
+
$composer_code = str_replace( 'dslc_modules_section', 'dslc_modules_section_gen_css', $composer_code );
|
1310 |
+
$composer_code = str_replace( 'dslc_modules_area', 'dslc_modules_area_gen_css', $composer_code );
|
1311 |
+
$composer_code = str_replace( '[dslc_module]', '[dslc_module_gen_css]', $composer_code );
|
1312 |
+
$composer_code = str_replace( '[dslc_module ', '[dslc_module_gen_css ', $composer_code );
|
1313 |
+
$composer_code = str_replace( '[/dslc_module]', '[/dslc_module_gen_css]', $composer_code );
|
1314 |
+
|
1315 |
+
// Do CSS shortcode
|
1316 |
+
do_shortcode( $composer_code );
|
1317 |
+
|
1318 |
+
// Google Fonts Import
|
1319 |
+
|
1320 |
+
$gfonts_output_subsets = '';
|
1321 |
+
$gfonts_subsets_arr = dslc_get_option( 'lc_gfont_subsets', 'dslc_plugin_options_performance' );
|
1322 |
+
if ( ! $gfonts_subsets_arr ) $gfonts_subsets_arr = array( 'latin', 'latin-ext', 'cyrillic', 'cyrillic-ext' );
|
1323 |
+
foreach ( $gfonts_subsets_arr as $gfonts_subset ) {
|
1324 |
+
if ( $gfonts_output_subsets == '' ) {
|
1325 |
+
$gfonts_output_subsets .= $gfonts_subset;
|
1326 |
+
} else {
|
1327 |
+
$gfonts_output_subsets .= ',' . $gfonts_subset;
|
1328 |
+
}
|
1329 |
+
}
|
1330 |
+
|
1331 |
+
if ( ! defined( 'DS_LIVE_COMPOSER_GFONTS' ) || DS_LIVE_COMPOSER_GFONTS ) {
|
1332 |
+
|
1333 |
+
$gfonts_output_prepend = '@import url("//fonts.googleapis.com/css?family=';
|
1334 |
+
$gfonts_output_append = '&subset=' . $gfonts_output_subsets . '"); ';
|
1335 |
+
$gfonts_ouput_inner = '';
|
1336 |
+
foreach ( $dslc_googlefonts_array as $gfont) {
|
1337 |
+
if ( in_array( $gfont, $dslc_all_googlefonts_array ) ) {
|
1338 |
+
$gfont = str_replace( ' ', '+', $gfont );
|
1339 |
+
if ( $gfont != '' ) {
|
1340 |
+
if ( $gfonts_ouput_inner == '' ) {
|
1341 |
+
$gfonts_ouput_inner .= $gfont . ':100,200,300,400,500,600,700,800,900';
|
1342 |
+
} else {
|
1343 |
+
$gfonts_ouput_inner .= '|' . $gfont . ':100,200,300,400,500,600,700,800,900';
|
1344 |
+
}
|
1345 |
+
}
|
1346 |
+
}
|
1347 |
+
}
|
1348 |
+
$gfonts_output = $gfonts_output_prepend . $gfonts_ouput_inner . $gfonts_output_append;
|
1349 |
+
if ( $gfonts_ouput_inner != '' ) echo $gfonts_output;
|
1350 |
+
|
1351 |
+
}
|
1352 |
+
|
1353 |
+
}
|
1354 |
+
|
1355 |
+
// Wrapper width
|
1356 |
+
echo '.dslc-modules-section-wrapper, .dslca-add-modules-section { width : ' . $lc_width . '; } ';
|
1357 |
+
|
1358 |
+
// Initial ( default ) row CSS
|
1359 |
+
echo dslc_row_get_initial_style();
|
1360 |
+
|
1361 |
+
// Echo CSS style
|
1362 |
+
if ( ! $dslc_active && $composer_code )
|
1363 |
+
echo $dslc_css_style;
|
1364 |
+
|
1365 |
+
echo '</style>';
|
1366 |
+
|
1367 |
+
|
1368 |
+
}
|
1369 |
+
|
1370 |
+
function dslc_dynamic_css_hook() {
|
1371 |
+
|
1372 |
+
$dynamic_css_location = dslc_get_option( 'lc_css_position', 'dslc_plugin_options' );
|
1373 |
+
if ( ! $dynamic_css_location ) $dynamic_css_location = 'head';
|
1374 |
+
if ( $dynamic_css_location == 'head' )
|
1375 |
+
add_action( 'wp_head', 'dslc_custom_css' );
|
1376 |
+
else
|
1377 |
+
add_action( 'wp_footer', 'dslc_custom_css' );
|
1378 |
+
|
1379 |
+
} add_action( 'init', 'dslc_dynamic_css_hook' );
|
1380 |
+
|
1381 |
+
/**
|
1382 |
+
* Generate CSS - Modules Section
|
1383 |
+
*/
|
1384 |
+
|
1385 |
+
function dslc_modules_section_gen_css( $atts, $content = null ) {
|
1386 |
+
|
1387 |
+
return do_shortcode( $content );
|
1388 |
+
|
1389 |
+
} add_shortcode( 'dslc_modules_section_gen_css', 'dslc_modules_section_gen_css' );
|
1390 |
+
|
1391 |
+
/**
|
1392 |
+
* Generate CSS - Modules Area
|
1393 |
+
*/
|
1394 |
+
|
1395 |
+
function dslc_modules_area_gen_css( $atts, $content = null ) {
|
1396 |
+
|
1397 |
+
return do_shortcode( $content );
|
1398 |
+
|
1399 |
+
} add_shortcode( 'dslc_modules_area_gen_css', 'dslc_modules_area_gen_css' );
|
1400 |
+
|
1401 |
+
/**
|
1402 |
+
* Generate CSS - Module
|
1403 |
+
*/
|
1404 |
+
|
1405 |
+
function dslc_module_gen_css( $atts, $settings_raw ) {
|
1406 |
+
|
1407 |
+
$settings = maybe_unserialize( base64_decode( $settings_raw ) );
|
1408 |
+
|
1409 |
+
// If it's an array
|
1410 |
+
if ( is_array( $settings ) ) {
|
1411 |
+
|
1412 |
+
// The ID of the module
|
1413 |
+
$module_id = $settings['module_id'];
|
1414 |
+
|
1415 |
+
// Check if module exists
|
1416 |
+
if ( ! dslc_is_module_active( $module_id ) )
|
1417 |
+
return;
|
1418 |
+
|
1419 |
+
// If class does not exists
|
1420 |
+
if ( ! class_exists( $module_id ) )
|
1421 |
+
return;
|
1422 |
+
|
1423 |
+
// Instanciate the module class
|
1424 |
+
$module_instance = new $module_id();
|
1425 |
+
|
1426 |
+
// Get array of options
|
1427 |
+
$options_arr = $module_instance->options();
|
1428 |
+
|
1429 |
+
// Load preset options if preset supplied
|
1430 |
+
$settings = apply_filters( 'dslc_filter_settings', $settings );
|
1431 |
+
|
1432 |
+
// Transform image ID to URL
|
1433 |
+
global $dslc_var_image_option_bckp;
|
1434 |
+
$dslc_var_image_option_bckp = array();
|
1435 |
+
foreach ( $options_arr as $option_arr ) {
|
1436 |
+
|
1437 |
+
if ( $option_arr['type'] == 'image' ) {
|
1438 |
+
if ( isset( $settings[$option_arr['id']] ) && ! empty( $settings[$option_arr['id']] ) && is_numeric( $settings[$option_arr['id']] ) ) {
|
1439 |
+
$dslc_var_image_option_bckp[$option_arr['id']] = $settings[$option_arr['id']];
|
1440 |
+
$image_info = wp_get_attachment_image_src( $settings[$option_arr['id']], 'full' );
|
1441 |
+
$settings[$option_arr['id']] = $image_info[0];
|
1442 |
+
}
|
1443 |
+
}
|
1444 |
+
|
1445 |
+
// Fix css_custom value ( issue when default changed programmatically )
|
1446 |
+
if ( $option_arr['id'] == 'css_custom' && $module_id == 'DSLC_Text_Simple' && ! isset( $settings['css_custom'] ) ) {
|
1447 |
+
$settings['css_custom'] = $option_arr['std'];
|
1448 |
+
}
|
1449 |
+
|
1450 |
+
}
|
1451 |
+
|
1452 |
+
// Generate custom CSS
|
1453 |
+
if ( ( $module_id == 'DSLC_TP_Content' || $module_id == 'DSLC_Html' ) && ! isset( $settings['css_custom'] ) )
|
1454 |
+
$css_output = '';
|
1455 |
+
elseif ( isset( $settings['css_custom'] ) && $settings['css_custom'] == 'disabled' )
|
1456 |
+
$css_output = '';
|
1457 |
+
else
|
1458 |
+
$css_output = dslc_generate_custom_css( $options_arr, $settings );
|
1459 |
+
|
1460 |
+
}
|
1461 |
+
|
1462 |
+
} add_shortcode( 'dslc_module_gen_css', 'dslc_module_gen_css' );
|
1463 |
+
|
1464 |
+
/**
|
1465 |
+
* Pagination for modules
|
1466 |
+
*/
|
1467 |
+
|
1468 |
+
function dslc_post_pagination( $atts ) {
|
1469 |
+
|
1470 |
+
if( is_front_page() ) { $paged = ( get_query_var( 'page' ) ) ? get_query_var( 'page' ) : 1; } else { $paged = ( get_query_var( 'paged' ) ) ? get_query_var( 'paged' ) : 1; }
|
1471 |
+
|
1472 |
+
if ( ! isset( $atts['force_number'] ) ) $force_number = false; else $force_number = $atts['force_number'];
|
1473 |
+
if ( ! isset( $atts['pages'] ) ) $pages = false; else $pages = $atts['pages'];
|
1474 |
+
if ( ! isset( $atts['type'] ) ) $type = 'numbered'; else $type = $atts['type'];
|
1475 |
+
$range = 2;
|
1476 |
+
|
1477 |
+
$showitems = ($range * 2)+1;
|
1478 |
+
|
1479 |
+
if ( empty ( $paged ) ) { $paged = 1; }
|
1480 |
+
|
1481 |
+
if ( $pages == '' ) {
|
1482 |
+
global $wp_query;
|
1483 |
+
$pages = $wp_query->max_num_pages;
|
1484 |
+
if( ! $pages ) {
|
1485 |
+
$pages = 1;
|
1486 |
+
}
|
1487 |
+
}
|
1488 |
+
|
1489 |
+
if( 1 != $pages ) {
|
1490 |
+
|
1491 |
+
?>
|
1492 |
+
<div class="dslc-pagination dslc-pagination-type-<?php echo $type; ?>">
|
1493 |
+
<ul class="dslc-clearfix">
|
1494 |
+
<?php
|
1495 |
+
|
1496 |
+
if ( $type == 'numbered' ) {
|
1497 |
+
|
1498 |
+
if($paged > 2 && $paged > $range+1 && $showitems < $pages) { echo "<li class='dslc-inactive'><a href='".get_pagenum_link(1)."'>«</a></li>"; }
|
1499 |
+
if($paged > 1 && $showitems < $pages) { echo "<li class='dslc-inactive'><a href='".get_pagenum_link($paged - 1)."' >‹</a></li>"; }
|
1500 |
+
|
1501 |
+
for ($i=1; $i <= $pages; $i++){
|
1502 |
+
if (1 != $pages &&(!($i >= $paged+$range+1 || $i <= $paged-$range-1) || $pages <= $showitems)){
|
1503 |
+
echo ($paged == $i)? "<li class='dslc-active'><a href='".get_pagenum_link($i)."'>".$i."</a></li>":"<li class='dslc-inactive'><a class='inactive' href='".get_pagenum_link($i)."'>".$i."</a></li>";
|
1504 |
+
}
|
1505 |
+
}
|
1506 |
+
|
1507 |
+
if ($paged < $pages && $showitems < $pages) { echo "<li class='dslc-inactive'><a href='".get_pagenum_link($paged + 1)."'>›</a></li>"; }
|
1508 |
+
if ($paged < $pages-1 && $paged+$range-1 < $pages && $showitems < $pages) { echo "<li class='dslc-inactive'><a href='".get_pagenum_link($pages)."'>»</a></li>"; }
|
1509 |
+
|
1510 |
+
} elseif ( $type == 'prevnext' ) {
|
1511 |
+
|
1512 |
+
if($paged > 1 ) { echo "<li class='dslc-inactive dslc-fl'><a href='".get_pagenum_link($paged - 1)."' >" . __( 'Newer', 'live-composer-page-builder' ) . "</a></li>"; }
|
1513 |
+
if ($paged < $pages ) { echo "<li class='dslc-inactive dslc-fr'><a href='".get_pagenum_link($paged + 1)."'>" . __( 'Older', 'live-composer-page-builder' ) . "</a></li>"; }
|
1514 |
+
|
1515 |
+
}
|
1516 |
+
|
1517 |
+
if ( $type == 'loadmore' ) {
|
1518 |
+
if ($paged < $pages ) {
|
1519 |
+
echo "<li class='dslc-pagination-load-more dslc-active'><a href='".get_pagenum_link($paged + 1)."'><span class='dslc-icon dslc-icon-refresh'></span>" . __( 'LOAD MORE ITEMS', 'live-composer-page-builder' ) . "</a></li>";
|
1520 |
+
} else {
|
1521 |
+
echo "<li class='dslc-pagination-load-more dslc-inactive'><a href='#'><span class='dslc-icon dslc-icon-refresh'></span>" . __( 'LOAD MORE ITEMS', 'live-composer-page-builder' ) . "</a></li>";
|
1522 |
+
}
|
1523 |
+
}
|
1524 |
+
|
1525 |
+
?>
|
1526 |
+
</ul>
|
1527 |
+
|
1528 |
+
<?php if ( $type == 'loadmore' ) : ?>
|
1529 |
+
<div class="dslc-load-more-temp"></div>
|
1530 |
+
<?php endif; ?>
|
1531 |
+
|
1532 |
+
</div><!-- .dslc-pagination --><?php
|
1533 |
+
}
|
1534 |
+
|
1535 |
}
|
includes/functions.php
CHANGED
@@ -1,843 +1,843 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
/**
|
4 |
-
* Table of Contents
|
5 |
-
*
|
6 |
-
* - dslc_load_translation ( Load the text domain )
|
7 |
-
* - dslc_register_modules ( Register default module and calls action used to register custom modules )
|
8 |
-
* - dslc_register_module ( Register a module )
|
9 |
-
* - dslc_unregister_module ( Unregister a module )
|
10 |
-
* - dslc_module_settings ( Get settings of a specific module )
|
11 |
-
* - dslc_generate_custom_css ( Generate module CSS )
|
12 |
-
* - dslc_get_new_module_id ( Get new unique ID )
|
13 |
-
* - dslc_register_template ( Register a template )
|
14 |
-
* - dslc_unregister_template ( Unregister a template )
|
15 |
-
* - dslc_body_class ( Add custom classes to the body tag )
|
16 |
-
* - dslc_set_defaults ( Replaces the default option values )
|
17 |
-
* - dslc_is_module_active ( Check if a specific module is active - can be disabled in LC settings )
|
18 |
-
* - dslc_save_preset ( Save a preset )
|
19 |
-
* - dslc_is_editor_active ( Check if the editor is currently active )
|
20 |
-
* - dslc_get_code ( Gets LC code of a specific post/page )
|
21 |
-
* - dslc_get_templates ( Returns an array of active templates )
|
22 |
-
* - dslc_set_default_templates ( Set default templates )
|
23 |
-
* - dslc_set_user_templates ( Set user templates )
|
24 |
-
*/
|
25 |
-
|
26 |
-
/**
|
27 |
-
* Load text domain
|
28 |
-
*
|
29 |
-
* @since 1.0.3
|
30 |
-
*/
|
31 |
-
|
32 |
-
function dslc_load_translation() {
|
33 |
-
|
34 |
-
load_plugin_textdomain( 'live-composer-page-builder', false, DS_LIVE_COMPOSER_DIR_NAME . '/lang/' );
|
35 |
-
|
36 |
-
} add_action( 'plugins_loaded', 'dslc_load_translation' );
|
37 |
-
|
38 |
-
/**
|
39 |
-
* Registers default and custom modules
|
40 |
-
*
|
41 |
-
* @since 1.0
|
42 |
-
*/
|
43 |
-
|
44 |
-
function dslc_register_modules() {
|
45 |
-
|
46 |
-
// Register default modules
|
47 |
-
dslc_register_module( 'DSLC_TP_Thumbnail' );
|
48 |
-
dslc_register_module( 'DSLC_TP_Title' );
|
49 |
-
dslc_register_module( 'DSLC_TP_Content' );
|
50 |
-
dslc_register_module( 'DSLC_TP_Excerpt' );
|
51 |
-
dslc_register_module( 'DSLC_TP_Meta' );
|
52 |
-
dslc_register_module( 'DSLC_TP_Downloads_Button' );
|
53 |
-
dslc_register_module( 'DSLC_TP_Gallery_Slider' );
|
54 |
-
dslc_register_module( 'DSLC_TP_Project_Slider' );
|
55 |
-
dslc_register_module( 'DSLC_TP_Comments' );
|
56 |
-
dslc_register_module( 'DSLC_TP_Comments_Form' );
|
57 |
-
dslc_register_module( 'DSLC_TP_Staff_Social' );
|
58 |
-
dslc_register_module( 'DSLC_Accordion' );
|
59 |
-
dslc_register_module( 'DSLC_Separator' );
|
60 |
-
dslc_register_module( 'DSLC_Text_Simple' );
|
61 |
-
dslc_register_module( 'DSLC_Html' );
|
62 |
-
dslc_register_module( 'DSLC_Posts' );
|
63 |
-
dslc_register_module( 'DSLC_Blog' );
|
64 |
-
dslc_register_module( 'DSLC_Projects' );
|
65 |
-
dslc_register_module( 'DSLC_Galleries' );
|
66 |
-
dslc_register_module( 'DSLC_Downloads' );
|
67 |
-
dslc_register_module( 'DSLC_Testimonials' );
|
68 |
-
dslc_register_module( 'DSLC_Staff' );
|
69 |
-
dslc_register_module( 'DSLC_Partners' );
|
70 |
-
dslc_register_module( 'DSLC_WooCommerce_Products' );
|
71 |
-
dslc_register_module( 'DSLC_Social' );
|
72 |
-
dslc_register_module( 'DSLC_Notification' );
|
73 |
-
dslc_register_module( 'DSLC_Button' );
|
74 |
-
dslc_register_module( 'DSLC_Image' );
|
75 |
-
dslc_register_module( 'DSLC_Tabs' );
|
76 |
-
dslc_register_module( 'DSLC_Progress_Bars' );
|
77 |
-
dslc_register_module( 'DSLC_Sliders' );
|
78 |
-
dslc_register_module( 'DSLC_Info_Box' );
|
79 |
-
dslc_register_module( 'DSLC_Widgets' );
|
80 |
-
dslc_register_module( 'DSLC_Icon' );
|
81 |
-
dslc_register_module( 'DSLC_Navigation' );
|
82 |
-
|
83 |
-
// Hook to register custom modules
|
84 |
-
do_action( 'dslc_hook_register_modules' );
|
85 |
-
do_action( 'dslc_hook_unregister_modules' );
|
86 |
-
|
87 |
-
} add_action( 'init', 'dslc_register_modules', 1 );
|
88 |
-
|
89 |
-
|
90 |
-
/**
|
91 |
-
* Register module
|
92 |
-
*
|
93 |
-
* @since 1.0
|
94 |
-
*/
|
95 |
-
|
96 |
-
function dslc_register_module( $module_id ) {
|
97 |
-
|
98 |
-
// Array that holds all active modules
|
99 |
-
global $dslc_var_modules;
|
100 |
-
|
101 |
-
// Instanciate the module class
|
102 |
-
$module_instance = new $module_id();
|
103 |
-
|
104 |
-
// Icon
|
105 |
-
if ( ! isset( $module_instance->module_icon) )
|
106 |
-
$module_instance->module_icon = '';
|
107 |
-
|
108 |
-
// Category/Origin
|
109 |
-
if ( ! isset( $module_instance->module_category) )
|
110 |
-
$module_instance->module_category = 'other';
|
111 |
-
|
112 |
-
// If the array ID not taken
|
113 |
-
if ( ! isset( $dslc_var_modules[$module_id] ) ) {
|
114 |
-
|
115 |
-
// Append new module to the global array
|
116 |
-
$dslc_var_modules[ $module_id ] = array(
|
117 |
-
'id' => $module_id,
|
118 |
-
'title' => $module_instance->module_title,
|
119 |
-
'icon' => $module_instance->module_icon,
|
120 |
-
'origin' => $module_instance->module_category
|
121 |
-
);
|
122 |
-
|
123 |
-
}
|
124 |
-
|
125 |
-
}
|
126 |
-
|
127 |
-
/**
|
128 |
-
* Unregister module
|
129 |
-
*
|
130 |
-
* @since 1.0
|
131 |
-
*/
|
132 |
-
|
133 |
-
function dslc_unregister_module( $module_id ) {
|
134 |
-
|
135 |
-
// Array that holds all active modules
|
136 |
-
global $dslc_var_modules;
|
137 |
-
|
138 |
-
// Remove module from array
|
139 |
-
unset( $dslc_var_modules[ $module_id ] );
|
140 |
-
|
141 |
-
}
|
142 |
-
|
143 |
-
/**
|
144 |
-
* Module Settings
|
145 |
-
*
|
146 |
-
* Generates settings based on default values and user values
|
147 |
-
*
|
148 |
-
* @since 1.0
|
149 |
-
*/
|
150 |
-
|
151 |
-
function dslc_module_settings( $options, $custom = false ) {
|
152 |
-
|
153 |
-
// Array to hold the settings
|
154 |
-
$settings = array();
|
155 |
-
|
156 |
-
// Go through all options
|
157 |
-
foreach( $options as $option ) {
|
158 |
-
|
159 |
-
// If value set use it
|
160 |
-
if ( isset( $_POST[ $option['id'] ] ) ) {
|
161 |
-
$settings[ $option['id'] ] = $_POST[ $option['id'] ];
|
162 |
-
// If value not set use default
|
163 |
-
} else {
|
164 |
-
$settings[ $option['id'] ] = $option['std'];
|
165 |
-
}
|
166 |
-
|
167 |
-
}
|
168 |
-
|
169 |
-
return $settings;
|
170 |
-
|
171 |
-
}
|
172 |
-
|
173 |
-
/**
|
174 |
-
* Generates module CSS
|
175 |
-
*
|
176 |
-
* @since 1.0
|
177 |
-
*/
|
178 |
-
|
179 |
-
function dslc_generate_custom_css( $options_arr, $settings, $restart = false ) {
|
180 |
-
|
181 |
-
$css_output = '';
|
182 |
-
global $dslc_googlefonts_array;
|
183 |
-
$googlefonts_output = '';
|
184 |
-
$regular_fonts = array( "Georgia", "Times", "Arial", "Lucida Sans Unicode", "Tahoma", "Trebuchet MS", "Verdana", "Helvetica" );
|
185 |
-
$organized_array = array();
|
186 |
-
|
187 |
-
global $dslc_css_fonts;
|
188 |
-
global $dslc_css_style;
|
189 |
-
|
190 |
-
$important_append = '';
|
191 |
-
$force_important = dslc_get_option( 'lc_force_important_css', 'dslc_plugin_options' );
|
192 |
-
if ( $force_important == 'enabled' )
|
193 |
-
$important_append = ' !important';
|
194 |
-
|
195 |
-
if ( isset( $_GET['dslc'] ) && $_GET['dslc'] == 'active' ) {
|
196 |
-
$important_append = '';
|
197 |
-
}
|
198 |
-
|
199 |
-
if ( $restart == true ) {
|
200 |
-
|
201 |
-
$dslc_css_fonts = '';
|
202 |
-
$dslc_css_style = '';
|
203 |
-
|
204 |
-
}
|
205 |
-
|
206 |
-
// Go through array of options
|
207 |
-
foreach ( $options_arr as $option_arr ) {
|
208 |
-
|
209 |
-
// Fix for "alter_defaults" and responsive tablet state
|
210 |
-
if ( $option_arr['id'] == 'css_res_t' && $option_arr['std'] == 'enabled' && ! isset( $settings['css_res_t'] ) )
|
211 |
-
$settings['css_res_t'] = 'enabled';
|
212 |
-
|
213 |
-
// Fix for "alter_defaults" and responsive phone state
|
214 |
-
if ( $option_arr['id'] == 'css_res_p' && $option_arr['std'] == 'enabled' && ! isset( $settings['css_res_p'] ) )
|
215 |
-
$settings['css_res_p'] = 'enabled';
|
216 |
-
|
217 |
-
// If option type is done with CSS and option is set
|
218 |
-
if ( isset( $option_arr['affect_on_change_el'] ) && isset( $option_arr['affect_on_change_rule'] ) ) {
|
219 |
-
|
220 |
-
// Default
|
221 |
-
if ( ! isset( $settings[$option_arr['id']] ) )
|
222 |
-
$settings[$option_arr['id']] = $option_arr['std'];
|
223 |
-
|
224 |
-
// Extension (px, %, em...)
|
225 |
-
$ext = ' ';
|
226 |
-
if ( isset( $option_arr['ext'] ) )
|
227 |
-
$ext = $option_arr['ext'];
|
228 |
-
|
229 |
-
// Prepend
|
230 |
-
$prepend = '';
|
231 |
-
if ( isset( $option_arr['prepend'] ) )
|
232 |
-
$prepend = $option_arr['prepend'];
|
233 |
-
|
234 |
-
// Append
|
235 |
-
$append = '';
|
236 |
-
if ( isset( $option_arr['append'] ) )
|
237 |
-
$append = $option_arr['append'];
|
238 |
-
|
239 |
-
if ( $option_arr['type'] == 'image' ) {
|
240 |
-
$prepend = 'url("';
|
241 |
-
$append = '")';
|
242 |
-
}
|
243 |
-
|
244 |
-
// Get element and CSS rule
|
245 |
-
$affect_rule_raw = $option_arr['affect_on_change_rule'];
|
246 |
-
$affect_rules_arr = explode( ',', $affect_rule_raw );
|
247 |
-
|
248 |
-
// Affect Element
|
249 |
-
$affect_el = '';
|
250 |
-
$affect_els_arr = explode( ',', $option_arr['affect_on_change_el'] );
|
251 |
-
$count = 0;
|
252 |
-
foreach ( $affect_els_arr as $affect_el_arr) {
|
253 |
-
$count++;
|
254 |
-
if ( $count > 1 ) {
|
255 |
-
$affect_el .= ',';
|
256 |
-
}
|
257 |
-
|
258 |
-
if ( isset( $option_arr['section'] ) && $option_arr['section'] == 'responsive' ) {
|
259 |
-
|
260 |
-
switch ( $option_arr['tab'] ) {
|
261 |
-
case __( 'tablet', 'live-composer-page-builder' ):
|
262 |
-
if ( isset( $settings['css_res_t'] ) && $settings['css_res_t'] == 'enabled' )
|
263 |
-
$affect_el .= 'body.dslc-res-tablet #dslc-content #dslc-module-' . $settings['module_instance_id'] . ' ' . $affect_el_arr;
|
264 |
-
break;
|
265 |
-
case __( 'phone', 'live-composer-page-builder' ):
|
266 |
-
if ( isset( $settings['css_res_p'] ) && $settings['css_res_p'] == 'enabled' )
|
267 |
-
$affect_el .= 'body.dslc-res-phone #dslc-content #dslc-module-' . $settings['module_instance_id'] . ' ' . $affect_el_arr;
|
268 |
-
break;
|
269 |
-
}
|
270 |
-
|
271 |
-
} else {
|
272 |
-
$affect_el .= '#dslc-content #dslc-module-' . $settings['module_instance_id'] . ' ' . $affect_el_arr;
|
273 |
-
}
|
274 |
-
|
275 |
-
}
|
276 |
-
|
277 |
-
// Checkbox ( CSS )
|
278 |
-
if ( $option_arr['type'] == 'checkbox' && $option_arr['refresh_on_change'] == false ) {
|
279 |
-
|
280 |
-
$checkbox_val = '';
|
281 |
-
$checkbox_arr = explode( ' ', trim( $settings[$option_arr['id']] ) );
|
282 |
-
|
283 |
-
if ( in_array( 'top', $checkbox_arr ) )
|
284 |
-
$checkbox_val .= 'solid ';
|
285 |
-
else
|
286 |
-
$checkbox_val .= 'none ';
|
287 |
-
|
288 |
-
if ( in_array( 'right', $checkbox_arr ) )
|
289 |
-
$checkbox_val .= 'solid ';
|
290 |
-
else
|
291 |
-
$checkbox_val .= 'none ';
|
292 |
-
|
293 |
-
if ( in_array( 'bottom', $checkbox_arr ) )
|
294 |
-
$checkbox_val .= 'solid ';
|
295 |
-
else
|
296 |
-
$checkbox_val .= 'none ';
|
297 |
-
|
298 |
-
if ( in_array( 'left', $checkbox_arr ) )
|
299 |
-
$checkbox_val .= 'solid ';
|
300 |
-
else
|
301 |
-
$checkbox_val .= 'none ';
|
302 |
-
|
303 |
-
$settings[$option_arr['id']] = $checkbox_val;
|
304 |
-
|
305 |
-
}
|
306 |
-
|
307 |
-
// Colors (transparent if empy )
|
308 |
-
if ( $settings[$option_arr['id']] == '' && ( $option_arr['affect_on_change_rule'] == 'background' || $option_arr['affect_on_change_rule'] == 'background-color' ) ) {
|
309 |
-
|
310 |
-
$settings[$option_arr['id']] = 'transparent';
|
311 |
-
|
312 |
-
}
|
313 |
-
|
314 |
-
foreach ( $affect_rules_arr as $affect_rule ) {
|
315 |
-
$organized_array[$affect_el][$affect_rule] = $prepend . $settings[$option_arr['id']] . $ext . $append;
|
316 |
-
}
|
317 |
-
|
318 |
-
}
|
319 |
-
|
320 |
-
// If option type is font
|
321 |
-
if ( $option_arr['type'] == 'font' ) {
|
322 |
-
|
323 |
-
if ( ! in_array( $settings[$option_arr['id']], $dslc_googlefonts_array ) && ! in_array( $settings[$option_arr['id']], $regular_fonts ) )
|
324 |
-
$dslc_googlefonts_array[] = $settings[$option_arr['id']];
|
325 |
-
|
326 |
-
}
|
327 |
-
|
328 |
-
}
|
329 |
-
|
330 |
-
if ( count( $organized_array ) > 0 ) {
|
331 |
-
|
332 |
-
foreach ( $organized_array as $el => $rules ) {
|
333 |
-
|
334 |
-
$css_output .= $el . ' { ';
|
335 |
-
|
336 |
-
foreach ( $rules as $rule => $value ) {
|
337 |
-
|
338 |
-
if ( trim( $value ) != '' && trim( $value ) != 'url(" ")' ) {
|
339 |
-
|
340 |
-
$css_output .= $rule . ' : ' . $value . $important_append . '; ';
|
341 |
-
|
342 |
-
}
|
343 |
-
|
344 |
-
}
|
345 |
-
|
346 |
-
$css_output .= ' } ';
|
347 |
-
|
348 |
-
}
|
349 |
-
|
350 |
-
}
|
351 |
-
|
352 |
-
$dslc_css_style .= $css_output;
|
353 |
-
|
354 |
-
}
|
355 |
-
|
356 |
-
/**
|
357 |
-
* Returns an unique module ID
|
358 |
-
*
|
359 |
-
* @since 1.0
|
360 |
-
*/
|
361 |
-
|
362 |
-
function dslc_get_new_module_id() {
|
363 |
-
|
364 |
-
// Allowed to do this?
|
365 |
-
if ( is_user_logged_in() && current_user_can( DS_LIVE_COMPOSER_CAPABILITY ) ) {
|
366 |
-
|
367 |
-
// Get current count
|
368 |
-
$module_id_count = get_option( 'dslc_module_id_count' );
|
369 |
-
|
370 |
-
// Increment by one
|
371 |
-
$module_instance_id = $module_id_count + 1;
|
372 |
-
|
373 |
-
// Update the count
|
374 |
-
update_option( 'dslc_module_id_count', $module_instance_id );
|
375 |
-
|
376 |
-
// Return new ID
|
377 |
-
return $module_instance_id;
|
378 |
-
|
379 |
-
}
|
380 |
-
|
381 |
-
}
|
382 |
-
|
383 |
-
/**
|
384 |
-
* Hooks to register/unregister templates
|
385 |
-
*
|
386 |
-
* @since 1.0
|
387 |
-
*/
|
388 |
-
|
389 |
-
function dslc_register_templates() {
|
390 |
-
|
391 |
-
do_action( 'dslc_hook_register_templates' );
|
392 |
-
do_action( 'dslc_hook_unregister_templates' );
|
393 |
-
|
394 |
-
} add_action( 'init', 'dslc_register_templates', 1 );
|
395 |
-
|
396 |
-
/**
|
397 |
-
* Register a template
|
398 |
-
*
|
399 |
-
* @since 1.0
|
400 |
-
*/
|
401 |
-
|
402 |
-
function dslc_register_template( $template ) {
|
403 |
-
|
404 |
-
// Global variable that holds templates information
|
405 |
-
global $dslc_var_templates;
|
406 |
-
|
407 |
-
// If an array supplied proceed
|
408 |
-
if ( is_array( $template ) ) {
|
409 |
-
|
410 |
-
// If the array ID not taken
|
411 |
-
if ( ! isset( $dslc_var_templates[$template['id']] ) ) {
|
412 |
-
|
413 |
-
// Add the template to the templates array
|
414 |
-
$dslc_var_templates[$template['id']] = $template;
|
415 |
-
|
416 |
-
}
|
417 |
-
|
418 |
-
}
|
419 |
-
|
420 |
-
}
|
421 |
-
|
422 |
-
/**
|
423 |
-
* Unregister a template
|
424 |
-
*
|
425 |
-
* @since 1.0
|
426 |
-
*/
|
427 |
-
|
428 |
-
function dslc_unregister_template( $template_ID ) {
|
429 |
-
|
430 |
-
// Global variable that holds templates information
|
431 |
-
global $dslc_var_templates;
|
432 |
-
|
433 |
-
// If the template exists
|
434 |
-
if ( isset( $dslc_var_templates[$template_ID] ) ) {
|
435 |
-
|
436 |
-
// Remove the template from the templates array
|
437 |
-
unset( $dslc_var_templates[$template_ID] );
|
438 |
-
|
439 |
-
}
|
440 |
-
|
441 |
-
}
|
442 |
-
|
443 |
-
/**
|
444 |
-
* Add custom classes to the body tag
|
445 |
-
*
|
446 |
-
* @since 1.0
|
447 |
-
*/
|
448 |
-
|
449 |
-
function dslc_body_class( $classes ) {
|
450 |
-
|
451 |
-
global $dslc_post_types;
|
452 |
-
|
453 |
-
$proceed = false;
|
454 |
-
$has_lc_content = false;
|
455 |
-
$has_lc_header_footer = false;
|
456 |
-
|
457 |
-
if ( is_archive() && ! is_author() && ! is_search() ) {
|
458 |
-
$template_ID = dslc_get_option( get_post_type(), 'dslc_plugin_options_archives' );
|
459 |
-
if ( $template_ID ) {
|
460 |
-
$proceed = true;
|
461 |
-
$has_lc_content = true;
|
462 |
-
}
|
463 |
-
}
|
464 |
-
|
465 |
-
if ( is_author() ) {
|
466 |
-
$template_ID = dslc_get_option( 'author', 'dslc_plugin_options_archives' );
|
467 |
-
if ( $template_ID ) {
|
468 |
-
$proceed = true;
|
469 |
-
$has_lc_content = true;
|
470 |
-
}
|
471 |
-
}
|
472 |
-
|
473 |
-
if ( is_search() ) {
|
474 |
-
$template_ID = dslc_get_option( 'search_results', 'dslc_plugin_options_archives' );
|
475 |
-
if ( $template_ID ) {
|
476 |
-
$proceed = true;
|
477 |
-
$has_lc_content = true;
|
478 |
-
}
|
479 |
-
}
|
480 |
-
|
481 |
-
if ( is_singular() )
|
482 |
-
$proceed = true;
|
483 |
-
|
484 |
-
if ( $proceed == false )
|
485 |
-
return $classes;
|
486 |
-
|
487 |
-
// If page in LC mode, force the class
|
488 |
-
if ( isset( $_GET['dslc'] ) && $_GET['dslc'] == 'active' )
|
489 |
-
$has_lc_content = true;
|
490 |
-
|
491 |
-
|
492 |
-
// Still nothing, let's check if there's real LC content on the page
|
493 |
-
if ( ! $has_lc_content ) {
|
494 |
-
|
495 |
-
// Get the dslc_code custom field
|
496 |
-
$dslc_code = get_post_meta( get_the_ID(), 'dslc_code', true );
|
497 |
-
|
498 |
-
// If there is LC content, allow the class
|
499 |
-
if ( $dslc_code )
|
500 |
-
$has_lc_content = true;
|
501 |
-
|
502 |
-
}
|
503 |
-
|
504 |
-
// Still nothing, let's check if it's a post and has an LC template
|
505 |
-
if ( ! $has_lc_content && is_singular( $dslc_post_types ) ) {
|
506 |
-
|
507 |
-
// Get the ID of the template
|
508 |
-
$template_ID = dslc_st_get_template_ID( get_the_ID() );
|
509 |
-
|
510 |
-
// If tempalte exists, allow the class
|
511 |
-
if ( $template_ID )
|
512 |
-
$has_lc_content = true;
|
513 |
-
|
514 |
-
}
|
515 |
-
|
516 |
-
// Let's check if it has LC powered header/footer
|
517 |
-
$header_footer = dslc_hf_get_ID( get_the_ID() );
|
518 |
-
if ( $header_footer['header'] || $header_footer['footer'] ) {
|
519 |
-
$has_lc_header_footer = true;
|
520 |
-
}
|
521 |
-
|
522 |
-
// If has LC content append class
|
523 |
-
if ( $has_lc_content || $has_lc_header_footer )
|
524 |
-
$classes[] = 'dslc-page';
|
525 |
-
|
526 |
-
if ( $has_lc_content )
|
527 |
-
$classes[] = 'dslc-page-has-content';
|
528 |
-
|
529 |
-
if ( $has_lc_header_footer )
|
530 |
-
$classes[] = 'dslc-page-has-hf';
|
531 |
-
|
532 |
-
// If responsive disabled append class
|
533 |
-
if ( defined( 'DS_LIVE_COMPOSER_RESPONSIVE' ) && ! DS_LIVE_COMPOSER_RESPONSIVE )
|
534 |
-
$classes[] = 'dslc-res-disabled';
|
535 |
-
|
536 |
-
// Return the modified array
|
537 |
-
return $classes;
|
538 |
-
|
539 |
-
} add_filter( 'body_class', 'dslc_body_class' );
|
540 |
-
|
541 |
-
/**
|
542 |
-
* Replaces the default option values
|
543 |
-
*
|
544 |
-
* @since 1.0
|
545 |
-
*/
|
546 |
-
|
547 |
-
function dslc_set_defaults( $new_defaults, $options ) {
|
548 |
-
|
549 |
-
// If no new defaults, pass it back and stop
|
550 |
-
if ( ! $new_defaults )
|
551 |
-
return $options;
|
552 |
-
|
553 |
-
// Generate an array of options IDs to alter
|
554 |
-
$def_ids = array();
|
555 |
-
foreach ( $new_defaults as $key => $val ) {
|
556 |
-
$def_ids[] = $key;
|
557 |
-
}
|
558 |
-
|
559 |
-
// Go through all the options
|
560 |
-
foreach ( $options as $opt_key => $option ) {
|
561 |
-
|
562 |
-
if ( in_array( $option['id'], $def_ids ) ) {
|
563 |
-
$options[$opt_key]['std'] = $new_defaults[$option['id']];
|
564 |
-
}
|
565 |
-
|
566 |
-
}
|
567 |
-
|
568 |
-
// Pass back the options array
|
569 |
-
return $options;
|
570 |
-
|
571 |
-
}
|
572 |
-
|
573 |
-
/**
|
574 |
-
* Check if module is active
|
575 |
-
*/
|
576 |
-
|
577 |
-
function dslc_is_module_active( $module_ID, $check_registered = false ) {
|
578 |
-
|
579 |
-
global $dslc_var_modules;
|
580 |
-
|
581 |
-
if ( dslc_get_option( $module_ID, 'dslc_plugin_options_features' ) == 'disabled' )
|
582 |
-
return false;
|
583 |
-
elseif ( $check_registered == true && ! isset( $dslc_var_modules[$module_ID] ) )
|
584 |
-
return false;
|
585 |
-
else
|
586 |
-
return true;
|
587 |
-
|
588 |
-
}
|
589 |
-
|
590 |
-
/**
|
591 |
-
* Save Preset
|
592 |
-
*
|
593 |
-
* @since 1.0
|
594 |
-
*/
|
595 |
-
|
596 |
-
function dslc_save_preset( $preset_name, $preset_code_raw, $module_id ) {
|
597 |
-
|
598 |
-
$preset_id = strtolower( str_replace( ' ', '-', $preset_name) );
|
599 |
-
|
600 |
-
// Clean up ( step 1 - get data )
|
601 |
-
$preset_code_raw = maybe_unserialize( base64_decode( $preset_code_raw ) );
|
602 |
-
$preset_code = array();
|
603 |
-
$module = new $module_id();
|
604 |
-
$module_options = $module->options();
|
605 |
-
|
606 |
-
// Clean up ( step 2 - generate correct preset code )
|
607 |
-
foreach( $module_options as $module_option ) {
|
608 |
-
|
609 |
-
// allowed to have a preset
|
610 |
-
if ( ! isset( $module_option['include_in_preset'] ) || $module_option['include_in_preset'] == true ) {
|
611 |
-
|
612 |
-
// modules section not set or module section not functionality
|
613 |
-
if ( ( isset( $module_option['section'] ) && $module_option['section'] !== 'functionality' ) && ( ! isset( $module_option['visibility'] ) || $module_option['visibility'] !== 'hidden' ) ) {
|
614 |
-
|
615 |
-
if ( isset ( $preset_code_raw[$module_option['id']] ) ) {
|
616 |
-
$preset_code[$module_option['id']] = $preset_code_raw[$module_option['id']];
|
617 |
-
}
|
618 |
-
}
|
619 |
-
|
620 |
-
}
|
621 |
-
|
622 |
-
}
|
623 |
-
|
624 |
-
// Clean up ( step 3 - final )
|
625 |
-
$preset_code = base64_encode( maybe_serialize( $preset_code ) );
|
626 |
-
|
627 |
-
// Get current presets
|
628 |
-
$presets = get_option( 'dslc_presets' );
|
629 |
-
|
630 |
-
// No presets = make empty array OR presets found = unserialize
|
631 |
-
if ( $presets === false )
|
632 |
-
$presets = array();
|
633 |
-
else
|
634 |
-
$presets = maybe_unserialize( $presets );
|
635 |
-
|
636 |
-
// Append new preset to presets array
|
637 |
-
$presets[$preset_id] = array(
|
638 |
-
'title' => $preset_name,
|
639 |
-
'id' => $preset_id,
|
640 |
-
'code' => $preset_code,
|
641 |
-
'module' => $module_id
|
642 |
-
);
|
643 |
-
|
644 |
-
// Save new presets array to db and set the status
|
645 |
-
if ( update_option( 'dslc_presets', maybe_serialize( $presets ) ) )
|
646 |
-
return true;
|
647 |
-
else
|
648 |
-
return false;
|
649 |
-
|
650 |
-
}
|
651 |
-
|
652 |
-
/**
|
653 |
-
* Check if editor is currently active
|
654 |
-
*
|
655 |
-
* @since 1.0
|
656 |
-
*/
|
657 |
-
|
658 |
-
function dslc_is_editor_active( $capability = 'save') {
|
659 |
-
|
660 |
-
// Check for saving capability
|
661 |
-
if ( $capability == 'save' ) {
|
662 |
-
$capability_check = DS_LIVE_COMPOSER_CAPABILITY_SAVE;
|
663 |
-
// Check for access capability ( can use editor but can't publish changes )
|
664 |
-
} elseif ( $capability == 'access' ) {
|
665 |
-
$capability_check = DS_LIVE_COMPOSER_CAPABILITY;
|
666 |
-
}
|
667 |
-
|
668 |
-
// Check if editor is activated and current user can use the editor
|
669 |
-
if ( DS_LIVE_COMPOSER_ACTIVE && current_user_can( $capability_check ) ) {
|
670 |
-
return true;
|
671 |
-
} else {
|
672 |
-
return false;
|
673 |
-
}
|
674 |
-
|
675 |
-
}
|
676 |
-
|
677 |
-
/**
|
678 |
-
* Gets LC code of a specific post/page
|
679 |
-
*
|
680 |
-
* @since 1.0.2
|
681 |
-
*
|
682 |
-
* @param int $postID ID of the post/page. Default false.
|
683 |
-
* @param bool $draft If true will check for draft first. Default true.
|
684 |
-
* @return string The LC code for the post/page. Empty string if no LC code.
|
685 |
-
*/
|
686 |
-
function dslc_get_code( $postID = false, $draft = true ) {
|
687 |
-
|
688 |
-
// This will be returned at the end
|
689 |
-
$code = '';
|
690 |
-
|
691 |
-
// If post ID not supplied ask WordPress
|
692 |
-
if ( ! $postID ) {
|
693 |
-
$postID = get_the_ID();
|
694 |
-
}
|
695 |
-
|
696 |
-
// If still no ID return false
|
697 |
-
if ( ! $postID ) {
|
698 |
-
return false;
|
699 |
-
}
|
700 |
-
|
701 |
-
// If draft allowed ( func parameter ) and editor currently active and there is a draft version
|
702 |
-
if ( $draft && dslc_is_editor_active() && get_post_meta( $postID, 'dslc_code_draft', true ) ) {
|
703 |
-
|
704 |
-
// Load draft LC code
|
705 |
-
$code = get_post_meta( $postID, 'dslc_code_draft', true );
|
706 |
-
|
707 |
-
} else {
|
708 |
-
|
709 |
-
// Load regular ( current ) LC code
|
710 |
-
$code = get_post_meta( $postID, 'dslc_code', true );
|
711 |
-
|
712 |
-
}
|
713 |
-
|
714 |
-
// Pass it back
|
715 |
-
return $code;
|
716 |
-
|
717 |
-
}
|
718 |
-
|
719 |
-
/**
|
720 |
-
* Returns array of active templates
|
721 |
-
*
|
722 |
-
* @since 1.0
|
723 |
-
*
|
724 |
-
* @return array Multidimensional array of LC templates. Bool false if none
|
725 |
-
* One array per each template. Key of array is template ID
|
726 |
-
* Each template has array parameters title|id|code|section
|
727 |
-
*/
|
728 |
-
function dslc_get_templates() {
|
729 |
-
|
730 |
-
// Global var holding templates information
|
731 |
-
global $dslc_var_templates;
|
732 |
-
|
733 |
-
// Filter to hook into
|
734 |
-
$dslc_var_templates = apply_filters( 'dslc_get_templates', $dslc_var_templates );
|
735 |
-
|
736 |
-
// Return templates ( false if none )
|
737 |
-
if ( empty( $dslc_var_templates ) )
|
738 |
-
return false;
|
739 |
-
else
|
740 |
-
return $dslc_var_templates;
|
741 |
-
|
742 |
-
}
|
743 |
-
|
744 |
-
/**
|
745 |
-
* Set default templates
|
746 |
-
*
|
747 |
-
* @since 1.0.3
|
748 |
-
*/
|
749 |
-
function dslc_set_default_templates( $templates ) {
|
750 |
-
|
751 |
-
$templates['dslc-blog-ex-1'] = array(
|
752 |
-
'title' => __( 'Blog Variation 1', 'live-composer-page-builder' ),
|
753 |
-
'id' => 'dslc-blog-ex-1',
|
754 |
-
'code' => '[dslc_modules_section type="wrapped" columns_spacing="spacing" border_color="" border_width="0" border_style="" border="" bg_color="" bg_image_thumb="disabled" bg_image="" bg_video="" bg_video_overlay_color="" bg_video_overlay_opacity="" bg_image_repeat="repeat" bg_image_attachment="scroll" bg_image_position="left top" bg_image_size="auto" padding="61" padding_h="0" margin_h="0" margin_b="0" custom_class="" custom_id="" ] [dslc_modules_area last="yes" first="no" size="12"] [dslc_module]YToxODp7czo0OiJzaXplIjtzOjI6IjEyIjtzOjY6ImFtb3VudCI7czoxOiI2IjtzOjE1OiJwYWdpbmF0aW9uX3R5cGUiO3M6ODoibnVtYmVyZWQiO3M6NzoiY29sdW1ucyI7czoxOiI2IjtzOjI1OiJjc3NfbWFpbl9wYWRkaW5nX3ZlcnRpY2FsIjtzOjI6IjMwIjtzOjI3OiJjc3NfbWFpbl9wYWRkaW5nX2hvcml6b250YWwiO3M6MjoiNTAiO3M6MTU6InRpdGxlX2ZvbnRfc2l6ZSI7czoyOiIyNSI7czoyMToiY3NzX3RpdGxlX2ZvbnRfd2VpZ2h0IjtzOjM6IjMwMCI7czoyMToiY3NzX3RpdGxlX2ZvbnRfZmFtaWx5IjtzOjc6IlJhbGV3YXkiO3M6MTc6InRpdGxlX2xpbmVfaGVpZ2h0IjtzOjI6IjM4IjtzOjE3OiJjc3NfZXhjZXJwdF9jb2xvciI7czo3OiIjOTk5OTk5IjtzOjIxOiJjc3NfZXhjZXJwdF9mb250X3NpemUiO3M6MjoiMTYiO3M6MjM6ImNzc19leGNlcnB0X2ZvbnRfd2VpZ2h0IjtzOjM6IjQwMCI7czoyMzoiY3NzX2V4Y2VycHRfZm9udF9mYW1pbHkiO3M6NDoiTXVsaSI7czoyMzoiY3NzX2V4Y2VycHRfbGluZV9oZWlnaHQiO3M6MjoiMzAiO3M6MTQ6ImV4Y2VycHRfbGVuZ3RoIjtzOjI6IjQwIjtzOjE4OiJtb2R1bGVfaW5zdGFuY2VfaWQiO2k6MzM7czo5OiJtb2R1bGVfaWQiO3M6OToiRFNMQ19CbG9nIjt9[/dslc_module] [/dslc_modules_area] [/dslc_modules_section] ',
|
755 |
-
'section' => 'original'
|
756 |
-
);
|
757 |
-
|
758 |
-
$templates['dslc-blog-ex-2'] = array(
|
759 |
-
'title' => __( 'Blog Variation 2', 'live-composer-page-builder' ),
|
760 |
-
'id' => 'dslc-blog-ex-2',
|
761 |
-
'code' => '[dslc_modules_section type="wrapped" columns_spacing="spacing" border_color="" border_width="0" border_style="" border="" bg_color="#f7f7f7" bg_image_thumb="disabled" bg_image="" bg_video="" bg_video_overlay_color="" bg_video_overlay_opacity="" bg_image_repeat="no-repeat" bg_image_attachment="parallax" bg_image_position="center bottom" bg_image_size="auto" padding="49" padding_h="0" margin_h="0" margin_b="0" custom_class="" custom_id="" ] [dslc_modules_area last="yes" first="no" size="12"] [dslc_module]YTo1NDp7czo2OiJhbW91bnQiO3M6MToiNiI7czoxNToicGFnaW5hdGlvbl90eXBlIjtzOjg6Im51bWJlcmVkIjtzOjc6ImNvbHVtbnMiO3M6MToiNCI7czo4OiJlbGVtZW50cyI7czoyMToibWFpbl9oZWFkaW5nIGZpbHRlcnMgIjtzOjEzOiJwb3N0X2VsZW1lbnRzIjtzOjMxOiJ0aHVtYm5haWwgdGl0bGUgZXhjZXJwdCBidXR0b24gIjtzOjE0OiJjc3Nfc2VwX2hlaWdodCI7czoyOiIzMCI7czoxMzoiY3NzX3NlcF9zdHlsZSI7czo1OiJzb2xpZCI7czoyNzoiY3NzX3RodW1iX2JvcmRlcl9yYWRpdXNfdG9wIjtzOjE6IjAiO3M6MTc6ImNzc19tYWluX2JnX2NvbG9yIjtzOjc6IiNlMzYzNGQiO3M6MjE6ImNzc19tYWluX2JvcmRlcl9jb2xvciI7czowOiIiO3M6MjE6ImNzc19tYWluX2JvcmRlcl93aWR0aCI7czoxOiIwIjtzOjIwOiJjc3NfbWFpbl9ib3JkZXJfdHJibCI7czoyMjoidG9wIHJpZ2h0IGJvdHRvbSBsZWZ0ICI7czoyOToiY3NzX21haW5fYm9yZGVyX3JhZGl1c19ib3R0b20iO3M6MToiMCI7czoyNToiY3NzX21haW5fcGFkZGluZ192ZXJ0aWNhbCI7czoyOiIzNCI7czoyNzoiY3NzX21haW5fcGFkZGluZ19ob3Jpem9udGFsIjtzOjI6IjM3IjtzOjE5OiJjc3NfbWFpbl90ZXh0X2FsaWduIjtzOjQ6ImxlZnQiO3M6MTE6InRpdGxlX2NvbG9yIjtzOjc6IiNmZmZmZmYiO3M6MTU6InRpdGxlX2ZvbnRfc2l6ZSI7czoyOiIyNSI7czoyMToiY3NzX3RpdGxlX2ZvbnRfZmFtaWx5IjtzOjc6IlJhbGV3YXkiO3M6MTc6InRpdGxlX2xpbmVfaGVpZ2h0IjtzOjI6IjM1IjtzOjEyOiJ0aXRsZV9tYXJnaW4iO3M6MjoiMTciO3M6MTc6ImNzc19leGNlcnB0X2NvbG9yIjtzOjc6IiNmMGQ2ZDYiO3M6MjE6ImNzc19leGNlcnB0X2ZvbnRfc2l6ZSI7czoyOiIxNSI7czoyMzoiY3NzX2V4Y2VycHRfZm9udF9mYW1pbHkiO3M6NDoiTGF0byI7czoyMzoiY3NzX2V4Y2VycHRfbGluZV9oZWlnaHQiO3M6MjoiMjciO3M6MTQ6ImV4Y2VycHRfbWFyZ2luIjtzOjI6IjI4IjtzOjE0OiJleGNlcnB0X2xlbmd0aCI7czoyOiI0MCI7czoxOToiY3NzX2J1dHRvbl9iZ19jb2xvciI7czo3OiIjYzI0ODM4IjtzOjI1OiJjc3NfYnV0dG9uX2JnX2NvbG9yX2hvdmVyIjtzOjc6IiNmZmZmZmYiO3M6MjM6ImNzc19idXR0b25fYm9yZGVyX2NvbG9yIjtzOjc6IiMxNDBmMGYiO3M6Mjk6ImNzc19idXR0b25fYm9yZGVyX2NvbG9yX2hvdmVyIjtzOjc6IiM5ZTZkNmQiO3M6MjQ6ImNzc19idXR0b25fYm9yZGVyX3JhZGl1cyI7czoxOiIwIjtzOjIyOiJjc3NfYnV0dG9uX2NvbG9yX2hvdmVyIjtzOjc6IiM4ZjhmOGYiO3M6MjA6ImNzc19idXR0b25fZm9udF9zaXplIjtzOjI6IjEyIjtzOjI3OiJjc3NfYnV0dG9uX3BhZGRpbmdfdmVydGljYWwiO3M6MjoiMTciO3M6Mjk6ImNzc19idXR0b25fcGFkZGluZ19ob3Jpem9udGFsIjtzOjI6IjE5IjtzOjE0OiJidXR0b25faWNvbl9pZCI7czo5OiJzaGFyZS1hbHQiO3M6MjE6ImNzc19idXR0b25faWNvbl9jb2xvciI7czo3OiIjZjA3YTY4IjtzOjI3OiJjc3NfYnV0dG9uX2ljb25fY29sb3JfaG92ZXIiO3M6NzoiI2QxZDFkMSI7czoxODoibWFpbl9oZWFkaW5nX3RpdGxlIjtzOjE3OiJMQVRFU1QgQkxPRyBQT1NUUyI7czoyODoiY3NzX21haW5faGVhZGluZ19saW5lX2hlaWdodCI7czoyOiIzNSI7czoyNzoiY3NzX21haW5faGVhZGluZ19saW5rX2NvbG9yIjtzOjc6IiNlMzYzNGQiO3M6MzM6ImNzc19tYWluX2hlYWRpbmdfbGlua19jb2xvcl9ob3ZlciI7czo3OiIjYzc1MDNlIjtzOjMzOiJjc3NfbWFpbl9oZWFkaW5nX2xpbmtfcGFkZGluZ192ZXIiO3M6MToiOSI7czoyNToiY3NzX2hlYWRpbmdfbWFyZ2luX2JvdHRvbSI7czoyOiIyNSI7czoyNjoiY3NzX2ZpbHRlcl9iZ19jb2xvcl9hY3RpdmUiO3M6NzoiI2UzNjM0ZCI7czozMDoiY3NzX2ZpbHRlcl9ib3JkZXJfY29sb3JfYWN0aXZlIjtzOjc6IiNlMzYzNGQiO3M6MTk6ImNzc19maWx0ZXJfcG9zaXRpb24iO3M6NToicmlnaHQiO3M6MTg6ImNzc19maWx0ZXJfc3BhY2luZyI7czoxOiI5IjtzOjI4OiJjc3NfcGFnX2l0ZW1fYmdfY29sb3JfYWN0aXZlIjtzOjc6IiNlMzYzNGQiO3M6MzI6ImNzc19wYWdfaXRlbV9ib3JkZXJfY29sb3JfYWN0aXZlIjtzOjc6IiNlMzYzNGQiO3M6MTg6Im1vZHVsZV9pbnN0YW5jZV9pZCI7aTo0MTtzOjc6InBvc3RfaWQiO3M6MzoiMzM2IjtzOjk6Im1vZHVsZV9pZCI7czo5OiJEU0xDX0Jsb2ciO30=[/dslc_module] [/dslc_modules_area] [/dslc_modules_section] ',
|
762 |
-
'section' => 'original'
|
763 |
-
);
|
764 |
-
|
765 |
-
$templates['dslc-blog-ex-3'] = array(
|
766 |
-
'title' => __( 'Blog Variation 3', 'live-composer-page-builder' ),
|
767 |
-
'id' => 'dslc-blog-ex-3',
|
768 |
-
'code' => '[dslc_modules_section type="wrapped" columns_spacing="spacing" border_color="" border_width="0" border_style="solid" border="bottom " bg_color="#f7f9fa" bg_image_thumb="disabled" bg_image="" bg_video="" bg_video_overlay_color="#000000" bg_video_overlay_opacity="0" bg_image_repeat="repeat" bg_image_attachment="scroll" bg_image_position="left top" bg_image_size="auto" padding="63" padding_h="0" margin_h="0" margin_b="0" custom_class="" custom_id="" ] [dslc_modules_area last="no" first="yes" size="8"] [dslc_module]YTo1Mjp7czo0OiJzaXplIjtzOjI6IjEyIjtzOjExOiJvcmllbnRhdGlvbiI7czoxMDoiaG9yaXpvbnRhbCI7czo2OiJhbW91bnQiO3M6MToiMyI7czoxNToicGFnaW5hdGlvbl90eXBlIjtzOjg6Im51bWJlcmVkIjtzOjc6ImNvbHVtbnMiO3M6MjoiMTIiO3M6NToib3JkZXIiO3M6MzoiQVNDIjtzOjI5OiJjc3Nfd3JhcHBlcl9ib3JkZXJfcmFkaXVzX3RvcCI7czoxOiIzIjtzOjMyOiJjc3Nfd3JhcHBlcl9ib3JkZXJfcmFkaXVzX2JvdHRvbSI7czoxOiIzIjtzOjIwOiJjc3Nfc2VwX2JvcmRlcl9jb2xvciI7czo3OiIjZTZlNmU2IjtzOjE0OiJjc3Nfc2VwX2hlaWdodCI7czoyOiI0NCI7czoxMzoiY3NzX3NlcF9zdHlsZSI7czo1OiJzb2xpZCI7czoxODoiY3NzX3RodW1iX2JnX2NvbG9yIjtzOjc6IiNmZmZmZmYiO3M6MzA6ImNzc190aHVtYl9ib3JkZXJfcmFkaXVzX2JvdHRvbSI7czoxOiI0IjtzOjE4OiJ0aHVtYl9tYXJnaW5fcmlnaHQiO3M6MToiMCI7czoxMToidGh1bWJfd2lkdGgiO3M6MjoiMjkiO3M6MTc6ImNzc19tYWluX2JnX2NvbG9yIjtzOjA6IiI7czoyMToiY3NzX21haW5fYm9yZGVyX3dpZHRoIjtzOjE6IjAiO3M6MjA6ImNzc19tYWluX2JvcmRlcl90cmJsIjtzOjIyOiJ0b3AgcmlnaHQgYm90dG9tIGxlZnQgIjtzOjI1OiJjc3NfbWFpbl9wYWRkaW5nX3ZlcnRpY2FsIjtzOjE6IjAiO3M6Mjc6ImNzc19tYWluX3BhZGRpbmdfaG9yaXpvbnRhbCI7czoyOiI1MyI7czoxOToiY3NzX21haW5fdGV4dF9hbGlnbiI7czo0OiJsZWZ0IjtzOjExOiJ0aXRsZV9jb2xvciI7czo3OiIjNjE2MTYxIjtzOjE1OiJ0aXRsZV9mb250X3NpemUiO3M6MjoiMjgiO3M6MjE6ImNzc190aXRsZV9mb250X2ZhbWlseSI7czo3OiJSYWxld2F5IjtzOjE3OiJ0aXRsZV9saW5lX2hlaWdodCI7czoyOiI0MCI7czoxODoiY3NzX21ldGFfZm9udF9zaXplIjtzOjI6IjEzIjtzOjIwOiJjc3NfbWV0YV9mb250X2ZhbWlseSI7czo3OiJCcmF3bGVyIjtzOjIwOiJjc3NfbWV0YV9mb250X3dlaWdodCI7czozOiI1MDAiO3M6MjU6ImNzc19tZXRhX3BhZGRpbmdfdmVydGljYWwiO3M6MjoiMTciO3M6MTk6ImNzc19tZXRhX2xpbmtfY29sb3IiO3M6NzoiI2U2NmU2NSI7czoyNToiY3NzX21ldGFfbGlua19jb2xvcl9ob3ZlciI7czo3OiIjYzc1YjU0IjtzOjE3OiJjc3NfZXhjZXJwdF9jb2xvciI7czo3OiIjODc4Nzg3IjtzOjIxOiJjc3NfZXhjZXJwdF9mb250X3NpemUiO3M6MjoiMTYiO3M6MjM6ImNzc19leGNlcnB0X2ZvbnRfZmFtaWx5IjtzOjc6IkJyYXdsZXIiO3M6MjM6ImNzc19leGNlcnB0X2xpbmVfaGVpZ2h0IjtzOjI6IjI5IjtzOjE0OiJleGNlcnB0X21hcmdpbiI7czoyOiIyOSI7czoxNDoiZXhjZXJwdF9sZW5ndGgiO3M6MjoiNDAiO3M6MTE6ImJ1dHRvbl90ZXh0IjtzOjE2OiJDb250aW51ZSBSZWFkaW5nIjtzOjE5OiJjc3NfYnV0dG9uX2JnX2NvbG9yIjtzOjc6IiNlNjZlNjUiO3M6MjU6ImNzc19idXR0b25fYmdfY29sb3JfaG92ZXIiO3M6NzoiI2MyNTA0OCI7czoyMDoiY3NzX2J1dHRvbl9mb250X3NpemUiO3M6MjoiMTIiO3M6MjI6ImNzc19idXR0b25fZm9udF93ZWlnaHQiO3M6MzoiNzAwIjtzOjIyOiJjc3NfYnV0dG9uX2ZvbnRfZmFtaWx5IjtzOjEyOiJNZXJyaXdlYXRoZXIiO3M6Mjc6ImNzc19idXR0b25fcGFkZGluZ192ZXJ0aWNhbCI7czoyOiIxMyI7czoyOToiY3NzX2J1dHRvbl9wYWRkaW5nX2hvcml6b250YWwiO3M6MjoiMTQiO3M6MTQ6ImJ1dHRvbl9pY29uX2lkIjtzOjExOiJhcnJvdy1yaWdodCI7czoyMToiY3NzX2J1dHRvbl9pY29uX2NvbG9yIjtzOjc6IiNmN2FiYTYiO3M6Mjg6ImNzc19wYWdfaXRlbV9iZ19jb2xvcl9hY3RpdmUiO3M6NzoiI2U2NmU2NSI7czoyNToiY3NzX3BhZ19pdGVtX2JvcmRlcl9jb2xvciI7czo3OiIjZDlkOWQ5IjtzOjMyOiJjc3NfcGFnX2l0ZW1fYm9yZGVyX2NvbG9yX2FjdGl2ZSI7czo3OiIjZTY2ZTY1IjtzOjE4OiJtb2R1bGVfaW5zdGFuY2VfaWQiO2k6NDI7czo5OiJtb2R1bGVfaWQiO3M6OToiRFNMQ19CbG9nIjt9[/dslc_module] [/dslc_modules_area] [dslc_modules_area last="yes" first="no" size="4"] [dslc_module]YToyMDp7czo0OiJzaXplIjtzOjI6IjEyIjtzOjc6InNpZGViYXIiO3M6MTY6ImRzbGNfc2lkZWJhcl9vbmUiO3M6NzoiY29sdW1ucyI7czoyOiIxMiI7czozMDoiY3NzX3dpZGdldHNfcGFkZGluZ19ob3Jpem9udGFsIjtzOjI6IjIyIjtzOjE5OiJjc3Nfd2lkZ2V0X2JnX2NvbG9yIjtzOjc6IiNmZmZmZmYiO3M6MjM6ImNzc193aWRnZXRfYm9yZGVyX2NvbG9yIjtzOjc6IiNkZWRlZGUiO3M6MjM6ImNzc193aWRnZXRfYm9yZGVyX3dpZHRoIjtzOjE6IjEiO3M6Mjg6ImNzc193aWRnZXRfYm9yZGVyX3JhZGl1c190b3AiO3M6MToiNCI7czozMToiY3NzX3dpZGdldF9ib3JkZXJfcmFkaXVzX2JvdHRvbSI7czoxOiI0IjtzOjI3OiJjc3Nfd2lkZ2V0X3BhZGRpbmdfdmVydGljYWwiO3M6MjoiMzAiO3M6Mjk6ImNzc193aWRnZXRfcGFkZGluZ19ob3Jpem9udGFsIjtzOjI6IjI3IjtzOjE1OiJ0aXRsZV9mb250X3NpemUiO3M6MjoiMTQiO3M6MjE6ImNzc190aXRsZV9mb250X2ZhbWlseSI7czowOiIiO3M6MTY6ImNzc190aXRsZV9tYXJnaW4iO3M6MjoiMTMiO3M6MTc6ImNzc190aXRsZV9wYWRkaW5nIjtzOjI6IjIwIjtzOjIwOiJjc3NfbWFpbl9saW5lX2hlaWdodCI7czoyOiIyNCI7czoxNDoiY3NzX2xpbmtfY29sb3IiO3M6NzoiI2U2NmU2NSI7czoyMDoiY3NzX2xpbmtfY29sb3JfaG92ZXIiO3M6NzoiI2M3NTg1MCI7czoxODoibW9kdWxlX2luc3RhbmNlX2lkIjtpOjQzO3M6OToibW9kdWxlX2lkIjtzOjEyOiJEU0xDX1dpZGdldHMiO30=[/dslc_module] [/dslc_modules_area] [/dslc_modules_section] ',
|
769 |
-
'section' => 'original'
|
770 |
-
);
|
771 |
-
|
772 |
-
$templates['dslc-projects-ex-1'] = array(
|
773 |
-
'title' => __( 'Projects Variation 1', 'live-composer-page-builder' ),
|
774 |
-
'id' => 'dslc-projects-ex-1',
|
775 |
-
'code' => '[dslc_modules_section type="full" columns_spacing="spacing" border_color="" border_width="0" border_style="" border="" bg_color="#f7f6f4" bg_image_thumb="disabled" bg_image="" bg_video="" bg_video_overlay_color="" bg_video_overlay_opacity="" bg_image_repeat="no-repeat" bg_image_attachment="parallax" bg_image_position="center bottom" bg_image_size="auto" padding="58" padding_h="5" margin_h="0" margin_b="0" custom_class="" custom_id="" ] [dslc_modules_area last="yes" first="no" size="12"] [dslc_module]YTo1MDp7czo0OiJzaXplIjtzOjI6IjEyIjtzOjY6ImFtb3VudCI7czoxOiI2IjtzOjc6ImNvbHVtbnMiO3M6MToiMiI7czo4OiJlbGVtZW50cyI7czo4OiJmaWx0ZXJzICI7czoxMzoicG9zdF9lbGVtZW50cyI7czo0MjoidGh1bWJuYWlsIHRpdGxlIGNhdGVnb3JpZXMgZXhjZXJwdCBidXR0b24gIjtzOjMxOiJjc3NfdGh1bWJuYWlsX2JvcmRlcl9yYWRpdXNfdG9wIjtzOjE6IjAiO3M6MTg6InRodW1iX3Jlc2l6ZV93aWR0aCI7czozOiIyNjEiO3M6MjE6ImNzc19tYWluX2JvcmRlcl9jb2xvciI7czo3OiIjZjBlZWViIjtzOjIwOiJjc3NfbWFpbl9ib3JkZXJfdHJibCI7czo3OiJib3R0b20gIjtzOjI5OiJjc3NfbWFpbl9ib3JkZXJfcmFkaXVzX2JvdHRvbSI7czoxOiIwIjtzOjI1OiJjc3NfbWFpbl9wYWRkaW5nX3ZlcnRpY2FsIjtzOjI6IjM2IjtzOjI3OiJjc3NfbWFpbl9wYWRkaW5nX2hvcml6b250YWwiO3M6MjoiMjkiO3M6MTU6ImNzc190aXRsZV9jb2xvciI7czo3OiIjNGY0ZjRmIjtzOjE5OiJjc3NfdGl0bGVfZm9udF9zaXplIjtzOjI6IjE3IjtzOjIxOiJjc3NfdGl0bGVfZm9udF93ZWlnaHQiO3M6MzoiNTAwIjtzOjIxOiJjc3NfdGl0bGVfZm9udF9mYW1pbHkiO3M6MTY6IlBvcnQgTGxpZ2F0IFNsYWIiO3M6MjM6ImNzc190aXRsZV9tYXJnaW5fYm90dG9tIjtzOjI6IjE1IjtzOjE4OiJjc3NfY2F0c19mb250X3NpemUiO3M6MjoiMTIiO3M6MjA6ImNzc19jYXRzX2ZvbnRfZmFtaWx5IjtzOjEyOiJQb250YW5vIFNhbnMiO3M6MjI6ImNzc19jYXRzX21hcmdpbi1ib3R0b20iO3M6MjoiMTgiO3M6MjQ6ImNzc19leGNlcnB0X2JvcmRlcl9jb2xvciI7czo3OiIjZTBlMGUwIjtzOjI0OiJjc3NfZXhjZXJwdF9ib3JkZXJfc3R5bGUiO3M6NjoiZG90dGVkIjtzOjE3OiJjc3NfZXhjZXJwdF9jb2xvciI7czo3OiIjYThhOGE4IjtzOjIxOiJjc3NfZXhjZXJwdF9mb250X3NpemUiO3M6MjoiMTUiO3M6MjM6ImNzc19leGNlcnB0X2ZvbnRfZmFtaWx5IjtzOjU6IkRvc2lzIjtzOjIzOiJjc3NfZXhjZXJwdF9saW5lX2hlaWdodCI7czoyOiIyNCI7czoxOToiY3NzX2J1dHRvbl9iZ19jb2xvciI7czo3OiIjZTM1ZDU4IjtzOjI1OiJjc3NfYnV0dG9uX2JnX2NvbG9yX2hvdmVyIjtzOjc6IiNjOTRkNDkiO3M6MjQ6ImNzc19idXR0b25fYm9yZGVyX3JhZGl1cyI7czoxOiIyIjtzOjIwOiJjc3NfYnV0dG9uX2ZvbnRfc2l6ZSI7czoyOiIxMyI7czoyMjoiY3NzX2J1dHRvbl9mb250X3dlaWdodCI7czozOiI2MDAiO3M6MjI6ImNzc19idXR0b25fZm9udF9mYW1pbHkiO3M6NzoiUFQgU2FucyI7czoxNDoiYnV0dG9uX2ljb25faWQiO3M6MTg6ImFycm93LWNpcmNsZS1yaWdodCI7czoyMToiY3NzX2J1dHRvbl9pY29uX2NvbG9yIjtzOjc6IiNlYjk3OTQiO3M6MTg6Im1haW5faGVhZGluZ190aXRsZSI7czoxNToiTEFURVNUIFBST0pFQ1RTIjtzOjI3OiJjc3NfbWFpbl9oZWFkaW5nX2xpbmtfY29sb3IiO3M6NzoiI2UzNWQ1OCI7czozMzoiY3NzX21haW5faGVhZGluZ19saW5rX2NvbG9yX2hvdmVyIjtzOjc6IiNjNDRjNDgiO3M6MzM6ImNzc19tYWluX2hlYWRpbmdfbGlua19wYWRkaW5nX3ZlciI7czoxOiI5IjtzOjI1OiJjc3NfaGVhZGluZ19tYXJnaW5fYm90dG9tIjtzOjI6IjM5IjtzOjI2OiJjc3NfZmlsdGVyX2JnX2NvbG9yX2FjdGl2ZSI7czo3OiIjZTM1ZDU4IjtzOjIzOiJjc3NfZmlsdGVyX2JvcmRlcl9jb2xvciI7czo3OiIjZWJlOWUyIjtzOjMwOiJjc3NfZmlsdGVyX2JvcmRlcl9jb2xvcl9hY3RpdmUiO3M6NzoiI2UzNWQ1OCI7czoyMjoiY3NzX2ZpbHRlcl9ib3JkZXJfdHJibCI7czo3OiJib3R0b20gIjtzOjI0OiJjc3NfZmlsdGVyX2JvcmRlcl9yYWRpdXMiO3M6MToiMCI7czoxOToiY3NzX2Fycm93c19iZ19jb2xvciI7czo3OiIjZTM1ZDU4IjtzOjI1OiJjc3NfYXJyb3dzX2JnX2NvbG9yX2hvdmVyIjtzOjc6IiNjYzUyNGUiO3M6MjQ6ImNzc19jaXJjbGVzX2NvbG9yX2FjdGl2ZSI7czo3OiIjZTM1ZDU4IjtzOjIyOiJjc3NfY2lyY2xlc19tYXJnaW5fdG9wIjtzOjI6IjIzIjtzOjE4OiJtb2R1bGVfaW5zdGFuY2VfaWQiO2k6NDY7czo5OiJtb2R1bGVfaWQiO3M6MTM6IkRTTENfUHJvamVjdHMiO30=[/dslc_module] [/dslc_modules_area] [/dslc_modules_section] ',
|
776 |
-
'section' => 'original'
|
777 |
-
);
|
778 |
-
|
779 |
-
$templates['dslc-projects-ex-2'] = array(
|
780 |
-
'title' => __( 'Projects Variation 2', 'live-composer-page-builder' ),
|
781 |
-
'id' => 'dslc-projects-ex-2',
|
782 |
-
'code' => '[dslc_modules_section type="full" columns_spacing="spacing" border_color="" border_width="0" border_style="solid" border="top bottom" bg_color="#f4f9fc" bg_image_thumb="disabled" bg_image="" bg_video="" bg_video_overlay_color="#000000" bg_video_overlay_opacity="0" bg_image_repeat="no-repeat" bg_image_attachment="scroll" bg_image_position="center center" bg_image_size="auto" padding="61" padding_h="3" margin_h="0" margin_b="0" custom_class="" custom_id="" ] [dslc_modules_area last="no" first="yes" size="3"] [dslc_module]YToxOTp7czo0OiJzaXplIjtzOjI6IjEyIjtzOjc6InNpZGViYXIiO3M6MTY6ImRzbGNfc2lkZWJhcl9vbmUiO3M6NzoiY29sdW1ucyI7czoyOiIxMiI7czozMDoiY3NzX3dpZGdldHNfcGFkZGluZ19ob3Jpem9udGFsIjtzOjE6IjMiO3M6MTk6ImNzc193aWRnZXRfYmdfY29sb3IiO3M6NzoiI2ZmZmZmZiI7czoyMzoiY3NzX3dpZGdldF9ib3JkZXJfY29sb3IiO3M6NzoiI2Q5ZDlkOSI7czoyMzoiY3NzX3dpZGdldF9ib3JkZXJfd2lkdGgiO3M6MToiMSI7czoyODoiY3NzX3dpZGdldF9ib3JkZXJfcmFkaXVzX3RvcCI7czoxOiIzIjtzOjMxOiJjc3Nfd2lkZ2V0X2JvcmRlcl9yYWRpdXNfYm90dG9tIjtzOjE6IjMiO3M6Mjc6ImNzc193aWRnZXRfcGFkZGluZ192ZXJ0aWNhbCI7czoyOiIzMyI7czoyOToiY3NzX3dpZGdldF9wYWRkaW5nX2hvcml6b250YWwiO3M6MjoiMzQiO3M6MjQ6ImNzc193aWRnZXRfbWFyZ2luX2JvdHRvbSI7czoyOiIzMiI7czoyMToiY3NzX3RpdGxlX2xpbmVfaGVpZ2h0IjtzOjI6IjE2IjtzOjE2OiJjc3NfdGl0bGVfbWFyZ2luIjtzOjI6IjE0IjtzOjE3OiJjc3NfdGl0bGVfcGFkZGluZyI7czoyOiIxOCI7czoxNDoiY3NzX2xpbmtfY29sb3IiO3M6NzoiIzE2YThmNyI7czoyMDoiY3NzX2xpbmtfY29sb3JfaG92ZXIiO3M6NzoiIzE2ODljNyI7czoxODoibW9kdWxlX2luc3RhbmNlX2lkIjtpOjQ3O3M6OToibW9kdWxlX2lkIjtzOjEyOiJEU0xDX1dpZGdldHMiO30=[/dslc_module] [/dslc_modules_area] [dslc_modules_area last="yes" first="no" size="9"] [dslc_module]YTo0ODp7czo0OiJzaXplIjtzOjI6IjEyIjtzOjY6ImFtb3VudCI7czoxOiI2IjtzOjE1OiJwYWdpbmF0aW9uX3R5cGUiO3M6ODoibnVtYmVyZWQiO3M6NzoiY29sdW1ucyI7czoxOiI0IjtzOjU6Im9yZGVyIjtzOjM6IkFTQyI7czoxMzoicG9zdF9lbGVtZW50cyI7czoyNDoidGh1bWJuYWlsIHRpdGxlIGV4Y2VycHQgIjtzOjE0OiJjc3Nfc2VwX2hlaWdodCI7czoyOiIxMyI7czoxMzoiY3NzX3NlcF9zdHlsZSI7czo0OiJub25lIjtzOjIyOiJjc3NfdGh1bWJuYWlsX2JnX2NvbG9yIjtzOjc6IiMwMGJkOGUiO3M6MzE6ImNzc190aHVtYm5haWxfYm9yZGVyX3JhZGl1c190b3AiO3M6MToiMCI7czoxODoidGh1bWJfcmVzaXplX3dpZHRoIjtzOjM6IjQwMCI7czoxNzoiY3NzX21haW5fYmdfY29sb3IiO3M6NzoiIzE2YThmNyI7czoyMToiY3NzX21haW5fYm9yZGVyX2NvbG9yIjtzOjc6IiMwMGEyZmYiO3M6MjE6ImNzc19tYWluX2JvcmRlcl93aWR0aCI7czoxOiIwIjtzOjI5OiJjc3NfbWFpbl9ib3JkZXJfcmFkaXVzX2JvdHRvbSI7czoxOiIwIjtzOjI1OiJjc3NfbWFpbl9wYWRkaW5nX3ZlcnRpY2FsIjtzOjI6IjI0IjtzOjI3OiJjc3NfbWFpbl9wYWRkaW5nX2hvcml6b250YWwiO3M6MjoiMzQiO3M6MTk6ImNzc19tYWluX3RleHRfYWxpZ24iO3M6NDoibGVmdCI7czoxNToiY3NzX3RpdGxlX2NvbG9yIjtzOjc6IiNmZmZmZmYiO3M6MTk6ImNzc190aXRsZV9mb250X3NpemUiO3M6MjoiMTgiO3M6MjE6ImNzc190aXRsZV9mb250X3dlaWdodCI7czozOiIzMDAiO3M6MjE6ImNzc190aXRsZV9saW5lX2hlaWdodCI7czoyOiIzNSI7czoyMzoiY3NzX3RpdGxlX21hcmdpbl9ib3R0b20iO3M6MToiOSI7czoxNDoiY3NzX2NhdHNfY29sb3IiO3M6NzoiI2QyZTlmNSI7czoxODoiY3NzX2NhdHNfZm9udF9zaXplIjtzOjI6IjExIjtzOjIyOiJjc3NfY2F0c19tYXJnaW4tYm90dG9tIjtzOjI6IjE5IjtzOjI0OiJjc3NfZXhjZXJwdF9ib3JkZXJfY29sb3IiO3M6NzoiIzQ0YjNlYiI7czoxNzoiY3NzX2V4Y2VycHRfY29sb3IiO3M6NzoiI2UzZjZmZiI7czoyMzoiY3NzX2V4Y2VycHRfZm9udF93ZWlnaHQiO3M6MzoiNjAwIjtzOjIzOiJjc3NfZXhjZXJwdF9mb250X2ZhbWlseSI7czoxMjoiUG9udGFubyBTYW5zIjtzOjIzOiJjc3NfZXhjZXJwdF9saW5lX2hlaWdodCI7czoyOiIyNCI7czoxNDoiZXhjZXJwdF9tYXJnaW4iO3M6MToiMiI7czoxNDoiZXhjZXJwdF9sZW5ndGgiO3M6MjoiMTEiO3M6MTk6ImNzc19leGNlcnB0X3BhZGRpbmciO3M6MjoiMTMiO3M6MTk6ImNzc19idXR0b25fYmdfY29sb3IiO3M6NzoiIzdhN2E3YSI7czoxODoibWFpbl9oZWFkaW5nX3RpdGxlIjtzOjE1OiJMYXRlc3QgUHJvamVjdHMiO3M6MjY6ImNzc19tYWluX2hlYWRpbmdfZm9udF9zaXplIjtzOjI6IjE2IjtzOjI4OiJjc3NfbWFpbl9oZWFkaW5nX2ZvbnRfd2VpZ2h0IjtzOjM6IjYwMCI7czoyODoiY3NzX21haW5faGVhZGluZ19mb250X2ZhbWlseSI7czo0OiJMYXRvIjtzOjI3OiJjc3NfbWFpbl9oZWFkaW5nX2xpbmtfY29sb3IiO3M6NzoiIzE2YThmNyI7czozMzoiY3NzX21haW5faGVhZGluZ19saW5rX2NvbG9yX2hvdmVyIjtzOjc6IiMxMjg2YzQiO3M6MzM6ImNzc19tYWluX2hlYWRpbmdfbGlua19mb250X3dlaWdodCI7czozOiI3MDAiO3M6Mjg6ImNzc19wYWdfaXRlbV9iZ19jb2xvcl9hY3RpdmUiO3M6NzoiIzE2YThmNyI7czoyNToiY3NzX3BhZ19pdGVtX2JvcmRlcl9jb2xvciI7czo3OiIjZDZkNmQ2IjtzOjMyOiJjc3NfcGFnX2l0ZW1fYm9yZGVyX2NvbG9yX2FjdGl2ZSI7czo3OiIjMTZhOGY3IjtzOjE4OiJjc3NfcGFnX2l0ZW1fY29sb3IiO3M6NzoiIzhmOGY4ZiI7czoxODoibW9kdWxlX2luc3RhbmNlX2lkIjtpOjQ4O3M6OToibW9kdWxlX2lkIjtzOjEzOiJEU0xDX1Byb2plY3RzIjt9[/dslc_module] [/dslc_modules_area] [/dslc_modules_section] ',
|
783 |
-
'section' => 'original'
|
784 |
-
);
|
785 |
-
|
786 |
-
$templates['dslc-partners-ex-1'] = array(
|
787 |
-
'title' => __( 'Partners Variation 1', 'live-composer-page-builder' ),
|
788 |
-
'id' => 'dslc-partners-ex-1',
|
789 |
-
'code' => '[dslc_modules_section show_on="desktop tablet phone" type="wrapped" columns_spacing="spacing" bg_color="" bg_image_thumb="disabled" bg_image="" bg_image_repeat="repeat" bg_image_position="left top" bg_image_attachment="scroll" bg_image_size="auto" bg_video="" bg_video_overlay_color="#111e2e" bg_video_overlay_opacity="0.56" border_color="" border_width="0" border_style="solid" border="top bottom" margin_h="0" margin_b="0" padding="114" padding_h="0" custom_class="" custom_id="" ] [dslc_modules_area last="yes" first="no" size="12"] [dslc_module last="yes"]YToyNDp7czoxNToicGFnaW5hdGlvbl90eXBlIjtzOjg6Im51bWJlcmVkIjtzOjMxOiJjc3NfdGh1bWJuYWlsX2JvcmRlcl9yYWRpdXNfdG9wIjtzOjE6IjMiO3M6Mjc6ImNzc190aHVtYm5haWxfbWFyZ2luX2JvdHRvbSI7czoxOiIwIjtzOjE4OiJ0aHVtYl9yZXNpemVfd2lkdGgiO3M6MzoiMjc0IjtzOjE3OiJjc3NfbWFpbl9iZ19jb2xvciI7czo3OiIjMWRjMjY3IjtzOjI5OiJjc3NfbWFpbl9ib3JkZXJfcmFkaXVzX2JvdHRvbSI7czoxOiIzIjtzOjI1OiJjc3NfbWFpbl9wYWRkaW5nX3ZlcnRpY2FsIjtzOjI6IjI1IjtzOjI3OiJjc3NfbWFpbl9wYWRkaW5nX2hvcml6b250YWwiO3M6MjoiMzAiO3M6MTk6ImNzc19tYWluX3RleHRfYWxpZ24iO3M6NjoiY2VudGVyIjtzOjE1OiJjc3NfdGl0bGVfY29sb3IiO3M6NzoiI2ZmZmZmZiI7czoxOToiY3NzX3RpdGxlX2ZvbnRfc2l6ZSI7czoyOiIxNiI7czoxNzoiY3NzX2V4Y2VycHRfY29sb3IiO3M6NzoiI2JhZjVkNCI7czoyMzoiY3NzX2V4Y2VycHRfbGluZV9oZWlnaHQiO3M6MjoiMjEiO3M6Mjg6ImNzc19wYWdfaXRlbV9iZ19jb2xvcl9hY3RpdmUiO3M6NzoiIzFkYzI2NyI7czozMjoiY3NzX3BhZ19pdGVtX2JvcmRlcl9jb2xvcl9hY3RpdmUiO3M6NzoiIzFkYzI2NyI7czoxNDoicmVzX3NtX2NvbHVtbnMiO3M6NDoiYXV0byI7czoxMjoicmVzX3NtX3RodW1iIjtzOjU6ImJsb2NrIjtzOjE0OiJyZXNfdHBfY29sdW1ucyI7czo0OiJhdXRvIjtzOjEzOiJyZXNfcF9jb2x1bW5zIjtzOjQ6ImF1dG8iO3M6MTg6Im1vZHVsZV9pbnN0YW5jZV9pZCI7aToyMDI1NTtzOjc6InBvc3RfaWQiO3M6MzoiNDU1IjtzOjk6Im1vZHVsZV9pZCI7czoxMzoiRFNMQ19QYXJ0bmVycyI7czoxNjoiZHNsY19tX3NpemVfbGFzdCI7czoyOiJubyI7czoxMToiZHNsY19tX3NpemUiO3M6MjoiMTIiO30=[/dslc_module] [/dslc_modules_area] [/dslc_modules_section] ',
|
790 |
-
'section' => 'original'
|
791 |
-
);
|
792 |
-
|
793 |
-
$templates['dslc-products-ex-1'] = array(
|
794 |
-
'title' => __( 'Products Variation 1', 'live-composer-page-builder' ),
|
795 |
-
'id' => 'dslc-products-ex-1',
|
796 |
-
'code' => '[dslc_modules_section show_on="desktop tablet phone" type="wrapped" columns_spacing="spacing" bg_color="" bg_image_thumb="disabled" bg_image="" bg_image_repeat="no-repeat" bg_image_position="center center" bg_image_attachment="scroll" bg_image_size="auto" bg_video="" bg_video_overlay_color="#5d5361" bg_video_overlay_opacity="0.81" border_color="" border_width="0" border_style="solid" border="bottom " margin_h="0" margin_b="0" padding="95" padding_h="9" custom_class="" custom_id="" ] [dslc_modules_area last="no" first="yes" size="9"] [dslc_module last="yes"]YTo0Njp7czo2OiJhbW91bnQiO3M6MToiNiI7czo3OiJjb2x1bW5zIjtzOjE6IjQiO3M6MTM6InBvc3RfZWxlbWVudHMiO3M6NDI6InRodW1ibmFpbCB0aXRsZSBzZXBhcmF0b3IgZXhjZXJwdCBwcmljZV8yICI7czoyMDoiY3NzX3NlcF9ib3JkZXJfY29sb3IiO3M6NzoiI2E0OTZhYiI7czoxNDoiY3NzX3NlcF9oZWlnaHQiO3M6MjoiMTAiO3M6MTM6ImNzc19zZXBfc3R5bGUiO3M6NDoibm9uZSI7czoyMjoiY3NzX3RodW1iX2JvcmRlcl9jb2xvciI7czo3OiIjMmUyODJlIjtzOjMxOiJjc3NfdGh1bWJuYWlsX2JvcmRlcl9yYWRpdXNfdG9wIjtzOjE6IjAiO3M6MTk6InRodW1iX3Jlc2l6ZV9oZWlnaHQiO3M6MzoiMjUwIjtzOjE4OiJ0aHVtYl9yZXNpemVfd2lkdGgiO3M6MzoiMjgwIjtzOjE4OiJjc3NfcHJpY2VfYmdfY29sb3IiO3M6NzoiIzdhNmU4MCI7czoyMjoiY3NzX3ByaWNlX2JvcmRlcl9jb2xvciI7czo3OiIjYTg2NTY1IjtzOjIzOiJjc3NfcHJpY2VfYm9yZGVyX3JhZGl1cyI7czoxOiIwIjtzOjE5OiJjc3NfcHJpY2VfZm9udF9zaXplIjtzOjI6IjI4IjtzOjE2OiJjc3NfcHJpY2VfbWFyZ2luIjtzOjE6IjkiO3M6MjA6ImNzc19wcmljZV9iZ19vcGFjaXR5IjtzOjE6IjEiO3M6MTc6ImNzc19wcmljZV9wYWRkaW5nIjtzOjI6IjIwIjtzOjE3OiJjc3NfbWFpbl9iZ19jb2xvciI7czo3OiIjMmUyODJlIjtzOjIxOiJjc3NfbWFpbl9ib3JkZXJfd2lkdGgiO3M6MToiMCI7czoyOToiY3NzX21haW5fYm9yZGVyX3JhZGl1c19ib3R0b20iO3M6MToiMCI7czoyNToiY3NzX21haW5fcGFkZGluZ192ZXJ0aWNhbCI7czoyOiIzMCI7czoyNzoiY3NzX21haW5fcGFkZGluZ19ob3Jpem9udGFsIjtzOjI6IjI5IjtzOjE1OiJjc3NfdGl0bGVfYWxpZ24iO3M6NDoibGVmdCI7czoxNToiY3NzX3RpdGxlX2NvbG9yIjtzOjc6IiNkOWJiODAiO3M6MTk6ImNzc190aXRsZV9mb250X3NpemUiO3M6MjoiMTQiO3M6MjE6ImNzc190aXRsZV9mb250X2ZhbWlseSI7czo5OiJPcGVuIFNhbnMiO3M6MjM6ImNzc190aXRsZV9tYXJnaW5fYm90dG9tIjtzOjI6IjIwIjtzOjI0OiJjc3NfZXhjZXJwdF9ib3JkZXJfd2lkdGgiO3M6MToiMCI7czoxNzoiY3NzX2V4Y2VycHRfY29sb3IiO3M6NzoiIzljOTM5YyI7czoxNDoiZXhjZXJwdF9tYXJnaW4iO3M6MToiMCI7czoxNDoiZXhjZXJwdF9sZW5ndGgiO3M6MToiNyI7czoxOToiY3NzX2V4Y2VycHRfcGFkZGluZyI7czoxOiIwIjtzOjIyOiJjc3NfZXhjZXJwdF90ZXh0X2FsaWduIjtzOjQ6ImxlZnQiO3M6MTc6ImNzc19wcmljZV8yX2NvbG9yIjtzOjc6IiM5YzkzOWMiO3M6MzA6ImNzc19wcmljZV8yX25vbl9kaXNjb3VudF9jb2xvciI7czo3OiIjNTk1MTU5IjtzOjEzOiJjc3Nfc2VwX2NvbG9yIjtzOjc6IiM0NzQxNDciO3M6MjE6ImNzc19zZXBfbWFyZ2luX2JvdHRvbSI7czoyOiIxOCI7czoxNDoicmVzX3NtX2NvbHVtbnMiO3M6NDoiYXV0byI7czoxMjoicmVzX3NtX3RodW1iIjtzOjU6ImJsb2NrIjtzOjE0OiJyZXNfdHBfY29sdW1ucyI7czo0OiJhdXRvIjtzOjEzOiJyZXNfcF9jb2x1bW5zIjtzOjQ6ImF1dG8iO3M6MTg6Im1vZHVsZV9pbnN0YW5jZV9pZCI7aToyMDI1NjtzOjc6InBvc3RfaWQiO3M6MzoiNDQ5IjtzOjk6Im1vZHVsZV9pZCI7czoyNToiRFNMQ19Xb29Db21tZXJjZV9Qcm9kdWN0cyI7czoxNjoiZHNsY19tX3NpemVfbGFzdCI7czoyOiJubyI7czoxMToiZHNsY19tX3NpemUiO3M6MjoiMTIiO30=[/dslc_module] [/dslc_modules_area] [dslc_modules_area last="yes" first="no" size="3"] [dslc_module last="yes"]YToxODp7czo3OiJzaWRlYmFyIjtzOjE2OiJkc2xjX3NpZGViYXJfb25lIjtzOjc6ImNvbHVtbnMiO3M6MjoiMTIiO3M6MjA6ImNzc193aWRnZXRzX2JnX2NvbG9yIjtzOjc6IiMyZTI4MmUiO3M6Mjg6ImNzc193aWRnZXRzX3BhZGRpbmdfdmVydGljYWwiO3M6MjoiMzQiO3M6MzA6ImNzc193aWRnZXRzX3BhZGRpbmdfaG9yaXpvbnRhbCI7czoyOiIzMSI7czoyNDoiY3NzX3dpZGdldF9tYXJnaW5fYm90dG9tIjtzOjI6IjM4IjtzOjIyOiJjc3NfdGl0bGVfYm9yZGVyX2NvbG9yIjtzOjc6IiM0NzQxNDciO3M6MTU6ImNzc190aXRsZV9jb2xvciI7czo3OiIjZGJkYmRiIjtzOjE2OiJjc3NfdGl0bGVfbWFyZ2luIjtzOjI6IjE1IjtzOjE3OiJjc3NfdGl0bGVfcGFkZGluZyI7czoyOiIyMSI7czoxNDoiY3NzX21haW5fY29sb3IiO3M6NzoiIzljOTM5YyI7czoxNDoiY3NzX2xpbmtfY29sb3IiO3M6NzoiI2Q5YmI4MCI7czoyMDoiY3NzX2xpbmtfY29sb3JfaG92ZXIiO3M6NzoiI2ViYjU1MiI7czoxODoibW9kdWxlX2luc3RhbmNlX2lkIjtpOjIwMjU3O3M6NzoicG9zdF9pZCI7czozOiI0NDkiO3M6OToibW9kdWxlX2lkIjtzOjEyOiJEU0xDX1dpZGdldHMiO3M6MTY6ImRzbGNfbV9zaXplX2xhc3QiO3M6Mjoibm8iO3M6MTE6ImRzbGNfbV9zaXplIjtzOjI6IjEyIjt9[/dslc_module] [/dslc_modules_area] [/dslc_modules_section] ',
|
797 |
-
'section' => 'original'
|
798 |
-
);
|
799 |
-
|
800 |
-
$templates['dslc-products-ex-2'] = array(
|
801 |
-
'title' => __( 'Products Variation 2', 'live-composer-page-builder' ),
|
802 |
-
'id' => 'dslc-products-ex-2',
|
803 |
-
'code' => '[dslc_modules_section show_on="desktop tablet phone" type="wrapped" columns_spacing="spacing" bg_color="#78373c" bg_image_thumb="disabled" bg_image="" bg_image_repeat="no-repeat" bg_image_position="center center" bg_image_attachment="scroll" bg_image_size="auto" bg_video="" bg_video_overlay_color="#4d4d4d" bg_video_overlay_opacity="0.77" border_color="" border_width="0" border_style="solid" border="bottom " margin_h="0" margin_b="0" padding="69" padding_h="9" custom_class="" custom_id="" ] [dslc_modules_area last="no" first="yes" size="5"] [dslc_module last="yes"]YTo1NTp7czo2OiJhbW91bnQiO3M6MToiMSI7czo3OiJjb2x1bW5zIjtzOjI6IjEyIjtzOjEwOiJjYXRlZ29yaWVzIjtzOjg6Imhvb2RpZXMgIjtzOjEzOiJwb3N0X2VsZW1lbnRzIjtzOjUyOiJ0aHVtYm5haWwgdGl0bGUgc2VwYXJhdG9yIHByaWNlXzIgYWRkdG9jYXJ0IGRldGFpbHMgIjtzOjIwOiJjc3Nfc2VwX2JvcmRlcl9jb2xvciI7czo3OiIjYTQ5NmFiIjtzOjE0OiJjc3Nfc2VwX2hlaWdodCI7czoyOiIxMCI7czoxMzoiY3NzX3NlcF9zdHlsZSI7czo0OiJub25lIjtzOjIyOiJjc3NfdGh1bWJuYWlsX2JnX2NvbG9yIjtzOjc6IiMxYzFiMWEiO3M6MjI6ImNzc190aHVtYl9ib3JkZXJfY29sb3IiO3M6NzoiIzJlMjgyZSI7czozMToiY3NzX3RodW1ibmFpbF9ib3JkZXJfcmFkaXVzX3RvcCI7czoxOiIwIjtzOjMwOiJjc3NfdGh1bWJuYWlsX3BhZGRpbmdfdmVydGljYWwiO3M6MjoiMTUiO3M6MzI6ImNzc190aHVtYm5haWxfcGFkZGluZ19ob3Jpem9udGFsIjtzOjI6IjE1IjtzOjE4OiJ0aHVtYl9yZXNpemVfd2lkdGgiO3M6MzoiNDQ3IjtzOjE4OiJjc3NfcHJpY2VfYmdfY29sb3IiO3M6NzoiIzk5MmYzOCI7czoyMjoiY3NzX3ByaWNlX2JvcmRlcl9jb2xvciI7czo3OiIjYTg2NTY1IjtzOjIzOiJjc3NfcHJpY2VfYm9yZGVyX3JhZGl1cyI7czoxOiI1IjtzOjE5OiJjc3NfcHJpY2VfZm9udF9zaXplIjtzOjI6IjQyIjtzOjIxOiJjc3NfcHJpY2VfZm9udF93ZWlnaHQiO3M6MzoiOTAwIjtzOjIxOiJjc3NfcHJpY2VfZm9udF9mYW1pbHkiO3M6MTI6IlBhdHJpY2sgSGFuZCI7czoxNjoiY3NzX3ByaWNlX21hcmdpbiI7czoxOiI5IjtzOjE3OiJjc3NfcHJpY2VfcGFkZGluZyI7czoyOiIyMyI7czoxNzoiY3NzX21haW5fYmdfY29sb3IiO3M6NzoiIzFjMWIxYSI7czoyMToiY3NzX21haW5fYm9yZGVyX3dpZHRoIjtzOjE6IjAiO3M6Mjk6ImNzc19tYWluX2JvcmRlcl9yYWRpdXNfYm90dG9tIjtzOjE6IjAiO3M6MTk6ImNzc19tYWluX21pbl9oZWlnaHQiO3M6MjoiODAiO3M6MjU6ImNzc19tYWluX3BhZGRpbmdfdmVydGljYWwiO3M6MjoiMTciO3M6Mjc6ImNzc19tYWluX3BhZGRpbmdfaG9yaXpvbnRhbCI7czoyOiIyOSI7czoxNToiY3NzX3RpdGxlX2NvbG9yIjtzOjc6IiNjN2M3YzciO3M6MTk6ImNzc190aXRsZV9mb250X3NpemUiO3M6MjoiMTYiO3M6MjE6ImNzc190aXRsZV9mb250X2ZhbWlseSI7czo5OiJPcGVuIFNhbnMiO3M6MjM6ImNzc190aXRsZV9tYXJnaW5fYm90dG9tIjtzOjI6IjIwIjtzOjI0OiJjc3NfZXhjZXJwdF9ib3JkZXJfY29sb3IiO3M6NzoiIzQ3NDE0NyI7czoxNzoiY3NzX2V4Y2VycHRfY29sb3IiO3M6NzoiIzljOTM5YyI7czoxNDoiZXhjZXJwdF9tYXJnaW4iO3M6MjoiMTkiO3M6MTQ6ImV4Y2VycHRfbGVuZ3RoIjtzOjI6IjE5IjtzOjE5OiJjc3NfZXhjZXJwdF9wYWRkaW5nIjtzOjI6IjEzIjtzOjE3OiJjc3NfcHJpY2VfMl9jb2xvciI7czo3OiIjOWM5MzljIjtzOjMwOiJjc3NfcHJpY2VfMl9ub25fZGlzY291bnRfY29sb3IiO3M6NzoiIzU5NTE1OSI7czoxNToiY3NzX3ByaWNlXzJfcG9zIjtzOjQ6ImxlZnQiO3M6MTM6ImNzc19zZXBfY29sb3IiO3M6NzoiIzQ3NDE0NyI7czoyMToiY3NzX3NlcF9tYXJnaW5fYm90dG9tIjtzOjI6IjE4IjtzOjE5OiJjc3NfYWRkdG9jYXJ0X2NvbG9yIjtzOjc6IiNlZDczNGUiO3M6MjM6ImNzc19hZGR0b2NhcnRfZm9udF9zaXplIjtzOjI6IjE0IjtzOjE3OiJjc3NfZGV0YWlsc19jb2xvciI7czo3OiIjZWQ3MzRlIjtzOjIxOiJjc3NfZGV0YWlsc19mb250X3NpemUiO3M6MjoiMTQiO3M6MjM6ImNzc19kZXRhaWxzX2ZvbnRfd2VpZ2h0IjtzOjM6IjcwMCI7czoxNDoicmVzX3NtX2NvbHVtbnMiO3M6NDoiYXV0byI7czoxMjoicmVzX3NtX3RodW1iIjtzOjU6ImJsb2NrIjtzOjE0OiJyZXNfdHBfY29sdW1ucyI7czo0OiJhdXRvIjtzOjEzOiJyZXNfcF9jb2x1bW5zIjtzOjQ6ImF1dG8iO3M6MTg6Im1vZHVsZV9pbnN0YW5jZV9pZCI7aToyMDI1ODtzOjc6InBvc3RfaWQiO3M6MzoiNDUxIjtzOjk6Im1vZHVsZV9pZCI7czoyNToiRFNMQ19Xb29Db21tZXJjZV9Qcm9kdWN0cyI7czoxNjoiZHNsY19tX3NpemVfbGFzdCI7czoyOiJubyI7czoxMToiZHNsY19tX3NpemUiO3M6MjoiMTIiO30=[/dslc_module] [/dslc_modules_area] [dslc_modules_area last="no" first="no" size="1"] [/dslc_modules_area] [dslc_modules_area last="yes" first="no" size="6"] [dslc_module last="yes"]YTo3OntzOjY6ImhlaWdodCI7czoyOiI0MSI7czo1OiJzdHlsZSI7czo5OiJpbnZpc2libGUiO3M6MTg6Im1vZHVsZV9pbnN0YW5jZV9pZCI7aToyMDI1OTtzOjc6InBvc3RfaWQiO3M6MzoiNDUxIjtzOjk6Im1vZHVsZV9pZCI7czoxNDoiRFNMQ19TZXBhcmF0b3IiO3M6MTY6ImRzbGNfbV9zaXplX2xhc3QiO3M6Mjoibm8iO3M6MTE6ImRzbGNfbV9zaXplIjtzOjI6IjEyIjt9[/dslc_module] [dslc_module last="yes"]YToxMTp7czo3OiJjb250ZW50IjtzOjI4OiJTZWN0aW9uIGZvciBwcm9kdWN0IHNob3djYXNlIjtzOjE3OiJjc3NfbWFyZ2luX2JvdHRvbSI7czoyOiIzNiI7czoxNDoiY3NzX21haW5fY29sb3IiO3M6NzoiI2ZmZmZmZiI7czoxODoiY3NzX21haW5fZm9udF9zaXplIjtzOjI6IjM5IjtzOjIwOiJjc3NfbWFpbl9mb250X3dlaWdodCI7czozOiIzMDAiO3M6MjA6ImNzc19tYWluX2ZvbnRfZmFtaWx5IjtzOjc6IlJhbGV3YXkiO3M6MTg6Im1vZHVsZV9pbnN0YW5jZV9pZCI7aToyMDI2MDtzOjc6InBvc3RfaWQiO3M6MzoiNDUxIjtzOjk6Im1vZHVsZV9pZCI7czoxNjoiRFNMQ19UZXh0X1NpbXBsZSI7czoxNjoiZHNsY19tX3NpemVfbGFzdCI7czoyOiJubyI7czoxMToiZHNsY19tX3NpemUiO3M6MjoiMTIiO30=[/dslc_module] [dslc_module last="yes"]YToxMTp7czo3OiJjb250ZW50IjtzOjEwNzQ6IlV0IGVuaW0gYWQgbWluaW0gdmVuaWFtLCBxdWlzIG5vc3RydWQgZXhlcmNpdGF0aW9uIHVsbGFtY28gbGFib3JpcyBuaXNpIHV0IGFsaXF1aXAgZXggZWEgY29tbW9kbyBjb25zZXF1YXQuJm5ic3A7PGRpdj48YnI+PC9kaXY+PGRpdj48c3BhbiBzdHlsZT1cImZvbnQtZmFtaWx5OiBNdWxpOyBmb250LXNpemU6IDE2cHg7IGZvbnQtc3R5bGU6IG5vcm1hbDsgZm9udC12YXJpYW50OiBub3JtYWw7IGxpbmUtaGVpZ2h0OiAyN3B4O1wiPkR1aXMgYXV0ZSBpcnVyZSBkb2xvciBpbiByZXByZWhlbmRlcml0IGluIHZvbHVwdGF0ZSB2ZWxpdCBlc3NlIGNpbGx1bSBkb2xvcmUgZXUgZnVnaWF0IG51bGxhIHBhcmlhdHVyLiBFeGNlcHRldXIgc2ludCBvY2NhZWNhdCBjdXBpZGF0YXQgbm9uIHByb2lkZW50LCBzdW50IGluIGN1bHBhIHF1aSBvZmZpY2lhIGRlc2VydW50IG1vbGxpdCBhbmltIGlkIGVzdCBsYWJvcnVtLjwvc3Bhbj48YnI+PC9kaXY+PGRpdj48c3BhbiBzdHlsZT1cImZvbnQtZmFtaWx5OiBNdWxpOyBmb250LXNpemU6IDE2cHg7IGZvbnQtc3R5bGU6IG5vcm1hbDsgZm9udC12YXJpYW50OiBub3JtYWw7IGxpbmUtaGVpZ2h0OiAyN3B4O1wiPjxicj48L3NwYW4+PC9kaXY+PGRpdj48c3BhbiBzdHlsZT1cImZvbnQtZmFtaWx5OiBNdWxpOyBmb250LXNpemU6IDE2cHg7IGZvbnQtc3R5bGU6IG5vcm1hbDsgZm9udC12YXJpYW50OiBub3JtYWw7IGxpbmUtaGVpZ2h0OiAyN3B4O1wiPkF1dGUgaXJ1cmUgZG9sb3IgaW4gcmVwcmVoZW5kZXJpdCBpbiB2b2x1cHRhdGUgdmVsaXQgZXNzZSBjaWxsdW0gZG9sb3JlIGV1IGZ1Z2lhdCBudWxsYSBwYXJpYXR1ci4gRXhjZXB0ZXVyIHNpbnQgb2NjYWVjYXQgY3VwaWRhdGF0IG5vbiBwcm9pZGVudCwgc3VudCBpbiBjdWxwYSBxdWkgb2ZmaWNpYSBkZXNlcnVudCBtb2xsaXQgYW5pbSBpZCBlc3QgbGFib3J1bS48L3NwYW4+PHNwYW4gc3R5bGU9XCJmb250LWZhbWlseTogTXVsaTsgZm9udC1zaXplOiAxNnB4OyBmb250LXN0eWxlOiBub3JtYWw7IGZvbnQtdmFyaWFudDogbm9ybWFsOyBsaW5lLWhlaWdodDogMjdweDtcIj48YnI+PC9zcGFuPjwvZGl2PiI7czoxNzoiY3NzX21hcmdpbl9ib3R0b20iO3M6MjoiNDEiO3M6MTQ6ImNzc19tYWluX2NvbG9yIjtzOjc6IiNjN2M3YzciO3M6MTg6ImNzc19tYWluX2ZvbnRfc2l6ZSI7czoyOiIxNiI7czoyMDoiY3NzX21haW5fZm9udF9mYW1pbHkiO3M6NDoiTXVsaSI7czoyMDoiY3NzX21haW5fbGluZV9oZWlnaHQiO3M6MjoiMjciO3M6MTg6Im1vZHVsZV9pbnN0YW5jZV9pZCI7aToyMDI2MTtzOjc6InBvc3RfaWQiO3M6MzoiNDUxIjtzOjk6Im1vZHVsZV9pZCI7czoxNjoiRFNMQ19UZXh0X1NpbXBsZSI7czoxNjoiZHNsY19tX3NpemVfbGFzdCI7czoyOiJubyI7czoxMToiZHNsY19tX3NpemUiO3M6MjoiMTIiO30=[/dslc_module] [dslc_module last="yes"]YToxNDp7czoxMToiYnV0dG9uX3RleHQiO3M6MTI6Ik1PUkUgREVUQUlMUyI7czoxMjoiY3NzX2JnX2NvbG9yIjtzOjc6IiNlZDczNGUiO3M6MTg6ImNzc19iZ19jb2xvcl9ob3ZlciI7czo3OiIjZjI3NTUzIjtzOjIwOiJjc3NfcGFkZGluZ192ZXJ0aWNhbCI7czoyOiIxOCI7czoyMjoiY3NzX3BhZGRpbmdfaG9yaXpvbnRhbCI7czoyOiIzNSI7czoyMDoiY3NzX2J1dHRvbl9mb250X3NpemUiO3M6MjoiMTYiO3M6MTQ6ImJ1dHRvbl9pY29uX2lkIjtzOjk6ImZpbGUtdGV4dCI7czoxNDoiY3NzX2ljb25fY29sb3IiO3M6NzoiI2ZmYjM5ZSI7czoxNToiY3NzX2ljb25fbWFyZ2luIjtzOjI6IjEwIjtzOjE4OiJtb2R1bGVfaW5zdGFuY2VfaWQiO2k6MjAyNjI7czo3OiJwb3N0X2lkIjtzOjM6IjQ1MSI7czo5OiJtb2R1bGVfaWQiO3M6MTE6IkRTTENfQnV0dG9uIjtzOjE2OiJkc2xjX21fc2l6ZV9sYXN0IjtzOjI6Im5vIjtzOjExOiJkc2xjX21fc2l6ZSI7czoyOiIxMiI7fQ==[/dslc_module] [/dslc_modules_area] [/dslc_modules_section] ',
|
804 |
-
'section' => 'original'
|
805 |
-
);
|
806 |
-
|
807 |
-
$templates['dslc-staff-ex-1'] = array(
|
808 |
-
'title' => __( 'Staff Variation 1', 'live-composer-page-builder' ),
|
809 |
-
'id' => 'dslc-staff-ex-1',
|
810 |
-
'code' => '[dslc_modules_section show_on="desktop tablet phone" type="wrapped" columns_spacing="spacing" bg_color="#f4f6f7" bg_image_thumb="disabled" bg_image="" bg_image_repeat="repeat" bg_image_position="center center" bg_image_attachment="scroll" bg_image_size="cover" bg_video="" bg_video_overlay_color="#f4f6f7" bg_video_overlay_opacity="0.95" border_color="" border_width="0" border_style="solid" border="top bottom" margin_h="0" margin_b="0" padding="67" padding_h="4" custom_class="" custom_id="" ] [dslc_modules_area last="yes" first="no" size="12"] [dslc_module last="yes"]YTozNzp7czoxMzoicG9zdF9lbGVtZW50cyI7czozMToidGh1bWJuYWlsIHNvY2lhbCB0aXRsZSBleGNlcnB0ICI7czoyMjoiY3NzX3RodW1ibmFpbF9iZ19jb2xvciI7czo3OiIjZmZmZmZmIjtzOjIyOiJjc3NfdGh1bWJfYm9yZGVyX2NvbG9yIjtzOjc6IiNlMGUwZTAiO3M6MjI6ImNzc190aHVtYl9ib3JkZXJfd2lkdGgiO3M6MToiMSI7czozMToiY3NzX3RodW1ibmFpbF9ib3JkZXJfcmFkaXVzX3RvcCI7czoxOiIzIjtzOjM0OiJjc3NfdGh1bWJuYWlsX2JvcmRlcl9yYWRpdXNfYm90dG9tIjtzOjE6IjMiO3M6Mjc6ImNzc190aHVtYm5haWxfbWFyZ2luX2JvdHRvbSI7czoyOiIxNyI7czozMDoiY3NzX3RodW1ibmFpbF9wYWRkaW5nX3ZlcnRpY2FsIjtzOjI6IjEwIjtzOjMyOiJjc3NfdGh1bWJuYWlsX3BhZGRpbmdfaG9yaXpvbnRhbCI7czoyOiIxMCI7czoxOToidGh1bWJfcmVzaXplX2hlaWdodCI7czozOiIzMDAiO3M6MTg6InRodW1iX3Jlc2l6ZV93aWR0aCI7czozOiIyNTQiO3M6MTk6ImNzc19zb2NpYWxfYmdfY29sb3IiO3M6NzoiIzNkYjBiZiI7czoyODoiY3NzX3NvY2lhbF9ib3JkZXJfcmFkaXVzX3RvcCI7czoxOiIzIjtzOjIxOiJjc3NfbWFpbl9ib3JkZXJfY29sb3IiO3M6NzoiI2UwZTBlMCI7czoyNToiY3NzX21haW5fcGFkZGluZ192ZXJ0aWNhbCI7czoyOiI0MyI7czoyNzoiY3NzX21haW5fcGFkZGluZ19ob3Jpem9udGFsIjtzOjI6IjQzIjtzOjE1OiJjc3NfdGl0bGVfY29sb3IiO3M6NzoiIzU0NTQ1NCI7czoxOToiY3NzX3RpdGxlX2ZvbnRfc2l6ZSI7czoyOiIxNiI7czoyMToiY3NzX3RpdGxlX2ZvbnRfZmFtaWx5IjtzOjE3OiJMaWJyZSBCYXNrZXJ2aWxsZSI7czoyNToiY3NzX3Bvc2l0aW9uX2JvcmRlcl9jb2xvciI7czo3OiIjZGVkZWRlIjtzOjE4OiJjc3NfcG9zaXRpb25fY29sb3IiO3M6NzoiIzNkYjBiZiI7czoyNDoiY3NzX3Bvc2l0aW9uX2ZvbnRfd2VpZ2h0IjtzOjM6IjYwMCI7czoyNDoiY3NzX3Bvc2l0aW9uX2ZvbnRfZmFtaWx5IjtzOjE3OiJDYXJyb2lzIEdvdGhpYyBTQyI7czoyOToiY3NzX3Bvc2l0aW9uX3BhZGRpbmdfdmVydGljYWwiO3M6MjoiMTYiO3M6MTc6ImNzc19leGNlcnB0X2NvbG9yIjtzOjc6IiM5YzljOWMiO3M6MjE6ImNzc19leGNlcnB0X2ZvbnRfc2l6ZSI7czoyOiIxNiI7czoyMzoiY3NzX2V4Y2VycHRfZm9udF9mYW1pbHkiO3M6NDoiTG9yYSI7czoyMzoiY3NzX2V4Y2VycHRfbGluZV9oZWlnaHQiO3M6MjoiMjciO3M6MTQ6InJlc19zbV9jb2x1bW5zIjtzOjQ6ImF1dG8iO3M6MTI6InJlc19zbV90aHVtYiI7czo1OiJibG9jayI7czoxNDoicmVzX3RwX2NvbHVtbnMiO3M6NDoiYXV0byI7czoxMzoicmVzX3BfY29sdW1ucyI7czo0OiJhdXRvIjtzOjE4OiJtb2R1bGVfaW5zdGFuY2VfaWQiO2k6MjAyNjM7czo3OiJwb3N0X2lkIjtzOjM6IjQ2MSI7czo5OiJtb2R1bGVfaWQiO3M6MTA6IkRTTENfU3RhZmYiO3M6MTY6ImRzbGNfbV9zaXplX2xhc3QiO3M6Mjoibm8iO3M6MTE6ImRzbGNfbV9zaXplIjtzOjI6IjEyIjt9[/dslc_module] [/dslc_modules_area] [/dslc_modules_section] ',
|
811 |
-
'section' => 'original'
|
812 |
-
);
|
813 |
-
|
814 |
-
$templates['dslc-staff-ex-2'] = array(
|
815 |
-
'title' => __( 'Staff Variation 2', 'live-composer-page-builder' ),
|
816 |
-
'id' => 'dslc-staff-ex-2',
|
817 |
-
'code' => '[dslc_modules_section type="full" columns_spacing="spacing" border_color="" border_width="0" border_style="solid" border="top bottom" bg_color="#5c7291" bg_image_thumb="disabled" bg_image="" bg_video="" bg_video_overlay_color="#000000" bg_video_overlay_opacity="0" bg_image_repeat="repeat" bg_image_attachment="scroll" bg_image_position="left top" bg_image_size="auto" padding="80" padding_h="7" margin_h="0" margin_b="0" custom_class="" custom_id="" ] [dslc_modules_area last="yes" first="no" size="12"] [dslc_module]YTo0Njp7czo4OiJlbGVtZW50cyI7czoyMToibWFpbl9oZWFkaW5nIGZpbHRlcnMgIjtzOjIwOiJjc3Nfc2VwX2JvcmRlcl9jb2xvciI7czo3OiIjN2Y5MWFiIjtzOjEzOiJjc3Nfc2VwX3N0eWxlIjtzOjU6InNvbGlkIjtzOjMxOiJjc3NfdGh1bWJuYWlsX2JvcmRlcl9yYWRpdXNfdG9wIjtzOjE6IjAiO3M6MTg6InRodW1iX3Jlc2l6ZV93aWR0aCI7czozOiI1MjIiO3M6MTk6ImNzc19zb2NpYWxfYmdfY29sb3IiO3M6NzoiIzNiNDg1YyI7czoxNjoiY3NzX3NvY2lhbF9jb2xvciI7czo3OiIjN2I4ZWFiIjtzOjE3OiJjc3NfbWFpbl9iZ19jb2xvciI7czo3OiIjMWMyMDIxIjtzOjIxOiJjc3NfbWFpbl9ib3JkZXJfd2lkdGgiO3M6MToiMCI7czoyOToiY3NzX21haW5fYm9yZGVyX3JhZGl1c19ib3R0b20iO3M6MToiMCI7czoxNToiY3NzX3RpdGxlX2NvbG9yIjtzOjc6IiNlM2UzZTMiO3M6MjU6ImNzc19wb3NpdGlvbl9ib3JkZXJfY29sb3IiO3M6NzoiIzMwMzAzMCI7czoxNzoiY3NzX2V4Y2VycHRfY29sb3IiO3M6NzoiI2JkYmRiZCI7czoyMToiY3NzX2V4Y2VycHRfZm9udF9zaXplIjtzOjI6IjEyIjtzOjIzOiJjc3NfZXhjZXJwdF9mb250X2ZhbWlseSI7czo0OiJNdWxpIjtzOjIzOiJjc3NfZXhjZXJwdF9saW5lX2hlaWdodCI7czoyOiIyNCI7czoxODoibWFpbl9oZWFkaW5nX3RpdGxlIjtzOjE2OiJPVVIgQVdFU09NRSBURUFNIjtzOjIyOiJjc3NfbWFpbl9oZWFkaW5nX2NvbG9yIjtzOjc6IiNmZmZmZmYiO3M6MjY6ImNzc19tYWluX2hlYWRpbmdfZm9udF9zaXplIjtzOjI6IjI1IjtzOjI4OiJjc3NfbWFpbl9oZWFkaW5nX2ZvbnRfd2VpZ2h0IjtzOjM6IjUwMCI7czoyODoiY3NzX21haW5faGVhZGluZ19mb250X2ZhbWlseSI7czo3OiJSYWxld2F5IjtzOjI3OiJjc3NfbWFpbl9oZWFkaW5nX2xpbmtfY29sb3IiO3M6NzoiI2I0YzdkNiI7czozMToiY3NzX21haW5faGVhZGluZ19saW5rX2ZvbnRfc2l6ZSI7czoyOiIxMyI7czozMzoiY3NzX21haW5faGVhZGluZ19saW5rX2ZvbnRfd2VpZ2h0IjtzOjM6IjgwMCI7czozMzoiY3NzX21haW5faGVhZGluZ19saW5rX2ZvbnRfZmFtaWx5IjtzOjQ6Ik11bGkiO3M6MTM6InZpZXdfYWxsX2xpbmsiO3M6MDoiIjtzOjI2OiJjc3NfbWFpbl9oZWFkaW5nX3NlcF9jb2xvciI7czo3OiIjYjhiOGI4IjtzOjI1OiJjc3NfaGVhZGluZ19tYXJnaW5fYm90dG9tIjtzOjI6IjMzIjtzOjE5OiJjc3NfZmlsdGVyX2JnX2NvbG9yIjtzOjc6IiM0ODU4NzAiO3M6MjY6ImNzc19maWx0ZXJfYmdfY29sb3JfYWN0aXZlIjtzOjA6IiI7czoyMzoiY3NzX2ZpbHRlcl9ib3JkZXJfY29sb3IiO3M6NzoiIzQ4NTg3MCI7czozMDoiY3NzX2ZpbHRlcl9ib3JkZXJfY29sb3JfYWN0aXZlIjtzOjc6IiM0ODU4NzAiO3M6MjM6ImNzc19maWx0ZXJfYm9yZGVyX3dpZHRoIjtzOjE6IjMiO3M6MjQ6ImNzc19maWx0ZXJfYm9yZGVyX3JhZGl1cyI7czoxOiI0IjtzOjE2OiJjc3NfZmlsdGVyX2NvbG9yIjtzOjc6IiM3YjhlYWIiO3M6MjM6ImNzc19maWx0ZXJfY29sb3JfYWN0aXZlIjtzOjc6IiM0ODU4NzAiO3M6MjA6ImNzc19maWx0ZXJfZm9udF9zaXplIjtzOjI6IjEyIjtzOjIyOiJjc3NfZmlsdGVyX2ZvbnRfd2VpZ2h0IjtzOjM6IjgwMCI7czoxOToiY3NzX2ZpbHRlcl9wb3NpdGlvbiI7czo1OiJyaWdodCI7czoxNDoicmVzX3NtX2NvbHVtbnMiO3M6NDoiYXV0byI7czoxMjoicmVzX3NtX3RodW1iIjtzOjU6ImJsb2NrIjtzOjE0OiJyZXNfdHBfY29sdW1ucyI7czo0OiJhdXRvIjtzOjEzOiJyZXNfcF9jb2x1bW5zIjtzOjQ6ImF1dG8iO3M6MTg6Im1vZHVsZV9pbnN0YW5jZV9pZCI7aTo1ODtzOjc6InBvc3RfaWQiO3M6MzoiNDYzIjtzOjk6Im1vZHVsZV9pZCI7czoxMDoiRFNMQ19TdGFmZiI7fQ==[/dslc_module] [/dslc_modules_area] [/dslc_modules_section] ',
|
818 |
-
'section' => 'original'
|
819 |
-
);
|
820 |
-
|
821 |
-
return $templates;
|
822 |
-
|
823 |
-
} add_filter( 'dslc_get_templates', 'dslc_set_default_templates', 1 );
|
824 |
-
|
825 |
-
/**
|
826 |
-
* Set user templates
|
827 |
-
*
|
828 |
-
* @since 1.0.3
|
829 |
-
*/
|
830 |
-
function dslc_set_user_templates( $templates ) {
|
831 |
-
|
832 |
-
// Get user templates
|
833 |
-
$user_templates = maybe_unserialize ( get_option( 'dslc_templates' ) );
|
834 |
-
|
835 |
-
// If there are any, merge them with the templates array
|
836 |
-
if ( ! empty ( $user_templates ) && is_array( $user_templates ) ) {
|
837 |
-
$templates = array_merge ( $templates, $user_templates );
|
838 |
-
}
|
839 |
-
|
840 |
-
// Pass it back
|
841 |
-
return $templates;
|
842 |
-
|
843 |
} add_filter( 'dslc_get_templates', 'dslc_set_user_templates', 1 );
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* Table of Contents
|
5 |
+
*
|
6 |
+
* - dslc_load_translation ( Load the text domain )
|
7 |
+
* - dslc_register_modules ( Register default module and calls action used to register custom modules )
|
8 |
+
* - dslc_register_module ( Register a module )
|
9 |
+
* - dslc_unregister_module ( Unregister a module )
|
10 |
+
* - dslc_module_settings ( Get settings of a specific module )
|
11 |
+
* - dslc_generate_custom_css ( Generate module CSS )
|
12 |
+
* - dslc_get_new_module_id ( Get new unique ID )
|
13 |
+
* - dslc_register_template ( Register a template )
|
14 |
+
* - dslc_unregister_template ( Unregister a template )
|
15 |
+
* - dslc_body_class ( Add custom classes to the body tag )
|
16 |
+
* - dslc_set_defaults ( Replaces the default option values )
|
17 |
+
* - dslc_is_module_active ( Check if a specific module is active - can be disabled in LC settings )
|
18 |
+
* - dslc_save_preset ( Save a preset )
|
19 |
+
* - dslc_is_editor_active ( Check if the editor is currently active )
|
20 |
+
* - dslc_get_code ( Gets LC code of a specific post/page )
|
21 |
+
* - dslc_get_templates ( Returns an array of active templates )
|
22 |
+
* - dslc_set_default_templates ( Set default templates )
|
23 |
+
* - dslc_set_user_templates ( Set user templates )
|
24 |
+
*/
|
25 |
+
|
26 |
+
/**
|
27 |
+
* Load text domain
|
28 |
+
*
|
29 |
+
* @since 1.0.3
|
30 |
+
*/
|
31 |
+
|
32 |
+
function dslc_load_translation() {
|
33 |
+
|
34 |
+
load_plugin_textdomain( 'live-composer-page-builder', false, DS_LIVE_COMPOSER_DIR_NAME . '/lang/' );
|
35 |
+
|
36 |
+
} add_action( 'plugins_loaded', 'dslc_load_translation' );
|
37 |
+
|
38 |
+
/**
|
39 |
+
* Registers default and custom modules
|
40 |
+
*
|
41 |
+
* @since 1.0
|
42 |
+
*/
|
43 |
+
|
44 |
+
function dslc_register_modules() {
|
45 |
+
|
46 |
+
// Register default modules
|
47 |
+
dslc_register_module( 'DSLC_TP_Thumbnail' );
|
48 |
+
dslc_register_module( 'DSLC_TP_Title' );
|
49 |
+
dslc_register_module( 'DSLC_TP_Content' );
|
50 |
+
dslc_register_module( 'DSLC_TP_Excerpt' );
|
51 |
+
dslc_register_module( 'DSLC_TP_Meta' );
|
52 |
+
dslc_register_module( 'DSLC_TP_Downloads_Button' );
|
53 |
+
dslc_register_module( 'DSLC_TP_Gallery_Slider' );
|
54 |
+
dslc_register_module( 'DSLC_TP_Project_Slider' );
|
55 |
+
dslc_register_module( 'DSLC_TP_Comments' );
|
56 |
+
dslc_register_module( 'DSLC_TP_Comments_Form' );
|
57 |
+
dslc_register_module( 'DSLC_TP_Staff_Social' );
|
58 |
+
dslc_register_module( 'DSLC_Accordion' );
|
59 |
+
dslc_register_module( 'DSLC_Separator' );
|
60 |
+
dslc_register_module( 'DSLC_Text_Simple' );
|
61 |
+
dslc_register_module( 'DSLC_Html' );
|
62 |
+
dslc_register_module( 'DSLC_Posts' );
|
63 |
+
dslc_register_module( 'DSLC_Blog' );
|
64 |
+
dslc_register_module( 'DSLC_Projects' );
|
65 |
+
dslc_register_module( 'DSLC_Galleries' );
|
66 |
+
dslc_register_module( 'DSLC_Downloads' );
|
67 |
+
dslc_register_module( 'DSLC_Testimonials' );
|
68 |
+
dslc_register_module( 'DSLC_Staff' );
|
69 |
+
dslc_register_module( 'DSLC_Partners' );
|
70 |
+
dslc_register_module( 'DSLC_WooCommerce_Products' );
|
71 |
+
dslc_register_module( 'DSLC_Social' );
|
72 |
+
dslc_register_module( 'DSLC_Notification' );
|
73 |
+
dslc_register_module( 'DSLC_Button' );
|
74 |
+
dslc_register_module( 'DSLC_Image' );
|
75 |
+
dslc_register_module( 'DSLC_Tabs' );
|
76 |
+
dslc_register_module( 'DSLC_Progress_Bars' );
|
77 |
+
dslc_register_module( 'DSLC_Sliders' );
|
78 |
+
dslc_register_module( 'DSLC_Info_Box' );
|
79 |
+
dslc_register_module( 'DSLC_Widgets' );
|
80 |
+
dslc_register_module( 'DSLC_Icon' );
|
81 |
+
dslc_register_module( 'DSLC_Navigation' );
|
82 |
+
|
83 |
+
// Hook to register custom modules
|
84 |
+
do_action( 'dslc_hook_register_modules' );
|
85 |
+
do_action( 'dslc_hook_unregister_modules' );
|
86 |
+
|
87 |
+
} add_action( 'init', 'dslc_register_modules', 1 );
|
88 |
+
|
89 |
+
|
90 |
+
/**
|
91 |
+
* Register module
|
92 |
+
*
|
93 |
+
* @since 1.0
|
94 |
+
*/
|
95 |
+
|
96 |
+
function dslc_register_module( $module_id ) {
|
97 |
+
|
98 |
+
// Array that holds all active modules
|
99 |
+
global $dslc_var_modules;
|
100 |
+
|
101 |
+
// Instanciate the module class
|
102 |
+
$module_instance = new $module_id();
|
103 |
+
|
104 |
+
// Icon
|
105 |
+
if ( ! isset( $module_instance->module_icon) )
|
106 |
+
$module_instance->module_icon = '';
|
107 |
+
|
108 |
+
// Category/Origin
|
109 |
+
if ( ! isset( $module_instance->module_category) )
|
110 |
+
$module_instance->module_category = 'other';
|
111 |
+
|
112 |
+
// If the array ID not taken
|
113 |
+
if ( ! isset( $dslc_var_modules[$module_id] ) ) {
|
114 |
+
|
115 |
+
// Append new module to the global array
|
116 |
+
$dslc_var_modules[ $module_id ] = array(
|
117 |
+
'id' => $module_id,
|
118 |
+
'title' => $module_instance->module_title,
|
119 |
+
'icon' => $module_instance->module_icon,
|
120 |
+
'origin' => $module_instance->module_category
|
121 |
+
);
|
122 |
+
|
123 |
+
}
|
124 |
+
|
125 |
+
}
|
126 |
+
|
127 |
+
/**
|
128 |
+
* Unregister module
|
129 |
+
*
|
130 |
+
* @since 1.0
|
131 |
+
*/
|
132 |
+
|
133 |
+
function dslc_unregister_module( $module_id ) {
|
134 |
+
|
135 |
+
// Array that holds all active modules
|
136 |
+
global $dslc_var_modules;
|
137 |
+
|
138 |
+
// Remove module from array
|
139 |
+
unset( $dslc_var_modules[ $module_id ] );
|
140 |
+
|
141 |
+
}
|
142 |
+
|
143 |
+
/**
|
144 |
+
* Module Settings
|
145 |
+
*
|
146 |
+
* Generates settings based on default values and user values
|
147 |
+
*
|
148 |
+
* @since 1.0
|
149 |
+
*/
|
150 |
+
|
151 |
+
function dslc_module_settings( $options, $custom = false ) {
|
152 |
+
|
153 |
+
// Array to hold the settings
|
154 |
+
$settings = array();
|
155 |
+
|
156 |
+
// Go through all options
|
157 |
+
foreach( $options as $option ) {
|
158 |
+
|
159 |
+
// If value set use it
|
160 |
+
if ( isset( $_POST[ $option['id'] ] ) ) {
|
161 |
+
$settings[ $option['id'] ] = $_POST[ $option['id'] ];
|
162 |
+
// If value not set use default
|
163 |
+
} else {
|
164 |
+
$settings[ $option['id'] ] = $option['std'];
|
165 |
+
}
|
166 |
+
|
167 |
+
}
|
168 |
+
|
169 |
+
return $settings;
|
170 |
+
|
171 |
+
}
|
172 |
+
|
173 |
+
/**
|
174 |
+
* Generates module CSS
|
175 |
+
*
|
176 |
+
* @since 1.0
|
177 |
+
*/
|
178 |
+
|
179 |
+
function dslc_generate_custom_css( $options_arr, $settings, $restart = false ) {
|
180 |
+
|
181 |
+
$css_output = '';
|
182 |
+
global $dslc_googlefonts_array;
|
183 |
+
$googlefonts_output = '';
|
184 |
+
$regular_fonts = array( "Georgia", "Times", "Arial", "Lucida Sans Unicode", "Tahoma", "Trebuchet MS", "Verdana", "Helvetica" );
|
185 |
+
$organized_array = array();
|
186 |
+
|
187 |
+
global $dslc_css_fonts;
|
188 |
+
global $dslc_css_style;
|
189 |
+
|
190 |
+
$important_append = '';
|
191 |
+
$force_important = dslc_get_option( 'lc_force_important_css', 'dslc_plugin_options' );
|
192 |
+
if ( $force_important == 'enabled' )
|
193 |
+
$important_append = ' !important';
|
194 |
+
|
195 |
+
if ( isset( $_GET['dslc'] ) && $_GET['dslc'] == 'active' ) {
|
196 |
+
$important_append = '';
|
197 |
+
}
|
198 |
+
|
199 |
+
if ( $restart == true ) {
|
200 |
+
|
201 |
+
$dslc_css_fonts = '';
|
202 |
+
$dslc_css_style = '';
|
203 |
+
|
204 |
+
}
|
205 |
+
|
206 |
+
// Go through array of options
|
207 |
+
foreach ( $options_arr as $option_arr ) {
|
208 |
+
|
209 |
+
// Fix for "alter_defaults" and responsive tablet state
|
210 |
+
if ( $option_arr['id'] == 'css_res_t' && $option_arr['std'] == 'enabled' && ! isset( $settings['css_res_t'] ) )
|
211 |
+
$settings['css_res_t'] = 'enabled';
|
212 |
+
|
213 |
+
// Fix for "alter_defaults" and responsive phone state
|
214 |
+
if ( $option_arr['id'] == 'css_res_p' && $option_arr['std'] == 'enabled' && ! isset( $settings['css_res_p'] ) )
|
215 |
+
$settings['css_res_p'] = 'enabled';
|
216 |
+
|
217 |
+
// If option type is done with CSS and option is set
|
218 |
+
if ( isset( $option_arr['affect_on_change_el'] ) && isset( $option_arr['affect_on_change_rule'] ) ) {
|
219 |
+
|
220 |
+
// Default
|
221 |
+
if ( ! isset( $settings[$option_arr['id']] ) )
|
222 |
+
$settings[$option_arr['id']] = $option_arr['std'];
|
223 |
+
|
224 |
+
// Extension (px, %, em...)
|
225 |
+
$ext = ' ';
|
226 |
+
if ( isset( $option_arr['ext'] ) )
|
227 |
+
$ext = $option_arr['ext'];
|
228 |
+
|
229 |
+
// Prepend
|
230 |
+
$prepend = '';
|
231 |
+
if ( isset( $option_arr['prepend'] ) )
|
232 |
+
$prepend = $option_arr['prepend'];
|
233 |
+
|
234 |
+
// Append
|
235 |
+
$append = '';
|
236 |
+
if ( isset( $option_arr['append'] ) )
|
237 |
+
$append = $option_arr['append'];
|
238 |
+
|
239 |
+
if ( $option_arr['type'] == 'image' ) {
|
240 |
+
$prepend = 'url("';
|
241 |
+
$append = '")';
|
242 |
+
}
|
243 |
+
|
244 |
+
// Get element and CSS rule
|
245 |
+
$affect_rule_raw = $option_arr['affect_on_change_rule'];
|
246 |
+
$affect_rules_arr = explode( ',', $affect_rule_raw );
|
247 |
+
|
248 |
+
// Affect Element
|
249 |
+
$affect_el = '';
|
250 |
+
$affect_els_arr = explode( ',', $option_arr['affect_on_change_el'] );
|
251 |
+
$count = 0;
|
252 |
+
foreach ( $affect_els_arr as $affect_el_arr) {
|
253 |
+
$count++;
|
254 |
+
if ( $count > 1 ) {
|
255 |
+
$affect_el .= ',';
|
256 |
+
}
|
257 |
+
|
258 |
+
if ( isset( $option_arr['section'] ) && $option_arr['section'] == 'responsive' ) {
|
259 |
+
|
260 |
+
switch ( $option_arr['tab'] ) {
|
261 |
+
case __( 'tablet', 'live-composer-page-builder' ):
|
262 |
+
if ( isset( $settings['css_res_t'] ) && $settings['css_res_t'] == 'enabled' )
|
263 |
+
$affect_el .= 'body.dslc-res-tablet #dslc-content #dslc-module-' . $settings['module_instance_id'] . ' ' . $affect_el_arr;
|
264 |
+
break;
|
265 |
+
case __( 'phone', 'live-composer-page-builder' ):
|
266 |
+
if ( isset( $settings['css_res_p'] ) && $settings['css_res_p'] == 'enabled' )
|
267 |
+
$affect_el .= 'body.dslc-res-phone #dslc-content #dslc-module-' . $settings['module_instance_id'] . ' ' . $affect_el_arr;
|
268 |
+
break;
|
269 |
+
}
|
270 |
+
|
271 |
+
} else {
|
272 |
+
$affect_el .= '#dslc-content #dslc-module-' . $settings['module_instance_id'] . ' ' . $affect_el_arr;
|
273 |
+
}
|
274 |
+
|
275 |
+
}
|
276 |
+
|
277 |
+
// Checkbox ( CSS )
|
278 |
+
if ( $option_arr['type'] == 'checkbox' && $option_arr['refresh_on_change'] == false ) {
|
279 |
+
|
280 |
+
$checkbox_val = '';
|
281 |
+
$checkbox_arr = explode( ' ', trim( $settings[$option_arr['id']] ) );
|
282 |
+
|
283 |
+
if ( in_array( 'top', $checkbox_arr ) )
|
284 |
+
$checkbox_val .= 'solid ';
|
285 |
+
else
|
286 |
+
$checkbox_val .= 'none ';
|
287 |
+
|
288 |
+
if ( in_array( 'right', $checkbox_arr ) )
|
289 |
+
$checkbox_val .= 'solid ';
|
290 |
+
else
|
291 |
+
$checkbox_val .= 'none ';
|
292 |
+
|
293 |
+
if ( in_array( 'bottom', $checkbox_arr ) )
|
294 |
+
$checkbox_val .= 'solid ';
|
295 |
+
else
|
296 |
+
$checkbox_val .= 'none ';
|
297 |
+
|
298 |
+
if ( in_array( 'left', $checkbox_arr ) )
|
299 |
+
$checkbox_val .= 'solid ';
|
300 |
+
else
|
301 |
+
$checkbox_val .= 'none ';
|
302 |
+
|
303 |
+
$settings[$option_arr['id']] = $checkbox_val;
|
304 |
+
|
305 |
+
}
|
306 |
+
|
307 |
+
// Colors (transparent if empy )
|
308 |
+
if ( $settings[$option_arr['id']] == '' && ( $option_arr['affect_on_change_rule'] == 'background' || $option_arr['affect_on_change_rule'] == 'background-color' ) ) {
|
309 |
+
|
310 |
+
$settings[$option_arr['id']] = 'transparent';
|
311 |
+
|
312 |
+
}
|
313 |
+
|
314 |
+
foreach ( $affect_rules_arr as $affect_rule ) {
|
315 |
+
$organized_array[$affect_el][$affect_rule] = $prepend . $settings[$option_arr['id']] . $ext . $append;
|
316 |
+
}
|
317 |
+
|
318 |
+
}
|
319 |
+
|
320 |
+
// If option type is font
|
321 |
+
if ( $option_arr['type'] == 'font' ) {
|
322 |
+
|
323 |
+
if ( ! in_array( $settings[$option_arr['id']], $dslc_googlefonts_array ) && ! in_array( $settings[$option_arr['id']], $regular_fonts ) )
|
324 |
+
$dslc_googlefonts_array[] = $settings[$option_arr['id']];
|
325 |
+
|
326 |
+
}
|
327 |
+
|
328 |
+
}
|
329 |
+
|
330 |
+
if ( count( $organized_array ) > 0 ) {
|
331 |
+
|
332 |
+
foreach ( $organized_array as $el => $rules ) {
|
333 |
+
|
334 |
+
$css_output .= $el . ' { ';
|
335 |
+
|
336 |
+
foreach ( $rules as $rule => $value ) {
|
337 |
+
|
338 |
+
if ( trim( $value ) != '' && trim( $value ) != 'url(" ")' ) {
|
339 |
+
|
340 |
+
$css_output .= $rule . ' : ' . $value . $important_append . '; ';
|
341 |
+
|
342 |
+
}
|
343 |
+
|
344 |
+
}
|
345 |
+
|
346 |
+
$css_output .= ' } ';
|
347 |
+
|
348 |
+
}
|
349 |
+
|
350 |
+
}
|
351 |
+
|
352 |
+
$dslc_css_style .= $css_output;
|
353 |
+
|
354 |
+
}
|
355 |
+
|
356 |
+
/**
|
357 |
+
* Returns an unique module ID
|
358 |
+
*
|
359 |
+
* @since 1.0
|
360 |
+
*/
|
361 |
+
|
362 |
+
function dslc_get_new_module_id() {
|
363 |
+
|
364 |
+
// Allowed to do this?
|
365 |
+
if ( is_user_logged_in() && current_user_can( DS_LIVE_COMPOSER_CAPABILITY ) ) {
|
366 |
+
|
367 |
+
// Get current count
|
368 |
+
$module_id_count = get_option( 'dslc_module_id_count' );
|
369 |
+
|
370 |
+
// Increment by one
|
371 |
+
$module_instance_id = $module_id_count + 1;
|
372 |
+
|
373 |
+
// Update the count
|
374 |
+
update_option( 'dslc_module_id_count', $module_instance_id );
|
375 |
+
|
376 |
+
// Return new ID
|
377 |
+
return $module_instance_id;
|
378 |
+
|
379 |
+
}
|
380 |
+
|
381 |
+
}
|
382 |
+
|
383 |
+
/**
|
384 |
+
* Hooks to register/unregister templates
|
385 |
+
*
|
386 |
+
* @since 1.0
|
387 |
+
*/
|
388 |
+
|
389 |
+
function dslc_register_templates() {
|
390 |
+
|
391 |
+
do_action( 'dslc_hook_register_templates' );
|
392 |
+
do_action( 'dslc_hook_unregister_templates' );
|
393 |
+
|
394 |
+
} add_action( 'init', 'dslc_register_templates', 1 );
|
395 |
+
|
396 |
+
/**
|
397 |
+
* Register a template
|
398 |
+
*
|
399 |
+
* @since 1.0
|
400 |
+
*/
|
401 |
+
|
402 |
+
function dslc_register_template( $template ) {
|
403 |
+
|
404 |
+
// Global variable that holds templates information
|
405 |
+
global $dslc_var_templates;
|
406 |
+
|
407 |
+
// If an array supplied proceed
|
408 |
+
if ( is_array( $template ) ) {
|
409 |
+
|
410 |
+
// If the array ID not taken
|
411 |
+
if ( ! isset( $dslc_var_templates[$template['id']] ) ) {
|
412 |
+
|
413 |
+
// Add the template to the templates array
|
414 |
+
$dslc_var_templates[$template['id']] = $template;
|
415 |
+
|
416 |
+
}
|
417 |
+
|
418 |
+
}
|
419 |
+
|
420 |
+
}
|
421 |
+
|
422 |
+
/**
|
423 |
+
* Unregister a template
|
424 |
+
*
|
425 |
+
* @since 1.0
|
426 |
+
*/
|
427 |
+
|
428 |
+
function dslc_unregister_template( $template_ID ) {
|
429 |
+
|
430 |
+
// Global variable that holds templates information
|
431 |
+
global $dslc_var_templates;
|
432 |
+
|
433 |
+
// If the template exists
|
434 |
+
if ( isset( $dslc_var_templates[$template_ID] ) ) {
|
435 |
+
|
436 |
+
// Remove the template from the templates array
|
437 |
+
unset( $dslc_var_templates[$template_ID] );
|
438 |
+
|
439 |
+
}
|
440 |
+
|
441 |
+
}
|
442 |
+
|
443 |
+
/**
|
444 |
+
* Add custom classes to the body tag
|
445 |
+
*
|
446 |
+
* @since 1.0
|
447 |
+
*/
|
448 |
+
|
449 |
+
function dslc_body_class( $classes ) {
|
450 |
+
|
451 |
+
global $dslc_post_types;
|
452 |
+
|
453 |
+
$proceed = false;
|
454 |
+
$has_lc_content = false;
|
455 |
+
$has_lc_header_footer = false;
|
456 |
+
|
457 |
+
if ( is_archive() && ! is_author() && ! is_search() ) {
|
458 |
+
$template_ID = dslc_get_option( get_post_type(), 'dslc_plugin_options_archives' );
|
459 |
+
if ( $template_ID ) {
|
460 |
+
$proceed = true;
|
461 |
+
$has_lc_content = true;
|
462 |
+
}
|
463 |
+
}
|
464 |
+
|
465 |
+
if ( is_author() ) {
|
466 |
+
$template_ID = dslc_get_option( 'author', 'dslc_plugin_options_archives' );
|
467 |
+
if ( $template_ID ) {
|
468 |
+
$proceed = true;
|
469 |
+
$has_lc_content = true;
|
470 |
+
}
|
471 |
+
}
|
472 |
+
|
473 |
+
if ( is_search() ) {
|
474 |
+
$template_ID = dslc_get_option( 'search_results', 'dslc_plugin_options_archives' );
|
475 |
+
if ( $template_ID ) {
|
476 |
+
$proceed = true;
|
477 |
+
$has_lc_content = true;
|
478 |
+
}
|
479 |
+
}
|
480 |
+
|
481 |
+
if ( is_singular() )
|
482 |
+
$proceed = true;
|
483 |
+
|
484 |
+
if ( $proceed == false )
|
485 |
+
return $classes;
|
486 |
+
|
487 |
+
// If page in LC mode, force the class
|
488 |
+
if ( isset( $_GET['dslc'] ) && $_GET['dslc'] == 'active' )
|
489 |
+
$has_lc_content = true;
|
490 |
+
|
491 |
+
|
492 |
+
// Still nothing, let's check if there's real LC content on the page
|
493 |
+
if ( ! $has_lc_content ) {
|
494 |
+
|
495 |
+
// Get the dslc_code custom field
|
496 |
+
$dslc_code = get_post_meta( get_the_ID(), 'dslc_code', true );
|
497 |
+
|
498 |
+
// If there is LC content, allow the class
|
499 |
+
if ( $dslc_code )
|
500 |
+
$has_lc_content = true;
|
501 |
+
|
502 |
+
}
|
503 |
+
|
504 |
+
// Still nothing, let's check if it's a post and has an LC template
|
505 |
+
if ( ! $has_lc_content && is_singular( $dslc_post_types ) ) {
|
506 |
+
|
507 |
+
// Get the ID of the template
|
508 |
+
$template_ID = dslc_st_get_template_ID( get_the_ID() );
|
509 |
+
|
510 |
+
// If tempalte exists, allow the class
|
511 |
+
if ( $template_ID )
|
512 |
+
$has_lc_content = true;
|
513 |
+
|
514 |
+
}
|
515 |
+
|
516 |
+
// Let's check if it has LC powered header/footer
|
517 |
+
$header_footer = dslc_hf_get_ID( get_the_ID() );
|
518 |
+
if ( $header_footer['header'] || $header_footer['footer'] ) {
|
519 |
+
$has_lc_header_footer = true;
|
520 |
+
}
|
521 |
+
|
522 |
+
// If has LC content append class
|
523 |
+
if ( $has_lc_content || $has_lc_header_footer )
|
524 |
+
$classes[] = 'dslc-page';
|
525 |
+
|
526 |
+
if ( $has_lc_content )
|
527 |
+
$classes[] = 'dslc-page-has-content';
|
528 |
+
|
529 |
+
if ( $has_lc_header_footer )
|
530 |
+
$classes[] = 'dslc-page-has-hf';
|
531 |
+
|
532 |
+
// If responsive disabled append class
|
533 |
+
if ( defined( 'DS_LIVE_COMPOSER_RESPONSIVE' ) && ! DS_LIVE_COMPOSER_RESPONSIVE )
|
534 |
+
$classes[] = 'dslc-res-disabled';
|
535 |
+
|
536 |
+
// Return the modified array
|
537 |
+
return $classes;
|
538 |
+
|
539 |
+
} add_filter( 'body_class', 'dslc_body_class' );
|
540 |
+
|
541 |
+
/**
|
542 |
+
* Replaces the default option values
|
543 |
+
*
|
544 |
+
* @since 1.0
|
545 |
+
*/
|
546 |
+
|
547 |
+
function dslc_set_defaults( $new_defaults, $options ) {
|
548 |
+
|
549 |
+
// If no new defaults, pass it back and stop
|
550 |
+
if ( ! $new_defaults )
|
551 |
+
return $options;
|
552 |
+
|
553 |
+
// Generate an array of options IDs to alter
|
554 |
+
$def_ids = array();
|
555 |
+
foreach ( $new_defaults as $key => $val ) {
|
556 |
+
$def_ids[] = $key;
|
557 |
+
}
|
558 |
+
|
559 |
+
// Go through all the options
|
560 |
+
foreach ( $options as $opt_key => $option ) {
|
561 |
+
|
562 |
+
if ( in_array( $option['id'], $def_ids ) ) {
|
563 |
+
$options[$opt_key]['std'] = $new_defaults[$option['id']];
|
564 |
+
}
|
565 |
+
|
566 |
+
}
|
567 |
+
|
568 |
+
// Pass back the options array
|
569 |
+
return $options;
|
570 |
+
|
571 |
+
}
|
572 |
+
|
573 |
+
/**
|
574 |
+
* Check if module is active
|
575 |
+
*/
|
576 |
+
|
577 |
+
function dslc_is_module_active( $module_ID, $check_registered = false ) {
|
578 |
+
|
579 |
+
global $dslc_var_modules;
|
580 |
+
|
581 |
+
if ( dslc_get_option( $module_ID, 'dslc_plugin_options_features' ) == 'disabled' )
|
582 |
+
return false;
|
583 |
+
elseif ( $check_registered == true && ! isset( $dslc_var_modules[$module_ID] ) )
|
584 |
+
return false;
|
585 |
+
else
|
586 |
+
return true;
|
587 |
+
|
588 |
+
}
|
589 |
+
|
590 |
+
/**
|
591 |
+
* Save Preset
|
592 |
+
*
|
593 |
+
* @since 1.0
|
594 |
+
*/
|
595 |
+
|
596 |
+
function dslc_save_preset( $preset_name, $preset_code_raw, $module_id ) {
|
597 |
+
|
598 |
+
$preset_id = strtolower( str_replace( ' ', '-', $preset_name) );
|
599 |
+
|
600 |
+
// Clean up ( step 1 - get data )
|
601 |
+
$preset_code_raw = maybe_unserialize( base64_decode( $preset_code_raw ) );
|
602 |
+
$preset_code = array();
|
603 |
+
$module = new $module_id();
|
604 |
+
$module_options = $module->options();
|
605 |
+
|
606 |
+
// Clean up ( step 2 - generate correct preset code )
|
607 |
+
foreach( $module_options as $module_option ) {
|
608 |
+
|
609 |
+
// allowed to have a preset
|
610 |
+
if ( ! isset( $module_option['include_in_preset'] ) || $module_option['include_in_preset'] == true ) {
|
611 |
+
|
612 |
+
// modules section not set or module section not functionality
|
613 |
+
if ( ( isset( $module_option['section'] ) && $module_option['section'] !== 'functionality' ) && ( ! isset( $module_option['visibility'] ) || $module_option['visibility'] !== 'hidden' ) ) {
|
614 |
+
|
615 |
+
if ( isset ( $preset_code_raw[$module_option['id']] ) ) {
|
616 |
+
$preset_code[$module_option['id']] = $preset_code_raw[$module_option['id']];
|
617 |
+
}
|
618 |
+
}
|
619 |
+
|
620 |
+
}
|
621 |
+
|
622 |
+
}
|
623 |
+
|
624 |
+
// Clean up ( step 3 - final )
|
625 |
+
$preset_code = base64_encode( maybe_serialize( $preset_code ) );
|
626 |
+
|
627 |
+
// Get current presets
|
628 |
+
$presets = get_option( 'dslc_presets' );
|
629 |
+
|
630 |
+
// No presets = make empty array OR presets found = unserialize
|
631 |
+
if ( $presets === false )
|
632 |
+
$presets = array();
|
633 |
+
else
|
634 |
+
$presets = maybe_unserialize( $presets );
|
635 |
+
|
636 |
+
// Append new preset to presets array
|
637 |
+
$presets[$preset_id] = array(
|
638 |
+
'title' => $preset_name,
|
639 |
+
'id' => $preset_id,
|
640 |
+
'code' => $preset_code,
|
641 |
+
'module' => $module_id
|
642 |
+
);
|
643 |
+
|
644 |
+
// Save new presets array to db and set the status
|
645 |
+
if ( update_option( 'dslc_presets', maybe_serialize( $presets ) ) )
|
646 |
+
return true;
|
647 |
+
else
|
648 |
+
return false;
|
649 |
+
|
650 |
+
}
|
651 |
+
|
652 |
+
/**
|
653 |
+
* Check if editor is currently active
|
654 |
+
*
|
655 |
+
* @since 1.0
|
656 |
+
*/
|
657 |
+
|
658 |
+
function dslc_is_editor_active( $capability = 'save') {
|
659 |
+
|
660 |
+
// Check for saving capability
|
661 |
+
if ( $capability == 'save' ) {
|
662 |
+
$capability_check = DS_LIVE_COMPOSER_CAPABILITY_SAVE;
|
663 |
+
// Check for access capability ( can use editor but can't publish changes )
|
664 |
+
} elseif ( $capability == 'access' ) {
|
665 |
+
$capability_check = DS_LIVE_COMPOSER_CAPABILITY;
|
666 |
+
}
|
667 |
+
|
668 |
+
// Check if editor is activated and current user can use the editor
|
669 |
+
if ( DS_LIVE_COMPOSER_ACTIVE && current_user_can( $capability_check ) ) {
|
670 |
+
return true;
|
671 |
+
} else {
|
672 |
+
return false;
|
673 |
+
}
|
674 |
+
|
675 |
+
}
|
676 |
+
|
677 |
+
/**
|
678 |
+
* Gets LC code of a specific post/page
|
679 |
+
*
|
680 |
+
* @since 1.0.2
|
681 |
+
*
|
682 |
+
* @param int $postID ID of the post/page. Default false.
|
683 |
+
* @param bool $draft If true will check for draft first. Default true.
|
684 |
+
* @return string The LC code for the post/page. Empty string if no LC code.
|
685 |
+
*/
|
686 |
+
function dslc_get_code( $postID = false, $draft = true ) {
|
687 |
+
|
688 |
+
// This will be returned at the end
|
689 |
+
$code = '';
|
690 |
+
|
691 |
+
// If post ID not supplied ask WordPress
|
692 |
+
if ( ! $postID ) {
|
693 |
+
$postID = get_the_ID();
|
694 |
+
}
|
695 |
+
|
696 |
+
// If still no ID return false
|
697 |
+
if ( ! $postID ) {
|
698 |
+
return false;
|
699 |
+
}
|
700 |
+
|
701 |
+
// If draft allowed ( func parameter ) and editor currently active and there is a draft version
|
702 |
+
if ( $draft && dslc_is_editor_active() && get_post_meta( $postID, 'dslc_code_draft', true ) ) {
|
703 |
+
|
704 |
+
// Load draft LC code
|
705 |
+
$code = get_post_meta( $postID, 'dslc_code_draft', true );
|
706 |
+
|
707 |
+
} else {
|
708 |
+
|
709 |
+
// Load regular ( current ) LC code
|
710 |
+
$code = get_post_meta( $postID, 'dslc_code', true );
|
711 |
+
|
712 |
+
}
|
713 |
+
|
714 |
+
// Pass it back
|
715 |
+
return $code;
|
716 |
+
|
717 |
+
}
|
718 |
+
|
719 |
+
/**
|
720 |
+
* Returns array of active templates
|
721 |
+
*
|
722 |
+
* @since 1.0
|
723 |
+
*
|
724 |
+
* @return array Multidimensional array of LC templates. Bool false if none
|
725 |
+
* One array per each template. Key of array is template ID
|
726 |
+
* Each template has array parameters title|id|code|section
|
727 |
+
*/
|
728 |
+
function dslc_get_templates() {
|
729 |
+
|
730 |
+
// Global var holding templates information
|
731 |
+
global $dslc_var_templates;
|
732 |
+
|
733 |
+
// Filter to hook into
|
734 |
+
$dslc_var_templates = apply_filters( 'dslc_get_templates', $dslc_var_templates );
|
735 |
+
|
736 |
+
// Return templates ( false if none )
|
737 |
+
if ( empty( $dslc_var_templates ) )
|
738 |
+
return false;
|
739 |
+
else
|
740 |
+
return $dslc_var_templates;
|
741 |
+
|
742 |
+
}
|
743 |
+
|
744 |
+
/**
|
745 |
+
* Set default templates
|
746 |
+
*
|
747 |
+
* @since 1.0.3
|
748 |
+
*/
|
749 |
+
function dslc_set_default_templates( $templates ) {
|
750 |
+
|
751 |
+
$templates['dslc-blog-ex-1'] = array(
|
752 |
+
'title' => __( 'Blog Variation 1', 'live-composer-page-builder' ),
|
753 |
+
'id' => 'dslc-blog-ex-1',
|
754 |
+
'code' => '[dslc_modules_section type="wrapped" columns_spacing="spacing" border_color="" border_width="0" border_style="" border="" bg_color="" bg_image_thumb="disabled" bg_image="" bg_video="" bg_video_overlay_color="" bg_video_overlay_opacity="" bg_image_repeat="repeat" bg_image_attachment="scroll" bg_image_position="left top" bg_image_size="auto" padding="61" padding_h="0" margin_h="0" margin_b="0" custom_class="" custom_id="" ] [dslc_modules_area last="yes" first="no" size="12"] [dslc_module]YToxODp7czo0OiJzaXplIjtzOjI6IjEyIjtzOjY6ImFtb3VudCI7czoxOiI2IjtzOjE1OiJwYWdpbmF0aW9uX3R5cGUiO3M6ODoibnVtYmVyZWQiO3M6NzoiY29sdW1ucyI7czoxOiI2IjtzOjI1OiJjc3NfbWFpbl9wYWRkaW5nX3ZlcnRpY2FsIjtzOjI6IjMwIjtzOjI3OiJjc3NfbWFpbl9wYWRkaW5nX2hvcml6b250YWwiO3M6MjoiNTAiO3M6MTU6InRpdGxlX2ZvbnRfc2l6ZSI7czoyOiIyNSI7czoyMToiY3NzX3RpdGxlX2ZvbnRfd2VpZ2h0IjtzOjM6IjMwMCI7czoyMToiY3NzX3RpdGxlX2ZvbnRfZmFtaWx5IjtzOjc6IlJhbGV3YXkiO3M6MTc6InRpdGxlX2xpbmVfaGVpZ2h0IjtzOjI6IjM4IjtzOjE3OiJjc3NfZXhjZXJwdF9jb2xvciI7czo3OiIjOTk5OTk5IjtzOjIxOiJjc3NfZXhjZXJwdF9mb250X3NpemUiO3M6MjoiMTYiO3M6MjM6ImNzc19leGNlcnB0X2ZvbnRfd2VpZ2h0IjtzOjM6IjQwMCI7czoyMzoiY3NzX2V4Y2VycHRfZm9udF9mYW1pbHkiO3M6NDoiTXVsaSI7czoyMzoiY3NzX2V4Y2VycHRfbGluZV9oZWlnaHQiO3M6MjoiMzAiO3M6MTQ6ImV4Y2VycHRfbGVuZ3RoIjtzOjI6IjQwIjtzOjE4OiJtb2R1bGVfaW5zdGFuY2VfaWQiO2k6MzM7czo5OiJtb2R1bGVfaWQiO3M6OToiRFNMQ19CbG9nIjt9[/dslc_module] [/dslc_modules_area] [/dslc_modules_section] ',
|
755 |
+
'section' => 'original'
|
756 |
+
);
|
757 |
+
|
758 |
+
$templates['dslc-blog-ex-2'] = array(
|
759 |
+
'title' => __( 'Blog Variation 2', 'live-composer-page-builder' ),
|
760 |
+
'id' => 'dslc-blog-ex-2',
|
761 |
+
'code' => '[dslc_modules_section type="wrapped" columns_spacing="spacing" border_color="" border_width="0" border_style="" border="" bg_color="#f7f7f7" bg_image_thumb="disabled" bg_image="" bg_video="" bg_video_overlay_color="" bg_video_overlay_opacity="" bg_image_repeat="no-repeat" bg_image_attachment="parallax" bg_image_position="center bottom" bg_image_size="auto" padding="49" padding_h="0" margin_h="0" margin_b="0" custom_class="" custom_id="" ] [dslc_modules_area last="yes" first="no" size="12"] [dslc_module]YTo1NDp7czo2OiJhbW91bnQiO3M6MToiNiI7czoxNToicGFnaW5hdGlvbl90eXBlIjtzOjg6Im51bWJlcmVkIjtzOjc6ImNvbHVtbnMiO3M6MToiNCI7czo4OiJlbGVtZW50cyI7czoyMToibWFpbl9oZWFkaW5nIGZpbHRlcnMgIjtzOjEzOiJwb3N0X2VsZW1lbnRzIjtzOjMxOiJ0aHVtYm5haWwgdGl0bGUgZXhjZXJwdCBidXR0b24gIjtzOjE0OiJjc3Nfc2VwX2hlaWdodCI7czoyOiIzMCI7czoxMzoiY3NzX3NlcF9zdHlsZSI7czo1OiJzb2xpZCI7czoyNzoiY3NzX3RodW1iX2JvcmRlcl9yYWRpdXNfdG9wIjtzOjE6IjAiO3M6MTc6ImNzc19tYWluX2JnX2NvbG9yIjtzOjc6IiNlMzYzNGQiO3M6MjE6ImNzc19tYWluX2JvcmRlcl9jb2xvciI7czowOiIiO3M6MjE6ImNzc19tYWluX2JvcmRlcl93aWR0aCI7czoxOiIwIjtzOjIwOiJjc3NfbWFpbl9ib3JkZXJfdHJibCI7czoyMjoidG9wIHJpZ2h0IGJvdHRvbSBsZWZ0ICI7czoyOToiY3NzX21haW5fYm9yZGVyX3JhZGl1c19ib3R0b20iO3M6MToiMCI7czoyNToiY3NzX21haW5fcGFkZGluZ192ZXJ0aWNhbCI7czoyOiIzNCI7czoyNzoiY3NzX21haW5fcGFkZGluZ19ob3Jpem9udGFsIjtzOjI6IjM3IjtzOjE5OiJjc3NfbWFpbl90ZXh0X2FsaWduIjtzOjQ6ImxlZnQiO3M6MTE6InRpdGxlX2NvbG9yIjtzOjc6IiNmZmZmZmYiO3M6MTU6InRpdGxlX2ZvbnRfc2l6ZSI7czoyOiIyNSI7czoyMToiY3NzX3RpdGxlX2ZvbnRfZmFtaWx5IjtzOjc6IlJhbGV3YXkiO3M6MTc6InRpdGxlX2xpbmVfaGVpZ2h0IjtzOjI6IjM1IjtzOjEyOiJ0aXRsZV9tYXJnaW4iO3M6MjoiMTciO3M6MTc6ImNzc19leGNlcnB0X2NvbG9yIjtzOjc6IiNmMGQ2ZDYiO3M6MjE6ImNzc19leGNlcnB0X2ZvbnRfc2l6ZSI7czoyOiIxNSI7czoyMzoiY3NzX2V4Y2VycHRfZm9udF9mYW1pbHkiO3M6NDoiTGF0byI7czoyMzoiY3NzX2V4Y2VycHRfbGluZV9oZWlnaHQiO3M6MjoiMjciO3M6MTQ6ImV4Y2VycHRfbWFyZ2luIjtzOjI6IjI4IjtzOjE0OiJleGNlcnB0X2xlbmd0aCI7czoyOiI0MCI7czoxOToiY3NzX2J1dHRvbl9iZ19jb2xvciI7czo3OiIjYzI0ODM4IjtzOjI1OiJjc3NfYnV0dG9uX2JnX2NvbG9yX2hvdmVyIjtzOjc6IiNmZmZmZmYiO3M6MjM6ImNzc19idXR0b25fYm9yZGVyX2NvbG9yIjtzOjc6IiMxNDBmMGYiO3M6Mjk6ImNzc19idXR0b25fYm9yZGVyX2NvbG9yX2hvdmVyIjtzOjc6IiM5ZTZkNmQiO3M6MjQ6ImNzc19idXR0b25fYm9yZGVyX3JhZGl1cyI7czoxOiIwIjtzOjIyOiJjc3NfYnV0dG9uX2NvbG9yX2hvdmVyIjtzOjc6IiM4ZjhmOGYiO3M6MjA6ImNzc19idXR0b25fZm9udF9zaXplIjtzOjI6IjEyIjtzOjI3OiJjc3NfYnV0dG9uX3BhZGRpbmdfdmVydGljYWwiO3M6MjoiMTciO3M6Mjk6ImNzc19idXR0b25fcGFkZGluZ19ob3Jpem9udGFsIjtzOjI6IjE5IjtzOjE0OiJidXR0b25faWNvbl9pZCI7czo5OiJzaGFyZS1hbHQiO3M6MjE6ImNzc19idXR0b25faWNvbl9jb2xvciI7czo3OiIjZjA3YTY4IjtzOjI3OiJjc3NfYnV0dG9uX2ljb25fY29sb3JfaG92ZXIiO3M6NzoiI2QxZDFkMSI7czoxODoibWFpbl9oZWFkaW5nX3RpdGxlIjtzOjE3OiJMQVRFU1QgQkxPRyBQT1NUUyI7czoyODoiY3NzX21haW5faGVhZGluZ19saW5lX2hlaWdodCI7czoyOiIzNSI7czoyNzoiY3NzX21haW5faGVhZGluZ19saW5rX2NvbG9yIjtzOjc6IiNlMzYzNGQiO3M6MzM6ImNzc19tYWluX2hlYWRpbmdfbGlua19jb2xvcl9ob3ZlciI7czo3OiIjYzc1MDNlIjtzOjMzOiJjc3NfbWFpbl9oZWFkaW5nX2xpbmtfcGFkZGluZ192ZXIiO3M6MToiOSI7czoyNToiY3NzX2hlYWRpbmdfbWFyZ2luX2JvdHRvbSI7czoyOiIyNSI7czoyNjoiY3NzX2ZpbHRlcl9iZ19jb2xvcl9hY3RpdmUiO3M6NzoiI2UzNjM0ZCI7czozMDoiY3NzX2ZpbHRlcl9ib3JkZXJfY29sb3JfYWN0aXZlIjtzOjc6IiNlMzYzNGQiO3M6MTk6ImNzc19maWx0ZXJfcG9zaXRpb24iO3M6NToicmlnaHQiO3M6MTg6ImNzc19maWx0ZXJfc3BhY2luZyI7czoxOiI5IjtzOjI4OiJjc3NfcGFnX2l0ZW1fYmdfY29sb3JfYWN0aXZlIjtzOjc6IiNlMzYzNGQiO3M6MzI6ImNzc19wYWdfaXRlbV9ib3JkZXJfY29sb3JfYWN0aXZlIjtzOjc6IiNlMzYzNGQiO3M6MTg6Im1vZHVsZV9pbnN0YW5jZV9pZCI7aTo0MTtzOjc6InBvc3RfaWQiO3M6MzoiMzM2IjtzOjk6Im1vZHVsZV9pZCI7czo5OiJEU0xDX0Jsb2ciO30=[/dslc_module] [/dslc_modules_area] [/dslc_modules_section] ',
|
762 |
+
'section' => 'original'
|
763 |
+
);
|
764 |
+
|
765 |
+
$templates['dslc-blog-ex-3'] = array(
|
766 |
+
'title' => __( 'Blog Variation 3', 'live-composer-page-builder' ),
|
767 |
+
'id' => 'dslc-blog-ex-3',
|
768 |
+
'code' => '[dslc_modules_section type="wrapped" columns_spacing="spacing" border_color="" border_width="0" border_style="solid" border="bottom " bg_color="#f7f9fa" bg_image_thumb="disabled" bg_image="" bg_video="" bg_video_overlay_color="#000000" bg_video_overlay_opacity="0" bg_image_repeat="repeat" bg_image_attachment="scroll" bg_image_position="left top" bg_image_size="auto" padding="63" padding_h="0" margin_h="0" margin_b="0" custom_class="" custom_id="" ] [dslc_modules_area last="no" first="yes" size="8"] [dslc_module]YTo1Mjp7czo0OiJzaXplIjtzOjI6IjEyIjtzOjExOiJvcmllbnRhdGlvbiI7czoxMDoiaG9yaXpvbnRhbCI7czo2OiJhbW91bnQiO3M6MToiMyI7czoxNToicGFnaW5hdGlvbl90eXBlIjtzOjg6Im51bWJlcmVkIjtzOjc6ImNvbHVtbnMiO3M6MjoiMTIiO3M6NToib3JkZXIiO3M6MzoiQVNDIjtzOjI5OiJjc3Nfd3JhcHBlcl9ib3JkZXJfcmFkaXVzX3RvcCI7czoxOiIzIjtzOjMyOiJjc3Nfd3JhcHBlcl9ib3JkZXJfcmFkaXVzX2JvdHRvbSI7czoxOiIzIjtzOjIwOiJjc3Nfc2VwX2JvcmRlcl9jb2xvciI7czo3OiIjZTZlNmU2IjtzOjE0OiJjc3Nfc2VwX2hlaWdodCI7czoyOiI0NCI7czoxMzoiY3NzX3NlcF9zdHlsZSI7czo1OiJzb2xpZCI7czoxODoiY3NzX3RodW1iX2JnX2NvbG9yIjtzOjc6IiNmZmZmZmYiO3M6MzA6ImNzc190aHVtYl9ib3JkZXJfcmFkaXVzX2JvdHRvbSI7czoxOiI0IjtzOjE4OiJ0aHVtYl9tYXJnaW5fcmlnaHQiO3M6MToiMCI7czoxMToidGh1bWJfd2lkdGgiO3M6MjoiMjkiO3M6MTc6ImNzc19tYWluX2JnX2NvbG9yIjtzOjA6IiI7czoyMToiY3NzX21haW5fYm9yZGVyX3dpZHRoIjtzOjE6IjAiO3M6MjA6ImNzc19tYWluX2JvcmRlcl90cmJsIjtzOjIyOiJ0b3AgcmlnaHQgYm90dG9tIGxlZnQgIjtzOjI1OiJjc3NfbWFpbl9wYWRkaW5nX3ZlcnRpY2FsIjtzOjE6IjAiO3M6Mjc6ImNzc19tYWluX3BhZGRpbmdfaG9yaXpvbnRhbCI7czoyOiI1MyI7czoxOToiY3NzX21haW5fdGV4dF9hbGlnbiI7czo0OiJsZWZ0IjtzOjExOiJ0aXRsZV9jb2xvciI7czo3OiIjNjE2MTYxIjtzOjE1OiJ0aXRsZV9mb250X3NpemUiO3M6MjoiMjgiO3M6MjE6ImNzc190aXRsZV9mb250X2ZhbWlseSI7czo3OiJSYWxld2F5IjtzOjE3OiJ0aXRsZV9saW5lX2hlaWdodCI7czoyOiI0MCI7czoxODoiY3NzX21ldGFfZm9udF9zaXplIjtzOjI6IjEzIjtzOjIwOiJjc3NfbWV0YV9mb250X2ZhbWlseSI7czo3OiJCcmF3bGVyIjtzOjIwOiJjc3NfbWV0YV9mb250X3dlaWdodCI7czozOiI1MDAiO3M6MjU6ImNzc19tZXRhX3BhZGRpbmdfdmVydGljYWwiO3M6MjoiMTciO3M6MTk6ImNzc19tZXRhX2xpbmtfY29sb3IiO3M6NzoiI2U2NmU2NSI7czoyNToiY3NzX21ldGFfbGlua19jb2xvcl9ob3ZlciI7czo3OiIjYzc1YjU0IjtzOjE3OiJjc3NfZXhjZXJwdF9jb2xvciI7czo3OiIjODc4Nzg3IjtzOjIxOiJjc3NfZXhjZXJwdF9mb250X3NpemUiO3M6MjoiMTYiO3M6MjM6ImNzc19leGNlcnB0X2ZvbnRfZmFtaWx5IjtzOjc6IkJyYXdsZXIiO3M6MjM6ImNzc19leGNlcnB0X2xpbmVfaGVpZ2h0IjtzOjI6IjI5IjtzOjE0OiJleGNlcnB0X21hcmdpbiI7czoyOiIyOSI7czoxNDoiZXhjZXJwdF9sZW5ndGgiO3M6MjoiNDAiO3M6MTE6ImJ1dHRvbl90ZXh0IjtzOjE2OiJDb250aW51ZSBSZWFkaW5nIjtzOjE5OiJjc3NfYnV0dG9uX2JnX2NvbG9yIjtzOjc6IiNlNjZlNjUiO3M6MjU6ImNzc19idXR0b25fYmdfY29sb3JfaG92ZXIiO3M6NzoiI2MyNTA0OCI7czoyMDoiY3NzX2J1dHRvbl9mb250X3NpemUiO3M6MjoiMTIiO3M6MjI6ImNzc19idXR0b25fZm9udF93ZWlnaHQiO3M6MzoiNzAwIjtzOjIyOiJjc3NfYnV0dG9uX2ZvbnRfZmFtaWx5IjtzOjEyOiJNZXJyaXdlYXRoZXIiO3M6Mjc6ImNzc19idXR0b25fcGFkZGluZ192ZXJ0aWNhbCI7czoyOiIxMyI7czoyOToiY3NzX2J1dHRvbl9wYWRkaW5nX2hvcml6b250YWwiO3M6MjoiMTQiO3M6MTQ6ImJ1dHRvbl9pY29uX2lkIjtzOjExOiJhcnJvdy1yaWdodCI7czoyMToiY3NzX2J1dHRvbl9pY29uX2NvbG9yIjtzOjc6IiNmN2FiYTYiO3M6Mjg6ImNzc19wYWdfaXRlbV9iZ19jb2xvcl9hY3RpdmUiO3M6NzoiI2U2NmU2NSI7czoyNToiY3NzX3BhZ19pdGVtX2JvcmRlcl9jb2xvciI7czo3OiIjZDlkOWQ5IjtzOjMyOiJjc3NfcGFnX2l0ZW1fYm9yZGVyX2NvbG9yX2FjdGl2ZSI7czo3OiIjZTY2ZTY1IjtzOjE4OiJtb2R1bGVfaW5zdGFuY2VfaWQiO2k6NDI7czo5OiJtb2R1bGVfaWQiO3M6OToiRFNMQ19CbG9nIjt9[/dslc_module] [/dslc_modules_area] [dslc_modules_area last="yes" first="no" size="4"] [dslc_module]YToyMDp7czo0OiJzaXplIjtzOjI6IjEyIjtzOjc6InNpZGViYXIiO3M6MTY6ImRzbGNfc2lkZWJhcl9vbmUiO3M6NzoiY29sdW1ucyI7czoyOiIxMiI7czozMDoiY3NzX3dpZGdldHNfcGFkZGluZ19ob3Jpem9udGFsIjtzOjI6IjIyIjtzOjE5OiJjc3Nfd2lkZ2V0X2JnX2NvbG9yIjtzOjc6IiNmZmZmZmYiO3M6MjM6ImNzc193aWRnZXRfYm9yZGVyX2NvbG9yIjtzOjc6IiNkZWRlZGUiO3M6MjM6ImNzc193aWRnZXRfYm9yZGVyX3dpZHRoIjtzOjE6IjEiO3M6Mjg6ImNzc193aWRnZXRfYm9yZGVyX3JhZGl1c190b3AiO3M6MToiNCI7czozMToiY3NzX3dpZGdldF9ib3JkZXJfcmFkaXVzX2JvdHRvbSI7czoxOiI0IjtzOjI3OiJjc3Nfd2lkZ2V0X3BhZGRpbmdfdmVydGljYWwiO3M6MjoiMzAiO3M6Mjk6ImNzc193aWRnZXRfcGFkZGluZ19ob3Jpem9udGFsIjtzOjI6IjI3IjtzOjE1OiJ0aXRsZV9mb250X3NpemUiO3M6MjoiMTQiO3M6MjE6ImNzc190aXRsZV9mb250X2ZhbWlseSI7czowOiIiO3M6MTY6ImNzc190aXRsZV9tYXJnaW4iO3M6MjoiMTMiO3M6MTc6ImNzc190aXRsZV9wYWRkaW5nIjtzOjI6IjIwIjtzOjIwOiJjc3NfbWFpbl9saW5lX2hlaWdodCI7czoyOiIyNCI7czoxNDoiY3NzX2xpbmtfY29sb3IiO3M6NzoiI2U2NmU2NSI7czoyMDoiY3NzX2xpbmtfY29sb3JfaG92ZXIiO3M6NzoiI2M3NTg1MCI7czoxODoibW9kdWxlX2luc3RhbmNlX2lkIjtpOjQzO3M6OToibW9kdWxlX2lkIjtzOjEyOiJEU0xDX1dpZGdldHMiO30=[/dslc_module] [/dslc_modules_area] [/dslc_modules_section] ',
|
769 |
+
'section' => 'original'
|
770 |
+
);
|
771 |
+
|
772 |
+
$templates['dslc-projects-ex-1'] = array(
|
773 |
+
'title' => __( 'Projects Variation 1', 'live-composer-page-builder' ),
|
774 |
+
'id' => 'dslc-projects-ex-1',
|
775 |
+
'code' => '[dslc_modules_section type="full" columns_spacing="spacing" border_color="" border_width="0" border_style="" border="" bg_color="#f7f6f4" bg_image_thumb="disabled" bg_image="" bg_video="" bg_video_overlay_color="" bg_video_overlay_opacity="" bg_image_repeat="no-repeat" bg_image_attachment="parallax" bg_image_position="center bottom" bg_image_size="auto" padding="58" padding_h="5" margin_h="0" margin_b="0" custom_class="" custom_id="" ] [dslc_modules_area last="yes" first="no" size="12"] [dslc_module]YTo1MDp7czo0OiJzaXplIjtzOjI6IjEyIjtzOjY6ImFtb3VudCI7czoxOiI2IjtzOjc6ImNvbHVtbnMiO3M6MToiMiI7czo4OiJlbGVtZW50cyI7czo4OiJmaWx0ZXJzICI7czoxMzoicG9zdF9lbGVtZW50cyI7czo0MjoidGh1bWJuYWlsIHRpdGxlIGNhdGVnb3JpZXMgZXhjZXJwdCBidXR0b24gIjtzOjMxOiJjc3NfdGh1bWJuYWlsX2JvcmRlcl9yYWRpdXNfdG9wIjtzOjE6IjAiO3M6MTg6InRodW1iX3Jlc2l6ZV93aWR0aCI7czozOiIyNjEiO3M6MjE6ImNzc19tYWluX2JvcmRlcl9jb2xvciI7czo3OiIjZjBlZWViIjtzOjIwOiJjc3NfbWFpbl9ib3JkZXJfdHJibCI7czo3OiJib3R0b20gIjtzOjI5OiJjc3NfbWFpbl9ib3JkZXJfcmFkaXVzX2JvdHRvbSI7czoxOiIwIjtzOjI1OiJjc3NfbWFpbl9wYWRkaW5nX3ZlcnRpY2FsIjtzOjI6IjM2IjtzOjI3OiJjc3NfbWFpbl9wYWRkaW5nX2hvcml6b250YWwiO3M6MjoiMjkiO3M6MTU6ImNzc190aXRsZV9jb2xvciI7czo3OiIjNGY0ZjRmIjtzOjE5OiJjc3NfdGl0bGVfZm9udF9zaXplIjtzOjI6IjE3IjtzOjIxOiJjc3NfdGl0bGVfZm9udF93ZWlnaHQiO3M6MzoiNTAwIjtzOjIxOiJjc3NfdGl0bGVfZm9udF9mYW1pbHkiO3M6MTY6IlBvcnQgTGxpZ2F0IFNsYWIiO3M6MjM6ImNzc190aXRsZV9tYXJnaW5fYm90dG9tIjtzOjI6IjE1IjtzOjE4OiJjc3NfY2F0c19mb250X3NpemUiO3M6MjoiMTIiO3M6MjA6ImNzc19jYXRzX2ZvbnRfZmFtaWx5IjtzOjEyOiJQb250YW5vIFNhbnMiO3M6MjI6ImNzc19jYXRzX21hcmdpbi1ib3R0b20iO3M6MjoiMTgiO3M6MjQ6ImNzc19leGNlcnB0X2JvcmRlcl9jb2xvciI7czo3OiIjZTBlMGUwIjtzOjI0OiJjc3NfZXhjZXJwdF9ib3JkZXJfc3R5bGUiO3M6NjoiZG90dGVkIjtzOjE3OiJjc3NfZXhjZXJwdF9jb2xvciI7czo3OiIjYThhOGE4IjtzOjIxOiJjc3NfZXhjZXJwdF9mb250X3NpemUiO3M6MjoiMTUiO3M6MjM6ImNzc19leGNlcnB0X2ZvbnRfZmFtaWx5IjtzOjU6IkRvc2lzIjtzOjIzOiJjc3NfZXhjZXJwdF9saW5lX2hlaWdodCI7czoyOiIyNCI7czoxOToiY3NzX2J1dHRvbl9iZ19jb2xvciI7czo3OiIjZTM1ZDU4IjtzOjI1OiJjc3NfYnV0dG9uX2JnX2NvbG9yX2hvdmVyIjtzOjc6IiNjOTRkNDkiO3M6MjQ6ImNzc19idXR0b25fYm9yZGVyX3JhZGl1cyI7czoxOiIyIjtzOjIwOiJjc3NfYnV0dG9uX2ZvbnRfc2l6ZSI7czoyOiIxMyI7czoyMjoiY3NzX2J1dHRvbl9mb250X3dlaWdodCI7czozOiI2MDAiO3M6MjI6ImNzc19idXR0b25fZm9udF9mYW1pbHkiO3M6NzoiUFQgU2FucyI7czoxNDoiYnV0dG9uX2ljb25faWQiO3M6MTg6ImFycm93LWNpcmNsZS1yaWdodCI7czoyMToiY3NzX2J1dHRvbl9pY29uX2NvbG9yIjtzOjc6IiNlYjk3OTQiO3M6MTg6Im1haW5faGVhZGluZ190aXRsZSI7czoxNToiTEFURVNUIFBST0pFQ1RTIjtzOjI3OiJjc3NfbWFpbl9oZWFkaW5nX2xpbmtfY29sb3IiO3M6NzoiI2UzNWQ1OCI7czozMzoiY3NzX21haW5faGVhZGluZ19saW5rX2NvbG9yX2hvdmVyIjtzOjc6IiNjNDRjNDgiO3M6MzM6ImNzc19tYWluX2hlYWRpbmdfbGlua19wYWRkaW5nX3ZlciI7czoxOiI5IjtzOjI1OiJjc3NfaGVhZGluZ19tYXJnaW5fYm90dG9tIjtzOjI6IjM5IjtzOjI2OiJjc3NfZmlsdGVyX2JnX2NvbG9yX2FjdGl2ZSI7czo3OiIjZTM1ZDU4IjtzOjIzOiJjc3NfZmlsdGVyX2JvcmRlcl9jb2xvciI7czo3OiIjZWJlOWUyIjtzOjMwOiJjc3NfZmlsdGVyX2JvcmRlcl9jb2xvcl9hY3RpdmUiO3M6NzoiI2UzNWQ1OCI7czoyMjoiY3NzX2ZpbHRlcl9ib3JkZXJfdHJibCI7czo3OiJib3R0b20gIjtzOjI0OiJjc3NfZmlsdGVyX2JvcmRlcl9yYWRpdXMiO3M6MToiMCI7czoxOToiY3NzX2Fycm93c19iZ19jb2xvciI7czo3OiIjZTM1ZDU4IjtzOjI1OiJjc3NfYXJyb3dzX2JnX2NvbG9yX2hvdmVyIjtzOjc6IiNjYzUyNGUiO3M6MjQ6ImNzc19jaXJjbGVzX2NvbG9yX2FjdGl2ZSI7czo3OiIjZTM1ZDU4IjtzOjIyOiJjc3NfY2lyY2xlc19tYXJnaW5fdG9wIjtzOjI6IjIzIjtzOjE4OiJtb2R1bGVfaW5zdGFuY2VfaWQiO2k6NDY7czo5OiJtb2R1bGVfaWQiO3M6MTM6IkRTTENfUHJvamVjdHMiO30=[/dslc_module] [/dslc_modules_area] [/dslc_modules_section] ',
|
776 |
+
'section' => 'original'
|
777 |
+
);
|
778 |
+
|
779 |
+
$templates['dslc-projects-ex-2'] = array(
|
780 |
+
'title' => __( 'Projects Variation 2', 'live-composer-page-builder' ),
|
781 |
+
'id' => 'dslc-projects-ex-2',
|
782 |
+
'code' => '[dslc_modules_section type="full" columns_spacing="spacing" border_color="" border_width="0" border_style="solid" border="top bottom" bg_color="#f4f9fc" bg_image_thumb="disabled" bg_image="" bg_video="" bg_video_overlay_color="#000000" bg_video_overlay_opacity="0" bg_image_repeat="no-repeat" bg_image_attachment="scroll" bg_image_position="center center" bg_image_size="auto" padding="61" padding_h="3" margin_h="0" margin_b="0" custom_class="" custom_id="" ] [dslc_modules_area last="no" first="yes" size="3"] [dslc_module]YToxOTp7czo0OiJzaXplIjtzOjI6IjEyIjtzOjc6InNpZGViYXIiO3M6MTY6ImRzbGNfc2lkZWJhcl9vbmUiO3M6NzoiY29sdW1ucyI7czoyOiIxMiI7czozMDoiY3NzX3dpZGdldHNfcGFkZGluZ19ob3Jpem9udGFsIjtzOjE6IjMiO3M6MTk6ImNzc193aWRnZXRfYmdfY29sb3IiO3M6NzoiI2ZmZmZmZiI7czoyMzoiY3NzX3dpZGdldF9ib3JkZXJfY29sb3IiO3M6NzoiI2Q5ZDlkOSI7czoyMzoiY3NzX3dpZGdldF9ib3JkZXJfd2lkdGgiO3M6MToiMSI7czoyODoiY3NzX3dpZGdldF9ib3JkZXJfcmFkaXVzX3RvcCI7czoxOiIzIjtzOjMxOiJjc3Nfd2lkZ2V0X2JvcmRlcl9yYWRpdXNfYm90dG9tIjtzOjE6IjMiO3M6Mjc6ImNzc193aWRnZXRfcGFkZGluZ192ZXJ0aWNhbCI7czoyOiIzMyI7czoyOToiY3NzX3dpZGdldF9wYWRkaW5nX2hvcml6b250YWwiO3M6MjoiMzQiO3M6MjQ6ImNzc193aWRnZXRfbWFyZ2luX2JvdHRvbSI7czoyOiIzMiI7czoyMToiY3NzX3RpdGxlX2xpbmVfaGVpZ2h0IjtzOjI6IjE2IjtzOjE2OiJjc3NfdGl0bGVfbWFyZ2luIjtzOjI6IjE0IjtzOjE3OiJjc3NfdGl0bGVfcGFkZGluZyI7czoyOiIxOCI7czoxNDoiY3NzX2xpbmtfY29sb3IiO3M6NzoiIzE2YThmNyI7czoyMDoiY3NzX2xpbmtfY29sb3JfaG92ZXIiO3M6NzoiIzE2ODljNyI7czoxODoibW9kdWxlX2luc3RhbmNlX2lkIjtpOjQ3O3M6OToibW9kdWxlX2lkIjtzOjEyOiJEU0xDX1dpZGdldHMiO30=[/dslc_module] [/dslc_modules_area] [dslc_modules_area last="yes" first="no" size="9"] [dslc_module]YTo0ODp7czo0OiJzaXplIjtzOjI6IjEyIjtzOjY6ImFtb3VudCI7czoxOiI2IjtzOjE1OiJwYWdpbmF0aW9uX3R5cGUiO3M6ODoibnVtYmVyZWQiO3M6NzoiY29sdW1ucyI7czoxOiI0IjtzOjU6Im9yZGVyIjtzOjM6IkFTQyI7czoxMzoicG9zdF9lbGVtZW50cyI7czoyNDoidGh1bWJuYWlsIHRpdGxlIGV4Y2VycHQgIjtzOjE0OiJjc3Nfc2VwX2hlaWdodCI7czoyOiIxMyI7czoxMzoiY3NzX3NlcF9zdHlsZSI7czo0OiJub25lIjtzOjIyOiJjc3NfdGh1bWJuYWlsX2JnX2NvbG9yIjtzOjc6IiMwMGJkOGUiO3M6MzE6ImNzc190aHVtYm5haWxfYm9yZGVyX3JhZGl1c190b3AiO3M6MToiMCI7czoxODoidGh1bWJfcmVzaXplX3dpZHRoIjtzOjM6IjQwMCI7czoxNzoiY3NzX21haW5fYmdfY29sb3IiO3M6NzoiIzE2YThmNyI7czoyMToiY3NzX21haW5fYm9yZGVyX2NvbG9yIjtzOjc6IiMwMGEyZmYiO3M6MjE6ImNzc19tYWluX2JvcmRlcl93aWR0aCI7czoxOiIwIjtzOjI5OiJjc3NfbWFpbl9ib3JkZXJfcmFkaXVzX2JvdHRvbSI7czoxOiIwIjtzOjI1OiJjc3NfbWFpbl9wYWRkaW5nX3ZlcnRpY2FsIjtzOjI6IjI0IjtzOjI3OiJjc3NfbWFpbl9wYWRkaW5nX2hvcml6b250YWwiO3M6MjoiMzQiO3M6MTk6ImNzc19tYWluX3RleHRfYWxpZ24iO3M6NDoibGVmdCI7czoxNToiY3NzX3RpdGxlX2NvbG9yIjtzOjc6IiNmZmZmZmYiO3M6MTk6ImNzc190aXRsZV9mb250X3NpemUiO3M6MjoiMTgiO3M6MjE6ImNzc190aXRsZV9mb250X3dlaWdodCI7czozOiIzMDAiO3M6MjE6ImNzc190aXRsZV9saW5lX2hlaWdodCI7czoyOiIzNSI7czoyMzoiY3NzX3RpdGxlX21hcmdpbl9ib3R0b20iO3M6MToiOSI7czoxNDoiY3NzX2NhdHNfY29sb3IiO3M6NzoiI2QyZTlmNSI7czoxODoiY3NzX2NhdHNfZm9udF9zaXplIjtzOjI6IjExIjtzOjIyOiJjc3NfY2F0c19tYXJnaW4tYm90dG9tIjtzOjI6IjE5IjtzOjI0OiJjc3NfZXhjZXJwdF9ib3JkZXJfY29sb3IiO3M6NzoiIzQ0YjNlYiI7czoxNzoiY3NzX2V4Y2VycHRfY29sb3IiO3M6NzoiI2UzZjZmZiI7czoyMzoiY3NzX2V4Y2VycHRfZm9udF93ZWlnaHQiO3M6MzoiNjAwIjtzOjIzOiJjc3NfZXhjZXJwdF9mb250X2ZhbWlseSI7czoxMjoiUG9udGFubyBTYW5zIjtzOjIzOiJjc3NfZXhjZXJwdF9saW5lX2hlaWdodCI7czoyOiIyNCI7czoxNDoiZXhjZXJwdF9tYXJnaW4iO3M6MToiMiI7czoxNDoiZXhjZXJwdF9sZW5ndGgiO3M6MjoiMTEiO3M6MTk6ImNzc19leGNlcnB0X3BhZGRpbmciO3M6MjoiMTMiO3M6MTk6ImNzc19idXR0b25fYmdfY29sb3IiO3M6NzoiIzdhN2E3YSI7czoxODoibWFpbl9oZWFkaW5nX3RpdGxlIjtzOjE1OiJMYXRlc3QgUHJvamVjdHMiO3M6MjY6ImNzc19tYWluX2hlYWRpbmdfZm9udF9zaXplIjtzOjI6IjE2IjtzOjI4OiJjc3NfbWFpbl9oZWFkaW5nX2ZvbnRfd2VpZ2h0IjtzOjM6IjYwMCI7czoyODoiY3NzX21haW5faGVhZGluZ19mb250X2ZhbWlseSI7czo0OiJMYXRvIjtzOjI3OiJjc3NfbWFpbl9oZWFkaW5nX2xpbmtfY29sb3IiO3M6NzoiIzE2YThmNyI7czozMzoiY3NzX21haW5faGVhZGluZ19saW5rX2NvbG9yX2hvdmVyIjtzOjc6IiMxMjg2YzQiO3M6MzM6ImNzc19tYWluX2hlYWRpbmdfbGlua19mb250X3dlaWdodCI7czozOiI3MDAiO3M6Mjg6ImNzc19wYWdfaXRlbV9iZ19jb2xvcl9hY3RpdmUiO3M6NzoiIzE2YThmNyI7czoyNToiY3NzX3BhZ19pdGVtX2JvcmRlcl9jb2xvciI7czo3OiIjZDZkNmQ2IjtzOjMyOiJjc3NfcGFnX2l0ZW1fYm9yZGVyX2NvbG9yX2FjdGl2ZSI7czo3OiIjMTZhOGY3IjtzOjE4OiJjc3NfcGFnX2l0ZW1fY29sb3IiO3M6NzoiIzhmOGY4ZiI7czoxODoibW9kdWxlX2luc3RhbmNlX2lkIjtpOjQ4O3M6OToibW9kdWxlX2lkIjtzOjEzOiJEU0xDX1Byb2plY3RzIjt9[/dslc_module] [/dslc_modules_area] [/dslc_modules_section] ',
|
783 |
+
'section' => 'original'
|
784 |
+
);
|
785 |
+
|
786 |
+
$templates['dslc-partners-ex-1'] = array(
|
787 |
+
'title' => __( 'Partners Variation 1', 'live-composer-page-builder' ),
|
788 |
+
'id' => 'dslc-partners-ex-1',
|
789 |
+
'code' => '[dslc_modules_section show_on="desktop tablet phone" type="wrapped" columns_spacing="spacing" bg_color="" bg_image_thumb="disabled" bg_image="" bg_image_repeat="repeat" bg_image_position="left top" bg_image_attachment="scroll" bg_image_size="auto" bg_video="" bg_video_overlay_color="#111e2e" bg_video_overlay_opacity="0.56" border_color="" border_width="0" border_style="solid" border="top bottom" margin_h="0" margin_b="0" padding="114" padding_h="0" custom_class="" custom_id="" ] [dslc_modules_area last="yes" first="no" size="12"] [dslc_module last="yes"]YToyNDp7czoxNToicGFnaW5hdGlvbl90eXBlIjtzOjg6Im51bWJlcmVkIjtzOjMxOiJjc3NfdGh1bWJuYWlsX2JvcmRlcl9yYWRpdXNfdG9wIjtzOjE6IjMiO3M6Mjc6ImNzc190aHVtYm5haWxfbWFyZ2luX2JvdHRvbSI7czoxOiIwIjtzOjE4OiJ0aHVtYl9yZXNpemVfd2lkdGgiO3M6MzoiMjc0IjtzOjE3OiJjc3NfbWFpbl9iZ19jb2xvciI7czo3OiIjMWRjMjY3IjtzOjI5OiJjc3NfbWFpbl9ib3JkZXJfcmFkaXVzX2JvdHRvbSI7czoxOiIzIjtzOjI1OiJjc3NfbWFpbl9wYWRkaW5nX3ZlcnRpY2FsIjtzOjI6IjI1IjtzOjI3OiJjc3NfbWFpbl9wYWRkaW5nX2hvcml6b250YWwiO3M6MjoiMzAiO3M6MTk6ImNzc19tYWluX3RleHRfYWxpZ24iO3M6NjoiY2VudGVyIjtzOjE1OiJjc3NfdGl0bGVfY29sb3IiO3M6NzoiI2ZmZmZmZiI7czoxOToiY3NzX3RpdGxlX2ZvbnRfc2l6ZSI7czoyOiIxNiI7czoxNzoiY3NzX2V4Y2VycHRfY29sb3IiO3M6NzoiI2JhZjVkNCI7czoyMzoiY3NzX2V4Y2VycHRfbGluZV9oZWlnaHQiO3M6MjoiMjEiO3M6Mjg6ImNzc19wYWdfaXRlbV9iZ19jb2xvcl9hY3RpdmUiO3M6NzoiIzFkYzI2NyI7czozMjoiY3NzX3BhZ19pdGVtX2JvcmRlcl9jb2xvcl9hY3RpdmUiO3M6NzoiIzFkYzI2NyI7czoxNDoicmVzX3NtX2NvbHVtbnMiO3M6NDoiYXV0byI7czoxMjoicmVzX3NtX3RodW1iIjtzOjU6ImJsb2NrIjtzOjE0OiJyZXNfdHBfY29sdW1ucyI7czo0OiJhdXRvIjtzOjEzOiJyZXNfcF9jb2x1bW5zIjtzOjQ6ImF1dG8iO3M6MTg6Im1vZHVsZV9pbnN0YW5jZV9pZCI7aToyMDI1NTtzOjc6InBvc3RfaWQiO3M6MzoiNDU1IjtzOjk6Im1vZHVsZV9pZCI7czoxMzoiRFNMQ19QYXJ0bmVycyI7czoxNjoiZHNsY19tX3NpemVfbGFzdCI7czoyOiJubyI7czoxMToiZHNsY19tX3NpemUiO3M6MjoiMTIiO30=[/dslc_module] [/dslc_modules_area] [/dslc_modules_section] ',
|
790 |
+
'section' => 'original'
|
791 |
+
);
|
792 |
+
|
793 |
+
$templates['dslc-products-ex-1'] = array(
|
794 |
+
'title' => __( 'Products Variation 1', 'live-composer-page-builder' ),
|
795 |
+
'id' => 'dslc-products-ex-1',
|
796 |
+
'code' => '[dslc_modules_section show_on="desktop tablet phone" type="wrapped" columns_spacing="spacing" bg_color="" bg_image_thumb="disabled" bg_image="" bg_image_repeat="no-repeat" bg_image_position="center center" bg_image_attachment="scroll" bg_image_size="auto" bg_video="" bg_video_overlay_color="#5d5361" bg_video_overlay_opacity="0.81" border_color="" border_width="0" border_style="solid" border="bottom " margin_h="0" margin_b="0" padding="95" padding_h="9" custom_class="" custom_id="" ] [dslc_modules_area last="no" first="yes" size="9"] [dslc_module last="yes"]YTo0Njp7czo2OiJhbW91bnQiO3M6MToiNiI7czo3OiJjb2x1bW5zIjtzOjE6IjQiO3M6MTM6InBvc3RfZWxlbWVudHMiO3M6NDI6InRodW1ibmFpbCB0aXRsZSBzZXBhcmF0b3IgZXhjZXJwdCBwcmljZV8yICI7czoyMDoiY3NzX3NlcF9ib3JkZXJfY29sb3IiO3M6NzoiI2E0OTZhYiI7czoxNDoiY3NzX3NlcF9oZWlnaHQiO3M6MjoiMTAiO3M6MTM6ImNzc19zZXBfc3R5bGUiO3M6NDoibm9uZSI7czoyMjoiY3NzX3RodW1iX2JvcmRlcl9jb2xvciI7czo3OiIjMmUyODJlIjtzOjMxOiJjc3NfdGh1bWJuYWlsX2JvcmRlcl9yYWRpdXNfdG9wIjtzOjE6IjAiO3M6MTk6InRodW1iX3Jlc2l6ZV9oZWlnaHQiO3M6MzoiMjUwIjtzOjE4OiJ0aHVtYl9yZXNpemVfd2lkdGgiO3M6MzoiMjgwIjtzOjE4OiJjc3NfcHJpY2VfYmdfY29sb3IiO3M6NzoiIzdhNmU4MCI7czoyMjoiY3NzX3ByaWNlX2JvcmRlcl9jb2xvciI7czo3OiIjYTg2NTY1IjtzOjIzOiJjc3NfcHJpY2VfYm9yZGVyX3JhZGl1cyI7czoxOiIwIjtzOjE5OiJjc3NfcHJpY2VfZm9udF9zaXplIjtzOjI6IjI4IjtzOjE2OiJjc3NfcHJpY2VfbWFyZ2luIjtzOjE6IjkiO3M6MjA6ImNzc19wcmljZV9iZ19vcGFjaXR5IjtzOjE6IjEiO3M6MTc6ImNzc19wcmljZV9wYWRkaW5nIjtzOjI6IjIwIjtzOjE3OiJjc3NfbWFpbl9iZ19jb2xvciI7czo3OiIjMmUyODJlIjtzOjIxOiJjc3NfbWFpbl9ib3JkZXJfd2lkdGgiO3M6MToiMCI7czoyOToiY3NzX21haW5fYm9yZGVyX3JhZGl1c19ib3R0b20iO3M6MToiMCI7czoyNToiY3NzX21haW5fcGFkZGluZ192ZXJ0aWNhbCI7czoyOiIzMCI7czoyNzoiY3NzX21haW5fcGFkZGluZ19ob3Jpem9udGFsIjtzOjI6IjI5IjtzOjE1OiJjc3NfdGl0bGVfYWxpZ24iO3M6NDoibGVmdCI7czoxNToiY3NzX3RpdGxlX2NvbG9yIjtzOjc6IiNkOWJiODAiO3M6MTk6ImNzc190aXRsZV9mb250X3NpemUiO3M6MjoiMTQiO3M6MjE6ImNzc190aXRsZV9mb250X2ZhbWlseSI7czo5OiJPcGVuIFNhbnMiO3M6MjM6ImNzc190aXRsZV9tYXJnaW5fYm90dG9tIjtzOjI6IjIwIjtzOjI0OiJjc3NfZXhjZXJwdF9ib3JkZXJfd2lkdGgiO3M6MToiMCI7czoxNzoiY3NzX2V4Y2VycHRfY29sb3IiO3M6NzoiIzljOTM5YyI7czoxNDoiZXhjZXJwdF9tYXJnaW4iO3M6MToiMCI7czoxNDoiZXhjZXJwdF9sZW5ndGgiO3M6MToiNyI7czoxOToiY3NzX2V4Y2VycHRfcGFkZGluZyI7czoxOiIwIjtzOjIyOiJjc3NfZXhjZXJwdF90ZXh0X2FsaWduIjtzOjQ6ImxlZnQiO3M6MTc6ImNzc19wcmljZV8yX2NvbG9yIjtzOjc6IiM5YzkzOWMiO3M6MzA6ImNzc19wcmljZV8yX25vbl9kaXNjb3VudF9jb2xvciI7czo3OiIjNTk1MTU5IjtzOjEzOiJjc3Nfc2VwX2NvbG9yIjtzOjc6IiM0NzQxNDciO3M6MjE6ImNzc19zZXBfbWFyZ2luX2JvdHRvbSI7czoyOiIxOCI7czoxNDoicmVzX3NtX2NvbHVtbnMiO3M6NDoiYXV0byI7czoxMjoicmVzX3NtX3RodW1iIjtzOjU6ImJsb2NrIjtzOjE0OiJyZXNfdHBfY29sdW1ucyI7czo0OiJhdXRvIjtzOjEzOiJyZXNfcF9jb2x1bW5zIjtzOjQ6ImF1dG8iO3M6MTg6Im1vZHVsZV9pbnN0YW5jZV9pZCI7aToyMDI1NjtzOjc6InBvc3RfaWQiO3M6MzoiNDQ5IjtzOjk6Im1vZHVsZV9pZCI7czoyNToiRFNMQ19Xb29Db21tZXJjZV9Qcm9kdWN0cyI7czoxNjoiZHNsY19tX3NpemVfbGFzdCI7czoyOiJubyI7czoxMToiZHNsY19tX3NpemUiO3M6MjoiMTIiO30=[/dslc_module] [/dslc_modules_area] [dslc_modules_area last="yes" first="no" size="3"] [dslc_module last="yes"]YToxODp7czo3OiJzaWRlYmFyIjtzOjE2OiJkc2xjX3NpZGViYXJfb25lIjtzOjc6ImNvbHVtbnMiO3M6MjoiMTIiO3M6MjA6ImNzc193aWRnZXRzX2JnX2NvbG9yIjtzOjc6IiMyZTI4MmUiO3M6Mjg6ImNzc193aWRnZXRzX3BhZGRpbmdfdmVydGljYWwiO3M6MjoiMzQiO3M6MzA6ImNzc193aWRnZXRzX3BhZGRpbmdfaG9yaXpvbnRhbCI7czoyOiIzMSI7czoyNDoiY3NzX3dpZGdldF9tYXJnaW5fYm90dG9tIjtzOjI6IjM4IjtzOjIyOiJjc3NfdGl0bGVfYm9yZGVyX2NvbG9yIjtzOjc6IiM0NzQxNDciO3M6MTU6ImNzc190aXRsZV9jb2xvciI7czo3OiIjZGJkYmRiIjtzOjE2OiJjc3NfdGl0bGVfbWFyZ2luIjtzOjI6IjE1IjtzOjE3OiJjc3NfdGl0bGVfcGFkZGluZyI7czoyOiIyMSI7czoxNDoiY3NzX21haW5fY29sb3IiO3M6NzoiIzljOTM5YyI7czoxNDoiY3NzX2xpbmtfY29sb3IiO3M6NzoiI2Q5YmI4MCI7czoyMDoiY3NzX2xpbmtfY29sb3JfaG92ZXIiO3M6NzoiI2ViYjU1MiI7czoxODoibW9kdWxlX2luc3RhbmNlX2lkIjtpOjIwMjU3O3M6NzoicG9zdF9pZCI7czozOiI0NDkiO3M6OToibW9kdWxlX2lkIjtzOjEyOiJEU0xDX1dpZGdldHMiO3M6MTY6ImRzbGNfbV9zaXplX2xhc3QiO3M6Mjoibm8iO3M6MTE6ImRzbGNfbV9zaXplIjtzOjI6IjEyIjt9[/dslc_module] [/dslc_modules_area] [/dslc_modules_section] ',
|
797 |
+
'section' => 'original'
|
798 |
+
);
|
799 |
+
|
800 |
+
$templates['dslc-products-ex-2'] = array(
|
801 |
+
'title' => __( 'Products Variation 2', 'live-composer-page-builder' ),
|
802 |
+
'id' => 'dslc-products-ex-2',
|
803 |
+
'code' => '[dslc_modules_section show_on="desktop tablet phone" type="wrapped" columns_spacing="spacing" bg_color="#78373c" bg_image_thumb="disabled" bg_image="" bg_image_repeat="no-repeat" bg_image_position="center center" bg_image_attachment="scroll" bg_image_size="auto" bg_video="" bg_video_overlay_color="#4d4d4d" bg_video_overlay_opacity="0.77" border_color="" border_width="0" border_style="solid" border="bottom " margin_h="0" margin_b="0" padding="69" padding_h="9" custom_class="" custom_id="" ] [dslc_modules_area last="no" first="yes" size="5"] [dslc_module last="yes"]YTo1NTp7czo2OiJhbW91bnQiO3M6MToiMSI7czo3OiJjb2x1bW5zIjtzOjI6IjEyIjtzOjEwOiJjYXRlZ29yaWVzIjtzOjg6Imhvb2RpZXMgIjtzOjEzOiJwb3N0X2VsZW1lbnRzIjtzOjUyOiJ0aHVtYm5haWwgdGl0bGUgc2VwYXJhdG9yIHByaWNlXzIgYWRkdG9jYXJ0IGRldGFpbHMgIjtzOjIwOiJjc3Nfc2VwX2JvcmRlcl9jb2xvciI7czo3OiIjYTQ5NmFiIjtzOjE0OiJjc3Nfc2VwX2hlaWdodCI7czoyOiIxMCI7czoxMzoiY3NzX3NlcF9zdHlsZSI7czo0OiJub25lIjtzOjIyOiJjc3NfdGh1bWJuYWlsX2JnX2NvbG9yIjtzOjc6IiMxYzFiMWEiO3M6MjI6ImNzc190aHVtYl9ib3JkZXJfY29sb3IiO3M6NzoiIzJlMjgyZSI7czozMToiY3NzX3RodW1ibmFpbF9ib3JkZXJfcmFkaXVzX3RvcCI7czoxOiIwIjtzOjMwOiJjc3NfdGh1bWJuYWlsX3BhZGRpbmdfdmVydGljYWwiO3M6MjoiMTUiO3M6MzI6ImNzc190aHVtYm5haWxfcGFkZGluZ19ob3Jpem9udGFsIjtzOjI6IjE1IjtzOjE4OiJ0aHVtYl9yZXNpemVfd2lkdGgiO3M6MzoiNDQ3IjtzOjE4OiJjc3NfcHJpY2VfYmdfY29sb3IiO3M6NzoiIzk5MmYzOCI7czoyMjoiY3NzX3ByaWNlX2JvcmRlcl9jb2xvciI7czo3OiIjYTg2NTY1IjtzOjIzOiJjc3NfcHJpY2VfYm9yZGVyX3JhZGl1cyI7czoxOiI1IjtzOjE5OiJjc3NfcHJpY2VfZm9udF9zaXplIjtzOjI6IjQyIjtzOjIxOiJjc3NfcHJpY2VfZm9udF93ZWlnaHQiO3M6MzoiOTAwIjtzOjIxOiJjc3NfcHJpY2VfZm9udF9mYW1pbHkiO3M6MTI6IlBhdHJpY2sgSGFuZCI7czoxNjoiY3NzX3ByaWNlX21hcmdpbiI7czoxOiI5IjtzOjE3OiJjc3NfcHJpY2VfcGFkZGluZyI7czoyOiIyMyI7czoxNzoiY3NzX21haW5fYmdfY29sb3IiO3M6NzoiIzFjMWIxYSI7czoyMToiY3NzX21haW5fYm9yZGVyX3dpZHRoIjtzOjE6IjAiO3M6Mjk6ImNzc19tYWluX2JvcmRlcl9yYWRpdXNfYm90dG9tIjtzOjE6IjAiO3M6MTk6ImNzc19tYWluX21pbl9oZWlnaHQiO3M6MjoiODAiO3M6MjU6ImNzc19tYWluX3BhZGRpbmdfdmVydGljYWwiO3M6MjoiMTciO3M6Mjc6ImNzc19tYWluX3BhZGRpbmdfaG9yaXpvbnRhbCI7czoyOiIyOSI7czoxNToiY3NzX3RpdGxlX2NvbG9yIjtzOjc6IiNjN2M3YzciO3M6MTk6ImNzc190aXRsZV9mb250X3NpemUiO3M6MjoiMTYiO3M6MjE6ImNzc190aXRsZV9mb250X2ZhbWlseSI7czo5OiJPcGVuIFNhbnMiO3M6MjM6ImNzc190aXRsZV9tYXJnaW5fYm90dG9tIjtzOjI6IjIwIjtzOjI0OiJjc3NfZXhjZXJwdF9ib3JkZXJfY29sb3IiO3M6NzoiIzQ3NDE0NyI7czoxNzoiY3NzX2V4Y2VycHRfY29sb3IiO3M6NzoiIzljOTM5YyI7czoxNDoiZXhjZXJwdF9tYXJnaW4iO3M6MjoiMTkiO3M6MTQ6ImV4Y2VycHRfbGVuZ3RoIjtzOjI6IjE5IjtzOjE5OiJjc3NfZXhjZXJwdF9wYWRkaW5nIjtzOjI6IjEzIjtzOjE3OiJjc3NfcHJpY2VfMl9jb2xvciI7czo3OiIjOWM5MzljIjtzOjMwOiJjc3NfcHJpY2VfMl9ub25fZGlzY291bnRfY29sb3IiO3M6NzoiIzU5NTE1OSI7czoxNToiY3NzX3ByaWNlXzJfcG9zIjtzOjQ6ImxlZnQiO3M6MTM6ImNzc19zZXBfY29sb3IiO3M6NzoiIzQ3NDE0NyI7czoyMToiY3NzX3NlcF9tYXJnaW5fYm90dG9tIjtzOjI6IjE4IjtzOjE5OiJjc3NfYWRkdG9jYXJ0X2NvbG9yIjtzOjc6IiNlZDczNGUiO3M6MjM6ImNzc19hZGR0b2NhcnRfZm9udF9zaXplIjtzOjI6IjE0IjtzOjE3OiJjc3NfZGV0YWlsc19jb2xvciI7czo3OiIjZWQ3MzRlIjtzOjIxOiJjc3NfZGV0YWlsc19mb250X3NpemUiO3M6MjoiMTQiO3M6MjM6ImNzc19kZXRhaWxzX2ZvbnRfd2VpZ2h0IjtzOjM6IjcwMCI7czoxNDoicmVzX3NtX2NvbHVtbnMiO3M6NDoiYXV0byI7czoxMjoicmVzX3NtX3RodW1iIjtzOjU6ImJsb2NrIjtzOjE0OiJyZXNfdHBfY29sdW1ucyI7czo0OiJhdXRvIjtzOjEzOiJyZXNfcF9jb2x1bW5zIjtzOjQ6ImF1dG8iO3M6MTg6Im1vZHVsZV9pbnN0YW5jZV9pZCI7aToyMDI1ODtzOjc6InBvc3RfaWQiO3M6MzoiNDUxIjtzOjk6Im1vZHVsZV9pZCI7czoyNToiRFNMQ19Xb29Db21tZXJjZV9Qcm9kdWN0cyI7czoxNjoiZHNsY19tX3NpemVfbGFzdCI7czoyOiJubyI7czoxMToiZHNsY19tX3NpemUiO3M6MjoiMTIiO30=[/dslc_module] [/dslc_modules_area] [dslc_modules_area last="no" first="no" size="1"] [/dslc_modules_area] [dslc_modules_area last="yes" first="no" size="6"] [dslc_module last="yes"]YTo3OntzOjY6ImhlaWdodCI7czoyOiI0MSI7czo1OiJzdHlsZSI7czo5OiJpbnZpc2libGUiO3M6MTg6Im1vZHVsZV9pbnN0YW5jZV9pZCI7aToyMDI1OTtzOjc6InBvc3RfaWQiO3M6MzoiNDUxIjtzOjk6Im1vZHVsZV9pZCI7czoxNDoiRFNMQ19TZXBhcmF0b3IiO3M6MTY6ImRzbGNfbV9zaXplX2xhc3QiO3M6Mjoibm8iO3M6MTE6ImRzbGNfbV9zaXplIjtzOjI6IjEyIjt9[/dslc_module] [dslc_module last="yes"]YToxMTp7czo3OiJjb250ZW50IjtzOjI4OiJTZWN0aW9uIGZvciBwcm9kdWN0IHNob3djYXNlIjtzOjE3OiJjc3NfbWFyZ2luX2JvdHRvbSI7czoyOiIzNiI7czoxNDoiY3NzX21haW5fY29sb3IiO3M6NzoiI2ZmZmZmZiI7czoxODoiY3NzX21haW5fZm9udF9zaXplIjtzOjI6IjM5IjtzOjIwOiJjc3NfbWFpbl9mb250X3dlaWdodCI7czozOiIzMDAiO3M6MjA6ImNzc19tYWluX2ZvbnRfZmFtaWx5IjtzOjc6IlJhbGV3YXkiO3M6MTg6Im1vZHVsZV9pbnN0YW5jZV9pZCI7aToyMDI2MDtzOjc6InBvc3RfaWQiO3M6MzoiNDUxIjtzOjk6Im1vZHVsZV9pZCI7czoxNjoiRFNMQ19UZXh0X1NpbXBsZSI7czoxNjoiZHNsY19tX3NpemVfbGFzdCI7czoyOiJubyI7czoxMToiZHNsY19tX3NpemUiO3M6MjoiMTIiO30=[/dslc_module] [dslc_module last="yes"]YToxMTp7czo3OiJjb250ZW50IjtzOjEwNzQ6IlV0IGVuaW0gYWQgbWluaW0gdmVuaWFtLCBxdWlzIG5vc3RydWQgZXhlcmNpdGF0aW9uIHVsbGFtY28gbGFib3JpcyBuaXNpIHV0IGFsaXF1aXAgZXggZWEgY29tbW9kbyBjb25zZXF1YXQuJm5ic3A7PGRpdj48YnI+PC9kaXY+PGRpdj48c3BhbiBzdHlsZT1cImZvbnQtZmFtaWx5OiBNdWxpOyBmb250LXNpemU6IDE2cHg7IGZvbnQtc3R5bGU6IG5vcm1hbDsgZm9udC12YXJpYW50OiBub3JtYWw7IGxpbmUtaGVpZ2h0OiAyN3B4O1wiPkR1aXMgYXV0ZSBpcnVyZSBkb2xvciBpbiByZXByZWhlbmRlcml0IGluIHZvbHVwdGF0ZSB2ZWxpdCBlc3NlIGNpbGx1bSBkb2xvcmUgZXUgZnVnaWF0IG51bGxhIHBhcmlhdHVyLiBFeGNlcHRldXIgc2ludCBvY2NhZWNhdCBjdXBpZGF0YXQgbm9uIHByb2lkZW50LCBzdW50IGluIGN1bHBhIHF1aSBvZmZpY2lhIGRlc2VydW50IG1vbGxpdCBhbmltIGlkIGVzdCBsYWJvcnVtLjwvc3Bhbj48YnI+PC9kaXY+PGRpdj48c3BhbiBzdHlsZT1cImZvbnQtZmFtaWx5OiBNdWxpOyBmb250LXNpemU6IDE2cHg7IGZvbnQtc3R5bGU6IG5vcm1hbDsgZm9udC12YXJpYW50OiBub3JtYWw7IGxpbmUtaGVpZ2h0OiAyN3B4O1wiPjxicj48L3NwYW4+PC9kaXY+PGRpdj48c3BhbiBzdHlsZT1cImZvbnQtZmFtaWx5OiBNdWxpOyBmb250LXNpemU6IDE2cHg7IGZvbnQtc3R5bGU6IG5vcm1hbDsgZm9udC12YXJpYW50OiBub3JtYWw7IGxpbmUtaGVpZ2h0OiAyN3B4O1wiPkF1dGUgaXJ1cmUgZG9sb3IgaW4gcmVwcmVoZW5kZXJpdCBpbiB2b2x1cHRhdGUgdmVsaXQgZXNzZSBjaWxsdW0gZG9sb3JlIGV1IGZ1Z2lhdCBudWxsYSBwYXJpYXR1ci4gRXhjZXB0ZXVyIHNpbnQgb2NjYWVjYXQgY3VwaWRhdGF0IG5vbiBwcm9pZGVudCwgc3VudCBpbiBjdWxwYSBxdWkgb2ZmaWNpYSBkZXNlcnVudCBtb2xsaXQgYW5pbSBpZCBlc3QgbGFib3J1bS48L3NwYW4+PHNwYW4gc3R5bGU9XCJmb250LWZhbWlseTogTXVsaTsgZm9udC1zaXplOiAxNnB4OyBmb250LXN0eWxlOiBub3JtYWw7IGZvbnQtdmFyaWFudDogbm9ybWFsOyBsaW5lLWhlaWdodDogMjdweDtcIj48YnI+PC9zcGFuPjwvZGl2PiI7czoxNzoiY3NzX21hcmdpbl9ib3R0b20iO3M6MjoiNDEiO3M6MTQ6ImNzc19tYWluX2NvbG9yIjtzOjc6IiNjN2M3YzciO3M6MTg6ImNzc19tYWluX2ZvbnRfc2l6ZSI7czoyOiIxNiI7czoyMDoiY3NzX21haW5fZm9udF9mYW1pbHkiO3M6NDoiTXVsaSI7czoyMDoiY3NzX21haW5fbGluZV9oZWlnaHQiO3M6MjoiMjciO3M6MTg6Im1vZHVsZV9pbnN0YW5jZV9pZCI7aToyMDI2MTtzOjc6InBvc3RfaWQiO3M6MzoiNDUxIjtzOjk6Im1vZHVsZV9pZCI7czoxNjoiRFNMQ19UZXh0X1NpbXBsZSI7czoxNjoiZHNsY19tX3NpemVfbGFzdCI7czoyOiJubyI7czoxMToiZHNsY19tX3NpemUiO3M6MjoiMTIiO30=[/dslc_module] [dslc_module last="yes"]YToxNDp7czoxMToiYnV0dG9uX3RleHQiO3M6MTI6Ik1PUkUgREVUQUlMUyI7czoxMjoiY3NzX2JnX2NvbG9yIjtzOjc6IiNlZDczNGUiO3M6MTg6ImNzc19iZ19jb2xvcl9ob3ZlciI7czo3OiIjZjI3NTUzIjtzOjIwOiJjc3NfcGFkZGluZ192ZXJ0aWNhbCI7czoyOiIxOCI7czoyMjoiY3NzX3BhZGRpbmdfaG9yaXpvbnRhbCI7czoyOiIzNSI7czoyMDoiY3NzX2J1dHRvbl9mb250X3NpemUiO3M6MjoiMTYiO3M6MTQ6ImJ1dHRvbl9pY29uX2lkIjtzOjk6ImZpbGUtdGV4dCI7czoxNDoiY3NzX2ljb25fY29sb3IiO3M6NzoiI2ZmYjM5ZSI7czoxNToiY3NzX2ljb25fbWFyZ2luIjtzOjI6IjEwIjtzOjE4OiJtb2R1bGVfaW5zdGFuY2VfaWQiO2k6MjAyNjI7czo3OiJwb3N0X2lkIjtzOjM6IjQ1MSI7czo5OiJtb2R1bGVfaWQiO3M6MTE6IkRTTENfQnV0dG9uIjtzOjE2OiJkc2xjX21fc2l6ZV9sYXN0IjtzOjI6Im5vIjtzOjExOiJkc2xjX21fc2l6ZSI7czoyOiIxMiI7fQ==[/dslc_module] [/dslc_modules_area] [/dslc_modules_section] ',
|
804 |
+
'section' => 'original'
|
805 |
+
);
|
806 |
+
|
807 |
+
$templates['dslc-staff-ex-1'] = array(
|
808 |
+
'title' => __( 'Staff Variation 1', 'live-composer-page-builder' ),
|
809 |
+
'id' => 'dslc-staff-ex-1',
|
810 |
+
'code' => '[dslc_modules_section show_on="desktop tablet phone" type="wrapped" columns_spacing="spacing" bg_color="#f4f6f7" bg_image_thumb="disabled" bg_image="" bg_image_repeat="repeat" bg_image_position="center center" bg_image_attachment="scroll" bg_image_size="cover" bg_video="" bg_video_overlay_color="#f4f6f7" bg_video_overlay_opacity="0.95" border_color="" border_width="0" border_style="solid" border="top bottom" margin_h="0" margin_b="0" padding="67" padding_h="4" custom_class="" custom_id="" ] [dslc_modules_area last="yes" first="no" size="12"] [dslc_module last="yes"]YTozNzp7czoxMzoicG9zdF9lbGVtZW50cyI7czozMToidGh1bWJuYWlsIHNvY2lhbCB0aXRsZSBleGNlcnB0ICI7czoyMjoiY3NzX3RodW1ibmFpbF9iZ19jb2xvciI7czo3OiIjZmZmZmZmIjtzOjIyOiJjc3NfdGh1bWJfYm9yZGVyX2NvbG9yIjtzOjc6IiNlMGUwZTAiO3M6MjI6ImNzc190aHVtYl9ib3JkZXJfd2lkdGgiO3M6MToiMSI7czozMToiY3NzX3RodW1ibmFpbF9ib3JkZXJfcmFkaXVzX3RvcCI7czoxOiIzIjtzOjM0OiJjc3NfdGh1bWJuYWlsX2JvcmRlcl9yYWRpdXNfYm90dG9tIjtzOjE6IjMiO3M6Mjc6ImNzc190aHVtYm5haWxfbWFyZ2luX2JvdHRvbSI7czoyOiIxNyI7czozMDoiY3NzX3RodW1ibmFpbF9wYWRkaW5nX3ZlcnRpY2FsIjtzOjI6IjEwIjtzOjMyOiJjc3NfdGh1bWJuYWlsX3BhZGRpbmdfaG9yaXpvbnRhbCI7czoyOiIxMCI7czoxOToidGh1bWJfcmVzaXplX2hlaWdodCI7czozOiIzMDAiO3M6MTg6InRodW1iX3Jlc2l6ZV93aWR0aCI7czozOiIyNTQiO3M6MTk6ImNzc19zb2NpYWxfYmdfY29sb3IiO3M6NzoiIzNkYjBiZiI7czoyODoiY3NzX3NvY2lhbF9ib3JkZXJfcmFkaXVzX3RvcCI7czoxOiIzIjtzOjIxOiJjc3NfbWFpbl9ib3JkZXJfY29sb3IiO3M6NzoiI2UwZTBlMCI7czoyNToiY3NzX21haW5fcGFkZGluZ192ZXJ0aWNhbCI7czoyOiI0MyI7czoyNzoiY3NzX21haW5fcGFkZGluZ19ob3Jpem9udGFsIjtzOjI6IjQzIjtzOjE1OiJjc3NfdGl0bGVfY29sb3IiO3M6NzoiIzU0NTQ1NCI7czoxOToiY3NzX3RpdGxlX2ZvbnRfc2l6ZSI7czoyOiIxNiI7czoyMToiY3NzX3RpdGxlX2ZvbnRfZmFtaWx5IjtzOjE3OiJMaWJyZSBCYXNrZXJ2aWxsZSI7czoyNToiY3NzX3Bvc2l0aW9uX2JvcmRlcl9jb2xvciI7czo3OiIjZGVkZWRlIjtzOjE4OiJjc3NfcG9zaXRpb25fY29sb3IiO3M6NzoiIzNkYjBiZiI7czoyNDoiY3NzX3Bvc2l0aW9uX2ZvbnRfd2VpZ2h0IjtzOjM6IjYwMCI7czoyNDoiY3NzX3Bvc2l0aW9uX2ZvbnRfZmFtaWx5IjtzOjE3OiJDYXJyb2lzIEdvdGhpYyBTQyI7czoyOToiY3NzX3Bvc2l0aW9uX3BhZGRpbmdfdmVydGljYWwiO3M6MjoiMTYiO3M6MTc6ImNzc19leGNlcnB0X2NvbG9yIjtzOjc6IiM5YzljOWMiO3M6MjE6ImNzc19leGNlcnB0X2ZvbnRfc2l6ZSI7czoyOiIxNiI7czoyMzoiY3NzX2V4Y2VycHRfZm9udF9mYW1pbHkiO3M6NDoiTG9yYSI7czoyMzoiY3NzX2V4Y2VycHRfbGluZV9oZWlnaHQiO3M6MjoiMjciO3M6MTQ6InJlc19zbV9jb2x1bW5zIjtzOjQ6ImF1dG8iO3M6MTI6InJlc19zbV90aHVtYiI7czo1OiJibG9jayI7czoxNDoicmVzX3RwX2NvbHVtbnMiO3M6NDoiYXV0byI7czoxMzoicmVzX3BfY29sdW1ucyI7czo0OiJhdXRvIjtzOjE4OiJtb2R1bGVfaW5zdGFuY2VfaWQiO2k6MjAyNjM7czo3OiJwb3N0X2lkIjtzOjM6IjQ2MSI7czo5OiJtb2R1bGVfaWQiO3M6MTA6IkRTTENfU3RhZmYiO3M6MTY6ImRzbGNfbV9zaXplX2xhc3QiO3M6Mjoibm8iO3M6MTE6ImRzbGNfbV9zaXplIjtzOjI6IjEyIjt9[/dslc_module] [/dslc_modules_area] [/dslc_modules_section] ',
|
811 |
+
'section' => 'original'
|
812 |
+
);
|
813 |
+
|
814 |
+
$templates['dslc-staff-ex-2'] = array(
|
815 |
+
'title' => __( 'Staff Variation 2', 'live-composer-page-builder' ),
|
816 |
+
'id' => 'dslc-staff-ex-2',
|
817 |
+
'code' => '[dslc_modules_section type="full" columns_spacing="spacing" border_color="" border_width="0" border_style="solid" border="top bottom" bg_color="#5c7291" bg_image_thumb="disabled" bg_image="" bg_video="" bg_video_overlay_color="#000000" bg_video_overlay_opacity="0" bg_image_repeat="repeat" bg_image_attachment="scroll" bg_image_position="left top" bg_image_size="auto" padding="80" padding_h="7" margin_h="0" margin_b="0" custom_class="" custom_id="" ] [dslc_modules_area last="yes" first="no" size="12"] [dslc_module]YTo0Njp7czo4OiJlbGVtZW50cyI7czoyMToibWFpbl9oZWFkaW5nIGZpbHRlcnMgIjtzOjIwOiJjc3Nfc2VwX2JvcmRlcl9jb2xvciI7czo3OiIjN2Y5MWFiIjtzOjEzOiJjc3Nfc2VwX3N0eWxlIjtzOjU6InNvbGlkIjtzOjMxOiJjc3NfdGh1bWJuYWlsX2JvcmRlcl9yYWRpdXNfdG9wIjtzOjE6IjAiO3M6MTg6InRodW1iX3Jlc2l6ZV93aWR0aCI7czozOiI1MjIiO3M6MTk6ImNzc19zb2NpYWxfYmdfY29sb3IiO3M6NzoiIzNiNDg1YyI7czoxNjoiY3NzX3NvY2lhbF9jb2xvciI7czo3OiIjN2I4ZWFiIjtzOjE3OiJjc3NfbWFpbl9iZ19jb2xvciI7czo3OiIjMWMyMDIxIjtzOjIxOiJjc3NfbWFpbl9ib3JkZXJfd2lkdGgiO3M6MToiMCI7czoyOToiY3NzX21haW5fYm9yZGVyX3JhZGl1c19ib3R0b20iO3M6MToiMCI7czoxNToiY3NzX3RpdGxlX2NvbG9yIjtzOjc6IiNlM2UzZTMiO3M6MjU6ImNzc19wb3NpdGlvbl9ib3JkZXJfY29sb3IiO3M6NzoiIzMwMzAzMCI7czoxNzoiY3NzX2V4Y2VycHRfY29sb3IiO3M6NzoiI2JkYmRiZCI7czoyMToiY3NzX2V4Y2VycHRfZm9udF9zaXplIjtzOjI6IjEyIjtzOjIzOiJjc3NfZXhjZXJwdF9mb250X2ZhbWlseSI7czo0OiJNdWxpIjtzOjIzOiJjc3NfZXhjZXJwdF9saW5lX2hlaWdodCI7czoyOiIyNCI7czoxODoibWFpbl9oZWFkaW5nX3RpdGxlIjtzOjE2OiJPVVIgQVdFU09NRSBURUFNIjtzOjIyOiJjc3NfbWFpbl9oZWFkaW5nX2NvbG9yIjtzOjc6IiNmZmZmZmYiO3M6MjY6ImNzc19tYWluX2hlYWRpbmdfZm9udF9zaXplIjtzOjI6IjI1IjtzOjI4OiJjc3NfbWFpbl9oZWFkaW5nX2ZvbnRfd2VpZ2h0IjtzOjM6IjUwMCI7czoyODoiY3NzX21haW5faGVhZGluZ19mb250X2ZhbWlseSI7czo3OiJSYWxld2F5IjtzOjI3OiJjc3NfbWFpbl9oZWFkaW5nX2xpbmtfY29sb3IiO3M6NzoiI2I0YzdkNiI7czozMToiY3NzX21haW5faGVhZGluZ19saW5rX2ZvbnRfc2l6ZSI7czoyOiIxMyI7czozMzoiY3NzX21haW5faGVhZGluZ19saW5rX2ZvbnRfd2VpZ2h0IjtzOjM6IjgwMCI7czozMzoiY3NzX21haW5faGVhZGluZ19saW5rX2ZvbnRfZmFtaWx5IjtzOjQ6Ik11bGkiO3M6MTM6InZpZXdfYWxsX2xpbmsiO3M6MDoiIjtzOjI2OiJjc3NfbWFpbl9oZWFkaW5nX3NlcF9jb2xvciI7czo3OiIjYjhiOGI4IjtzOjI1OiJjc3NfaGVhZGluZ19tYXJnaW5fYm90dG9tIjtzOjI6IjMzIjtzOjE5OiJjc3NfZmlsdGVyX2JnX2NvbG9yIjtzOjc6IiM0ODU4NzAiO3M6MjY6ImNzc19maWx0ZXJfYmdfY29sb3JfYWN0aXZlIjtzOjA6IiI7czoyMzoiY3NzX2ZpbHRlcl9ib3JkZXJfY29sb3IiO3M6NzoiIzQ4NTg3MCI7czozMDoiY3NzX2ZpbHRlcl9ib3JkZXJfY29sb3JfYWN0aXZlIjtzOjc6IiM0ODU4NzAiO3M6MjM6ImNzc19maWx0ZXJfYm9yZGVyX3dpZHRoIjtzOjE6IjMiO3M6MjQ6ImNzc19maWx0ZXJfYm9yZGVyX3JhZGl1cyI7czoxOiI0IjtzOjE2OiJjc3NfZmlsdGVyX2NvbG9yIjtzOjc6IiM3YjhlYWIiO3M6MjM6ImNzc19maWx0ZXJfY29sb3JfYWN0aXZlIjtzOjc6IiM0ODU4NzAiO3M6MjA6ImNzc19maWx0ZXJfZm9udF9zaXplIjtzOjI6IjEyIjtzOjIyOiJjc3NfZmlsdGVyX2ZvbnRfd2VpZ2h0IjtzOjM6IjgwMCI7czoxOToiY3NzX2ZpbHRlcl9wb3NpdGlvbiI7czo1OiJyaWdodCI7czoxNDoicmVzX3NtX2NvbHVtbnMiO3M6NDoiYXV0byI7czoxMjoicmVzX3NtX3RodW1iIjtzOjU6ImJsb2NrIjtzOjE0OiJyZXNfdHBfY29sdW1ucyI7czo0OiJhdXRvIjtzOjEzOiJyZXNfcF9jb2x1bW5zIjtzOjQ6ImF1dG8iO3M6MTg6Im1vZHVsZV9pbnN0YW5jZV9pZCI7aTo1ODtzOjc6InBvc3RfaWQiO3M6MzoiNDYzIjtzOjk6Im1vZHVsZV9pZCI7czoxMDoiRFNMQ19TdGFmZiI7fQ==[/dslc_module] [/dslc_modules_area] [/dslc_modules_section] ',
|
818 |
+
'section' => 'original'
|
819 |
+
);
|
820 |
+
|
821 |
+
return $templates;
|
822 |
+
|
823 |
+
} add_filter( 'dslc_get_templates', 'dslc_set_default_templates', 1 );
|
824 |
+
|
825 |
+
/**
|
826 |
+
* Set user templates
|
827 |
+
*
|
828 |
+
* @since 1.0.3
|
829 |
+
*/
|
830 |
+
function dslc_set_user_templates( $templates ) {
|
831 |
+
|
832 |
+
// Get user templates
|
833 |
+
$user_templates = maybe_unserialize ( get_option( 'dslc_templates' ) );
|
834 |
+
|
835 |
+
// If there are any, merge them with the templates array
|
836 |
+
if ( ! empty ( $user_templates ) && is_array( $user_templates ) ) {
|
837 |
+
$templates = array_merge ( $templates, $user_templates );
|
838 |
+
}
|
839 |
+
|
840 |
+
// Pass it back
|
841 |
+
return $templates;
|
842 |
+
|
843 |
} add_filter( 'dslc_get_templates', 'dslc_set_user_templates', 1 );
|
includes/header-footer.php
CHANGED
@@ -1,626 +1,626 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
/**
|
4 |
-
* Table of contents
|
5 |
-
*
|
6 |
-
* - dslc_hf_init ( Register custom post type and add options )
|
7 |
-
* - dslc_hf_col_title ( Listing - Column title )
|
8 |
-
* - dslc_hf_col_content ( Listing - Column content )
|
9 |
-
* - dslc_hf_unique_default ( Make sure there's only one default per header and footer )
|
10 |
-
* - dslc_hf_options ( Register options for posts/pages to choose which header/footer to use )
|
11 |
-
* - dslc_hf_get_ID ( Get the header and footer ID of a specific post/page )
|
12 |
-
* - dslc_hf_get_code ( Get the header or footer LC code of a specific post/page )
|
13 |
-
* - dslc_hf_get_header ( Get the header output code )
|
14 |
-
* - dslc_hf_get_footer ( Get the footer output code )
|
15 |
-
*/
|
16 |
-
|
17 |
-
/**
|
18 |
-
* Register custom post type and add options
|
19 |
-
*
|
20 |
-
* @since 1.0
|
21 |
-
*/
|
22 |
-
|
23 |
-
function dslc_hf_init() {
|
24 |
-
|
25 |
-
if ( ! defined( 'DS_LIVE_COMPOSER_HF' ) || ! DS_LIVE_COMPOSER_HF ) return;
|
26 |
-
|
27 |
-
$capability = 'publish_posts';
|
28 |
-
|
29 |
-
register_post_type( 'dslc_hf', array(
|
30 |
-
'menu_icon' => 'dashicons-image-flip-vertical',
|
31 |
-
'labels' => array(
|
32 |
-
'name' => __( 'Header/Footer', 'live-composer-page-builder' ),
|
33 |
-
'singular_name' => __( 'Add Header/Footer', 'live-composer-page-builder' ),
|
34 |
-
'add_new' => __( 'Add Header/Footer', 'live-composer-page-builder' ),
|
35 |
-
'add_new_item' => __( 'Add Header/Footer', 'live-composer-page-builder' ),
|
36 |
-
'edit' => __( 'Edit', 'live-composer-page-builder' ),
|
37 |
-
'edit_item' => __( 'Edit Header/Footer', 'live-composer-page-builder' ),
|
38 |
-
'new_item' => __( 'New Header/Footer', 'live-composer-page-builder' ),
|
39 |
-
'view' => __( 'View Header/Footer', 'live-composer-page-builder' ),
|
40 |
-
'view_item' => __( 'View Header/Footer', 'live-composer-page-builder' ),
|
41 |
-
'search_items' => __( 'Search Header/Footer', 'live-composer-page-builder' ),
|
42 |
-
'not_found' => __( 'No Header/Footer found', 'live-composer-page-builder' ),
|
43 |
-
'not_found_in_trash' => __( 'No Header/Footer found in Trash', 'live-composer-page-builder' ),
|
44 |
-
'parent' => __( 'Parent Header/Footer', 'live-composer-page-builder' ),
|
45 |
-
),
|
46 |
-
'public' => true,
|
47 |
-
'supports' => array( 'title', 'custom-fields', 'author', 'thumbnail' ),
|
48 |
-
'capabilities' => array(
|
49 |
-
'publish_posts' => $capability,
|
50 |
-
'edit_posts' => $capability,
|
51 |
-
'edit_others_posts' => $capability,
|
52 |
-
'delete_posts' => $capability,
|
53 |
-
'delete_others_posts' => $capability,
|
54 |
-
'read_private_posts' => $capability,
|
55 |
-
'edit_post' => $capability,
|
56 |
-
'delete_post' => $capability,
|
57 |
-
'read_post' => $capability
|
58 |
-
),
|
59 |
-
));
|
60 |
-
|
61 |
-
/**
|
62 |
-
* Options
|
63 |
-
*/
|
64 |
-
|
65 |
-
global $dslc_var_post_options;
|
66 |
-
$dslc_var_post_options['dslc-hf-opts'] = array(
|
67 |
-
'title' => 'Options',
|
68 |
-
'show_on' => 'dslc_hf',
|
69 |
-
'options' => array(
|
70 |
-
array(
|
71 |
-
'label' => __( 'For', 'live-composer-page-builder' ),
|
72 |
-
'descr' => __( 'Choose what is this for, header or footer.', 'live-composer-page-builder' ),
|
73 |
-
'std' => 'header',
|
74 |
-
'id' => 'dslc_hf_for',
|
75 |
-
'type' => 'select',
|
76 |
-
'choices' => array(
|
77 |
-
array(
|
78 |
-
'label' => 'Header',
|
79 |
-
'value' => 'header'
|
80 |
-
),
|
81 |
-
array(
|
82 |
-
'label' => 'Footer',
|
83 |
-
'value' => 'footer'
|
84 |
-
),
|
85 |
-
)
|
86 |
-
),
|
87 |
-
array(
|
88 |
-
'label' => __( 'Type', 'live-composer-page-builder' ),
|
89 |
-
'std' => 'regular',
|
90 |
-
'descr' => __( '<strong>Default</strong> will be used as the default for all the posts and pages. <strong>Regular</strong> is an additional type that you can set to specific posts/pages.', 'live-composer-page-builder' ),
|
91 |
-
'id' => 'dslc_hf_type',
|
92 |
-
'type' => 'radio',
|
93 |
-
'choices' => array(
|
94 |
-
array(
|
95 |
-
'label' => 'Regular',
|
96 |
-
'value' => 'regular'
|
97 |
-
),
|
98 |
-
array(
|
99 |
-
'label' => 'Default',
|
100 |
-
'value' => 'default'
|
101 |
-
),
|
102 |
-
)
|
103 |
-
),
|
104 |
-
array(
|
105 |
-
'label' => __( 'Position', 'live-composer-page-builder' ),
|
106 |
-
'std' => 'relative',
|
107 |
-
'descr' => __( '<strong>Relative</strong> is normal positioning. <strong>Fixed</strong> will make the header/footer scroll with the page. <strong>Absolute</strong> will make the regular page content go behind the header/footer.', 'live-composer-page-builder' ),
|
108 |
-
'id' => 'dslc_hf_position',
|
109 |
-
'type' => 'radio',
|
110 |
-
'choices' => array(
|
111 |
-
array(
|
112 |
-
'label' => 'Relative',
|
113 |
-
'value' => 'relative'
|
114 |
-
),
|
115 |
-
array(
|
116 |
-
'label' => 'Fixed',
|
117 |
-
'value' => 'fixed'
|
118 |
-
),
|
119 |
-
array(
|
120 |
-
'label' => 'Absolute',
|
121 |
-
'value' => 'absolute'
|
122 |
-
),
|
123 |
-
)
|
124 |
-
),
|
125 |
-
)
|
126 |
-
);
|
127 |
-
|
128 |
-
} add_action( 'init', 'dslc_hf_init' );
|
129 |
-
|
130 |
-
/**
|
131 |
-
* Listing - Column Title
|
132 |
-
*
|
133 |
-
* @since 1.0
|
134 |
-
*/
|
135 |
-
|
136 |
-
function dslc_hf_col_title($defaults) {
|
137 |
-
|
138 |
-
if ( ! defined( 'DS_LIVE_COMPOSER_HF' ) || ! DS_LIVE_COMPOSER_HF ) return;
|
139 |
-
|
140 |
-
unset( $defaults['date'] );
|
141 |
-
unset( $defaults['author'] );
|
142 |
-
$defaults['dslc_hf_col_cpt'] = 'For';
|
143 |
-
$defaults['dslc_hf_col_default'] = 'Type';
|
144 |
-
return $defaults;
|
145 |
-
|
146 |
-
} add_filter( 'manage_dslc_hf_posts_columns', 'dslc_hf_col_title', 5);
|
147 |
-
|
148 |
-
/**
|
149 |
-
* Listing - Column Content
|
150 |
-
*
|
151 |
-
* @since 1.0
|
152 |
-
*/
|
153 |
-
|
154 |
-
function dslc_hf_col_content($column_name, $post_ID) {
|
155 |
-
|
156 |
-
if ( ! defined( 'DS_LIVE_COMPOSER_HF' ) || ! DS_LIVE_COMPOSER_HF ) return;
|
157 |
-
|
158 |
-
if ( $column_name == 'dslc_hf_col_cpt' ) {
|
159 |
-
echo get_post_meta( $post_ID, 'dslc_hf_for', true );
|
160 |
-
}
|
161 |
-
|
162 |
-
if ( $column_name == 'dslc_hf_col_default' ) {
|
163 |
-
if ( get_post_meta( $post_ID, 'dslc_hf_type', true ) == 'default' )
|
164 |
-
echo '<strong>Default</strong>';
|
165 |
-
}
|
166 |
-
|
167 |
-
} add_action( 'manage_dslc_hf_posts_custom_column', 'dslc_hf_col_content', 10, 2);
|
168 |
-
|
169 |
-
/**
|
170 |
-
* Make sure there's only one default per header and footer
|
171 |
-
*
|
172 |
-
* @since 1.0
|
173 |
-
*/
|
174 |
-
|
175 |
-
function dslc_hf_unique_default( $post_id ) {
|
176 |
-
|
177 |
-
if ( ! defined( 'DS_LIVE_COMPOSER_HF' ) || ! DS_LIVE_COMPOSER_HF ) return;
|
178 |
-
|
179 |
-
// If no post type ( not really a save action ) stop execution
|
180 |
-
if ( ! isset( $_POST['post_type'] ) ) return;
|
181 |
-
|
182 |
-
// If not a header/footer stop excution
|
183 |
-
if ( $_POST['post_type'] !== 'dslc_hf' ) return;
|
184 |
-
|
185 |
-
// If template type not supplied stop execution
|
186 |
-
if ( ! isset( $_REQUEST['dslc_hf_type'] ) ) return;
|
187 |
-
|
188 |
-
// If template not default stop execution
|
189 |
-
if ( $_REQUEST['dslc_hf_type'] !== 'default' ) return;
|
190 |
-
|
191 |
-
// Get header/footer that are default
|
192 |
-
$args = array(
|
193 |
-
'post_type' => 'dslc_hf',
|
194 |
-
'post_status' => 'any',
|
195 |
-
'posts_per_page' => -1,
|
196 |
-
'meta_query' => array(
|
197 |
-
array (
|
198 |
-
'key' => 'dslc_hf_for',
|
199 |
-
'value' => $_POST['dslc_hf_for'],
|
200 |
-
'compare' => '=',
|
201 |
-
),
|
202 |
-
array (
|
203 |
-
'key' => 'dslc_hf_type',
|
204 |
-
'value' => 'default',
|
205 |
-
'compare' => '=',
|
206 |
-
),
|
207 |
-
),
|
208 |
-
);
|
209 |
-
$templates = get_posts( $args );
|
210 |
-
|
211 |
-
// Set those old defaults to regular tempaltes
|
212 |
-
if ( $templates ) {
|
213 |
-
foreach ( $templates as $template ) {
|
214 |
-
update_post_meta( $template->ID, 'dslc_hf_type' , 'regular' );
|
215 |
-
}
|
216 |
-
}
|
217 |
-
|
218 |
-
// Reset query
|
219 |
-
wp_reset_query();
|
220 |
-
|
221 |
-
} add_action( 'save_post', 'dslc_hf_unique_default' );
|
222 |
-
|
223 |
-
/**
|
224 |
-
* Register options for posts/pages to choose which header/footer to use
|
225 |
-
*
|
226 |
-
* @since 1.0
|
227 |
-
*/
|
228 |
-
|
229 |
-
function dslc_hf_options() {
|
230 |
-
|
231 |
-
if ( ! defined( 'DS_LIVE_COMPOSER_HF' ) || ! DS_LIVE_COMPOSER_HF ) return;
|
232 |
-
|
233 |
-
$headers_array = array();
|
234 |
-
$headers_array[] = array(
|
235 |
-
'label' => 'Default',
|
236 |
-
'value' => 'default'
|
237 |
-
);
|
238 |
-
$headers_array[] = array(
|
239 |
-
'label' => 'Disabled',
|
240 |
-
'value' => '_disabled_'
|
241 |
-
);
|
242 |
-
$footers_array = array();
|
243 |
-
$footers_array[] = array(
|
244 |
-
'label' => 'Default',
|
245 |
-
'value' => 'default'
|
246 |
-
);
|
247 |
-
$footers_array[] = array(
|
248 |
-
'label' => 'Disabled',
|
249 |
-
'value' => '_disabled_'
|
250 |
-
);
|
251 |
-
global $dslc_var_post_options;
|
252 |
-
|
253 |
-
// Get header/footer
|
254 |
-
$args = array(
|
255 |
-
'post_type' => 'dslc_hf',
|
256 |
-
'post_status' => 'publish',
|
257 |
-
'posts_per_page' => -1,
|
258 |
-
'order' => 'DESC'
|
259 |
-
);
|
260 |
-
$templates = get_posts( $args );
|
261 |
-
|
262 |
-
if ( $templates ) {
|
263 |
-
|
264 |
-
foreach ( $templates as $template ) {
|
265 |
-
$template_for = get_post_meta( $template->ID, 'dslc_hf_for' , true );
|
266 |
-
if ( $template_for == 'header' ) {
|
267 |
-
$headers_array[] = array(
|
268 |
-
'label' => $template->post_title,
|
269 |
-
'value' => $template->ID
|
270 |
-
);
|
271 |
-
} elseif ( $template_for == 'footer' ) {
|
272 |
-
$footers_array[] = array(
|
273 |
-
'label' => $template->post_title,
|
274 |
-
'value' => $template->ID
|
275 |
-
);
|
276 |
-
}
|
277 |
-
}
|
278 |
-
|
279 |
-
$dslc_var_post_options['dslc-hf-options'] = array(
|
280 |
-
'title' => __( 'Header/Footer', 'live-composer-page-builder' ),
|
281 |
-
'show_on' => array( 'page', 'dslc_templates' ),
|
282 |
-
'context' => 'side',
|
283 |
-
'options' => array(
|
284 |
-
array(
|
285 |
-
'label' => __( 'Header', 'live-composer-page-builder' ),
|
286 |
-
'std' => '',
|
287 |
-
'id' => 'dslc_header',
|
288 |
-
'type' => 'select',
|
289 |
-
'choices' => $headers_array
|
290 |
-
),
|
291 |
-
array(
|
292 |
-
'label' => __( 'Footer', 'live-composer-page-builder' ),
|
293 |
-
'std' => '',
|
294 |
-
'id' => 'dslc_footer',
|
295 |
-
'type' => 'select',
|
296 |
-
'choices' => $footers_array
|
297 |
-
),
|
298 |
-
)
|
299 |
-
);
|
300 |
-
|
301 |
-
}
|
302 |
-
|
303 |
-
} add_action( 'init', 'dslc_hf_options' );
|
304 |
-
|
305 |
-
/**
|
306 |
-
* Get the header and footer IDs of a specific post/page
|
307 |
-
*
|
308 |
-
* @since 1.0
|
309 |
-
*
|
310 |
-
* @param int $post_ID ID of the post/page. Default false ( Automatically finds ID ).
|
311 |
-
* @return array The IDs of the header and footer associated with the post/page. False if none.
|
312 |
-
*/
|
313 |
-
function dslc_hf_get_ID( $post_ID = false ) {
|
314 |
-
|
315 |
-
// If theme does not define header/footer compatibility return false
|
316 |
-
if ( ! defined( 'DS_LIVE_COMPOSER_HF' ) || ! DS_LIVE_COMPOSER_HF ) return array( 'header' => false, 'footer' => false );
|
317 |
-
|
318 |
-
// If current page is actually header/footer post, return false
|
319 |
-
if ( is_singular( 'dslc_hf' ) ) return array( 'header' => false, 'footer' => false );
|
320 |
-
|
321 |
-
// Global vars
|
322 |
-
global $dslc_post_types;
|
323 |
-
|
324 |
-
// If post ID not supplied, figure it out
|
325 |
-
if ( ! $post_ID ) {
|
326 |
-
|
327 |
-
// If currently showing a singular post of a post type that supports "post templates"
|
328 |
-
if ( is_singular( $dslc_post_types ) ) {
|
329 |
-
$post_ID = dslc_st_get_template_ID( get_the_ID() );
|
330 |
-
|
331 |
-
// If currently showing a category archive page
|
332 |
-
} elseif ( is_archive() && ! is_author() && ! is_search() ) {
|
333 |
-
$post_ID = dslc_get_option( get_post_type(), 'dslc_plugin_options_archives' );
|
334 |
-
|
335 |
-
// If currently showing an author archive page
|
336 |
-
} elseif ( is_author() ) {
|
337 |
-
$post_ID = dslc_get_option( 'author', 'dslc_plugin_options_archives' );
|
338 |
-
|
339 |
-
// If currently showing a search results page
|
340 |
-
} elseif ( is_search() ) {
|
341 |
-
$post_ID = dslc_get_option( 'search_results', 'dslc_plugin_options_archives' );
|
342 |
-
|
343 |
-
// If currently showina 404 page
|
344 |
-
} elseif ( is_404() ) {
|
345 |
-
$post_ID = dslc_get_option( '404_page', 'dslc_plugin_options_archives' );
|
346 |
-
|
347 |
-
// Otherwise just get the ID
|
348 |
-
} else {
|
349 |
-
$post_ID = get_the_ID();
|
350 |
-
}
|
351 |
-
|
352 |
-
}
|
353 |
-
|
354 |
-
// Get header/footer template
|
355 |
-
$header_tpl = get_post_meta( $post_ID, 'dslc_header', true );
|
356 |
-
$footer_tpl = get_post_meta( $post_ID, 'dslc_footer', true );
|
357 |
-
|
358 |
-
// If no header template set, make it "default"
|
359 |
-
if ( ! $header_tpl ) {
|
360 |
-
$header_tpl = 'default';
|
361 |
-
}
|
362 |
-
|
363 |
-
// If no footer template set make it "default"
|
364 |
-
if ( ! $footer_tpl ) {
|
365 |
-
$footer_tpl = 'default';
|
366 |
-
}
|
367 |
-
|
368 |
-
// Default header template supplied, find it and return the ID
|
369 |
-
if ( $header_tpl == 'default' ) {
|
370 |
-
|
371 |
-
// Query for default template
|
372 |
-
$args = array(
|
373 |
-
'post_type' => 'dslc_hf',
|
374 |
-
'post_status' => 'publish',
|
375 |
-
'posts_per_page' => 1,
|
376 |
-
'meta_query' => array(
|
377 |
-
array (
|
378 |
-
'key' => 'dslc_hf_for',
|
379 |
-
'value' => 'header',
|
380 |
-
'compare' => '=',
|
381 |
-
),
|
382 |
-
array (
|
383 |
-
'key' => 'dslc_hf_type',
|
384 |
-
'value' => 'default',
|
385 |
-
'compare' => '=',
|
386 |
-
),
|
387 |
-
),
|
388 |
-
'order' => 'DESC'
|
389 |
-
);
|
390 |
-
$tpls = get_posts( $args );
|
391 |
-
|
392 |
-
// If default template found set the ID if not make it false
|
393 |
-
if ( $tpls )
|
394 |
-
$header_tpl_ID = $tpls[0]->ID;
|
395 |
-
else
|
396 |
-
$header_tpl_ID = false;
|
397 |
-
|
398 |
-
// Specific template supplied, return the ID
|
399 |
-
} elseif ( $header_tpl && $header_tpl != '_disabled_' ) {
|
400 |
-
|
401 |
-
$header_tpl_ID = $header_tpl;
|
402 |
-
|
403 |
-
} elseif ( $header_tpl && $header_tpl == '_disabled_' ) {
|
404 |
-
|
405 |
-
$header_tpl_ID = false;
|
406 |
-
|
407 |
-
}
|
408 |
-
|
409 |
-
// Default footer template supplied, find it and return the ID
|
410 |
-
if ( $footer_tpl == 'default' ) {
|
411 |
-
|
412 |
-
// Query for default template
|
413 |
-
$args = array(
|
414 |
-
'post_type' => 'dslc_hf',
|
415 |
-
'post_status' => 'publish',
|
416 |
-
'posts_per_page' => 1,
|
417 |
-
'meta_query' => array(
|
418 |
-
array (
|
419 |
-
'key' => 'dslc_hf_for',
|
420 |
-
'value' => 'footer',
|
421 |
-
'compare' => '=',
|
422 |
-
),
|
423 |
-
array (
|
424 |
-
'key' => 'dslc_hf_type',
|
425 |
-
'value' => 'default',
|
426 |
-
'compare' => '=',
|
427 |
-
),
|
428 |
-
),
|
429 |
-
'order' => 'DESC'
|
430 |
-
);
|
431 |
-
$tpls = get_posts( $args );
|
432 |
-
|
433 |
-
// If default template found set the ID if not make it false
|
434 |
-
if ( $tpls )
|
435 |
-
$footer_tpl_ID = $tpls[0]->ID;
|
436 |
-
else
|
437 |
-
$footer_tpl_ID = false;
|
438 |
-
|
439 |
-
// Specific template supplied, return the ID
|
440 |
-
} elseif ( $footer_tpl && $footer_tpl != '_disabled_' ) {
|
441 |
-
|
442 |
-
$footer_tpl_ID = $footer_tpl;
|
443 |
-
|
444 |
-
} elseif ( $footer_tpl && $footer_tpl == '_disabled_' ) {
|
445 |
-
|
446 |
-
$footer_tpl_ID = false;
|
447 |
-
|
448 |
-
}
|
449 |
-
|
450 |
-
// Return the template ID
|
451 |
-
return array( 'header' => $header_tpl_ID, 'footer' => $footer_tpl_ID );
|
452 |
-
|
453 |
-
}
|
454 |
-
|
455 |
-
/**
|
456 |
-
* Get the header or footer LC code of a specific post/page
|
457 |
-
*
|
458 |
-
* @since 1.0.2
|
459 |
-
*
|
460 |
-
* @param int $post_ID ID of the post/page. Default false.
|
461 |
-
* @param string $h_or_f Accepted values 'header' and 'footer'. Defaults to 'header'
|
462 |
-
* @return string The LC code for the header/footer of the post/page. Empty string if no LC code.
|
463 |
-
*/
|
464 |
-
function dslc_hf_get_code( $post_ID = false, $h_or_f = 'header' ) {
|
465 |
-
|
466 |
-
// If support for header/footer functionality not set or is set to false, return empty string
|
467 |
-
if ( ! defined( 'DS_LIVE_COMPOSER_HF' ) || ! DS_LIVE_COMPOSER_HF ) return '';
|
468 |
-
|
469 |
-
// This will be returned at the end
|
470 |
-
$code = '';
|
471 |
-
|
472 |
-
// If post ID not supplied ask WordPress
|
473 |
-
if ( ! $post_ID ) {
|
474 |
-
$post_ID = get_the_ID();
|
475 |
-
}
|
476 |
-
|
477 |
-
// If still no ID return empty string
|
478 |
-
if ( ! $post_ID ) {
|
479 |
-
return '';
|
480 |
-
}
|
481 |
-
|
482 |
-
// Get ID of the header/footer powering the post
|
483 |
-
$header_footer = dslc_hf_get_ID( $post_ID );
|
484 |
-
|
485 |
-
// If post has header/footer attached
|
486 |
-
if ( $header_footer[$h_or_f] ) {
|
487 |
-
// Get LC code of the header/footer powering the post
|
488 |
-
$code = get_post_meta( $header_footer[$h_or_f], 'dslc_code', true );
|
489 |
-
}
|
490 |
-
|
491 |
-
// Pass it back
|
492 |
-
return $code;
|
493 |
-
|
494 |
-
}
|
495 |
-
|
496 |
-
/**
|
497 |
-
* Get the header output code
|
498 |
-
*
|
499 |
-
* @since 1.0.2
|
500 |
-
*
|
501 |
-
* @param int $post_ID ID of the post/page. Default false.
|
502 |
-
* @return string The HTML ouput of the header for a defined post/page
|
503 |
-
*/
|
504 |
-
function dslc_hf_get_header( $post_ID = false ) {
|
505 |
-
|
506 |
-
// Var defaults
|
507 |
-
$append = '';
|
508 |
-
$wrapper_start = '';
|
509 |
-
|
510 |
-
// Wrap if header handled by theme
|
511 |
-
if ( defined( 'DS_LIVE_COMPOSER_HF_AUTO' ) && ! DS_LIVE_COMPOSER_HF_AUTO ) {
|
512 |
-
$wrapper_start = '<div id="dslc-content" class="dslc-content dslc-clearfix">';
|
513 |
-
}
|
514 |
-
|
515 |
-
// If the page displayed is header/footer, do not repeat
|
516 |
-
if ( is_singular( 'dslc_hf' ) ) {
|
517 |
-
return $wrapper_start;
|
518 |
-
}
|
519 |
-
|
520 |
-
// Get header/footer ID associated with the post
|
521 |
-
$header_footer = dslc_hf_get_ID( $post_ID );
|
522 |
-
|
523 |
-
// If there is a header applied
|
524 |
-
if ( $header_footer['header'] ) {
|
525 |
-
|
526 |
-
// Get the header LC code
|
527 |
-
$header_code = get_post_meta( $header_footer['header'], 'dslc_code', true );
|
528 |
-
|
529 |
-
// If the "position" option value exists
|
530 |
-
if ( get_post_meta( $header_footer['header'], 'dslc_hf_position', true ) ) {
|
531 |
-
|
532 |
-
// Set the "position" option value to the one from the settings
|
533 |
-
$header_position = get_post_meta( $header_footer['header'], 'dslc_hf_position', true );
|
534 |
-
|
535 |
-
} else {
|
536 |
-
|
537 |
-
// Set the "position" option value to default "relative"
|
538 |
-
$header_position = 'relative';
|
539 |
-
|
540 |
-
}
|
541 |
-
|
542 |
-
// If editor active
|
543 |
-
if ( dslc_is_editor_active( 'access' ) ) {
|
544 |
-
|
545 |
-
// Set the HTML for the edit overlay
|
546 |
-
$append = '<div class="dslc-hf-block-overlay"><a target="_blank" href="' . add_query_arg( 'dslc', 'active', get_permalink( $header_footer['header'] ) ) . '" class="dslc-hf-block-overlay-button dslca-link">Edit Header</a></div>';
|
547 |
-
|
548 |
-
}
|
549 |
-
|
550 |
-
// Add the header code to the variable holder
|
551 |
-
return $wrapper_start . '<div id="dslc-header" class="dslc-header-pos-' . $header_position . '">' . do_shortcode( $header_code ) . $append . '</div>';
|
552 |
-
|
553 |
-
// If no header applied
|
554 |
-
} else {
|
555 |
-
|
556 |
-
return $wrapper_start . '';
|
557 |
-
|
558 |
-
}
|
559 |
-
|
560 |
-
}
|
561 |
-
|
562 |
-
/**
|
563 |
-
* Get the footer output code
|
564 |
-
*
|
565 |
-
* @since 1.0.2
|
566 |
-
*
|
567 |
-
* @param int $post_ID ID of the post/page. Default false.
|
568 |
-
* @return string The HTML ouput of the footer for a defined post/page
|
569 |
-
*/
|
570 |
-
function dslc_hf_get_footer( $post_ID = false ) {
|
571 |
-
|
572 |
-
// Var defaults
|
573 |
-
$append = '';
|
574 |
-
$wrapper_end = '';
|
575 |
-
|
576 |
-
// Wrap if header handled by theme
|
577 |
-
if ( defined( 'DS_LIVE_COMPOSER_HF_AUTO' ) && ! DS_LIVE_COMPOSER_HF_AUTO ) {
|
578 |
-
$wrapper_end = '</div>';
|
579 |
-
}
|
580 |
-
|
581 |
-
// If the page displayed is header/footer, do not repeat
|
582 |
-
if ( is_singular( 'dslc_hf' ) ) {
|
583 |
-
return $wrapper_end;
|
584 |
-
}
|
585 |
-
|
586 |
-
// Get header/footer ID associated with the post
|
587 |
-
$header_footer = dslc_hf_get_ID( $post_ID );
|
588 |
-
|
589 |
-
// If there is a footer applied
|
590 |
-
if ( $header_footer['footer'] ) {
|
591 |
-
|
592 |
-
// Get the footer LC code
|
593 |
-
$footer_code = get_post_meta( $header_footer['footer'], 'dslc_code', true );
|
594 |
-
|
595 |
-
// If the "position" option value exists
|
596 |
-
if ( get_post_meta( $header_footer['footer'], 'dslc_hf_position', true ) ) {
|
597 |
-
|
598 |
-
// Set the "position" option value to the one from the settings
|
599 |
-
$footer_position = get_post_meta( $header_footer['footer'], 'dslc_hf_position', true );
|
600 |
-
|
601 |
-
} else {
|
602 |
-
|
603 |
-
// Set the "position" option value to default "relative"
|
604 |
-
$footer_position = 'relative';
|
605 |
-
|
606 |
-
}
|
607 |
-
|
608 |
-
// If editor active
|
609 |
-
if ( dslc_is_editor_active( 'access' ) ) {
|
610 |
-
|
611 |
-
// Set the HTML for the edit overlay
|
612 |
-
$append = '<div class="dslc-hf-block-overlay"><a target="_blank" href="' . add_query_arg( 'dslc', 'active', get_permalink( $header_footer['footer'] ) ) . '" class="dslc-hf-block-overlay-button dslca-link">Edit Footer</a></div>';
|
613 |
-
|
614 |
-
}
|
615 |
-
|
616 |
-
// Add the header code to the variable holder
|
617 |
-
return '<div id="dslc-footer" class="dslc-footer-pos-' . $footer_position . '">' . do_shortcode( $footer_code ) . $append . '</div>' . $wrapper_end;
|
618 |
-
|
619 |
-
// If no header applied
|
620 |
-
} else {
|
621 |
-
|
622 |
-
return '' . $wrapper_end;
|
623 |
-
|
624 |
-
}
|
625 |
-
|
626 |
}
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* Table of contents
|
5 |
+
*
|
6 |
+
* - dslc_hf_init ( Register custom post type and add options )
|
7 |
+
* - dslc_hf_col_title ( Listing - Column title )
|
8 |
+
* - dslc_hf_col_content ( Listing - Column content )
|
9 |
+
* - dslc_hf_unique_default ( Make sure there's only one default per header and footer )
|
10 |
+
* - dslc_hf_options ( Register options for posts/pages to choose which header/footer to use )
|
11 |
+
* - dslc_hf_get_ID ( Get the header and footer ID of a specific post/page )
|
12 |
+
* - dslc_hf_get_code ( Get the header or footer LC code of a specific post/page )
|
13 |
+
* - dslc_hf_get_header ( Get the header output code )
|
14 |
+
* - dslc_hf_get_footer ( Get the footer output code )
|
15 |
+
*/
|
16 |
+
|
17 |
+
/**
|
18 |
+
* Register custom post type and add options
|
19 |
+
*
|
20 |
+
* @since 1.0
|
21 |
+
*/
|
22 |
+
|
23 |
+
function dslc_hf_init() {
|
24 |
+
|
25 |
+
if ( ! defined( 'DS_LIVE_COMPOSER_HF' ) || ! DS_LIVE_COMPOSER_HF ) return;
|
26 |
+
|
27 |
+
$capability = 'publish_posts';
|
28 |
+
|
29 |
+
register_post_type( 'dslc_hf', array(
|
30 |
+
'menu_icon' => 'dashicons-image-flip-vertical',
|
31 |
+
'labels' => array(
|
32 |
+
'name' => __( 'Header/Footer', 'live-composer-page-builder' ),
|
33 |
+
'singular_name' => __( 'Add Header/Footer', 'live-composer-page-builder' ),
|
34 |
+
'add_new' => __( 'Add Header/Footer', 'live-composer-page-builder' ),
|
35 |
+
'add_new_item' => __( 'Add Header/Footer', 'live-composer-page-builder' ),
|
36 |
+
'edit' => __( 'Edit', 'live-composer-page-builder' ),
|
37 |
+
'edit_item' => __( 'Edit Header/Footer', 'live-composer-page-builder' ),
|
38 |
+
'new_item' => __( 'New Header/Footer', 'live-composer-page-builder' ),
|
39 |
+
'view' => __( 'View Header/Footer', 'live-composer-page-builder' ),
|
40 |
+
'view_item' => __( 'View Header/Footer', 'live-composer-page-builder' ),
|
41 |
+
'search_items' => __( 'Search Header/Footer', 'live-composer-page-builder' ),
|
42 |
+
'not_found' => __( 'No Header/Footer found', 'live-composer-page-builder' ),
|
43 |
+
'not_found_in_trash' => __( 'No Header/Footer found in Trash', 'live-composer-page-builder' ),
|
44 |
+
'parent' => __( 'Parent Header/Footer', 'live-composer-page-builder' ),
|
45 |
+
),
|
46 |
+
'public' => true,
|
47 |
+
'supports' => array( 'title', 'custom-fields', 'author', 'thumbnail' ),
|
48 |
+
'capabilities' => array(
|
49 |
+
'publish_posts' => $capability,
|
50 |
+
'edit_posts' => $capability,
|
51 |
+
'edit_others_posts' => $capability,
|
52 |
+
'delete_posts' => $capability,
|
53 |
+
'delete_others_posts' => $capability,
|
54 |
+
'read_private_posts' => $capability,
|
55 |
+
'edit_post' => $capability,
|
56 |
+
'delete_post' => $capability,
|
57 |
+
'read_post' => $capability
|
58 |
+
),
|
59 |
+
));
|
60 |
+
|
61 |
+
/**
|
62 |
+
* Options
|
63 |
+
*/
|
64 |
+
|
65 |
+
global $dslc_var_post_options;
|
66 |
+
$dslc_var_post_options['dslc-hf-opts'] = array(
|
67 |
+
'title' => 'Options',
|
68 |
+
'show_on' => 'dslc_hf',
|
69 |
+
'options' => array(
|
70 |
+
array(
|
71 |
+
'label' => __( 'For', 'live-composer-page-builder' ),
|
72 |
+
'descr' => __( 'Choose what is this for, header or footer.', 'live-composer-page-builder' ),
|
73 |
+
'std' => 'header',
|
74 |
+
'id' => 'dslc_hf_for',
|
75 |
+
'type' => 'select',
|
76 |
+
'choices' => array(
|
77 |
+
array(
|
78 |
+
'label' => 'Header',
|
79 |
+
'value' => 'header'
|
80 |
+
),
|
81 |
+
array(
|
82 |
+
'label' => 'Footer',
|
83 |
+
'value' => 'footer'
|
84 |
+
),
|
85 |
+
)
|
86 |
+
),
|
87 |
+
array(
|
88 |
+
'label' => __( 'Type', 'live-composer-page-builder' ),
|
89 |
+
'std' => 'regular',
|
90 |
+
'descr' => __( '<strong>Default</strong> will be used as the default for all the posts and pages. <strong>Regular</strong> is an additional type that you can set to specific posts/pages.', 'live-composer-page-builder' ),
|
91 |
+
'id' => 'dslc_hf_type',
|
92 |
+
'type' => 'radio',
|
93 |
+
'choices' => array(
|
94 |
+
array(
|
95 |
+
'label' => 'Regular',
|
96 |
+
'value' => 'regular'
|
97 |
+
),
|
98 |
+
array(
|
99 |
+
'label' => 'Default',
|
100 |
+
'value' => 'default'
|
101 |
+
),
|
102 |
+
)
|
103 |
+
),
|
104 |
+
array(
|
105 |
+
'label' => __( 'Position', 'live-composer-page-builder' ),
|
106 |
+
'std' => 'relative',
|
107 |
+
'descr' => __( '<strong>Relative</strong> is normal positioning. <strong>Fixed</strong> will make the header/footer scroll with the page. <strong>Absolute</strong> will make the regular page content go behind the header/footer.', 'live-composer-page-builder' ),
|
108 |
+
'id' => 'dslc_hf_position',
|
109 |
+
'type' => 'radio',
|
110 |
+
'choices' => array(
|
111 |
+
array(
|
112 |
+
'label' => 'Relative',
|
113 |
+
'value' => 'relative'
|
114 |
+
),
|
115 |
+
array(
|
116 |
+
'label' => 'Fixed',
|
117 |
+
'value' => 'fixed'
|
118 |
+
),
|
119 |
+
array(
|
120 |
+
'label' => 'Absolute',
|
121 |
+
'value' => 'absolute'
|
122 |
+
),
|
123 |
+
)
|
124 |
+
),
|
125 |
+
)
|
126 |
+
);
|
127 |
+
|
128 |
+
} add_action( 'init', 'dslc_hf_init' );
|
129 |
+
|
130 |
+
/**
|
131 |
+
* Listing - Column Title
|
132 |
+
*
|
133 |
+
* @since 1.0
|
134 |
+
*/
|
135 |
+
|
136 |
+
function dslc_hf_col_title($defaults) {
|
137 |
+
|
138 |
+
if ( ! defined( 'DS_LIVE_COMPOSER_HF' ) || ! DS_LIVE_COMPOSER_HF ) return;
|
139 |
+
|
140 |
+
unset( $defaults['date'] );
|
141 |
+
unset( $defaults['author'] );
|
142 |
+
$defaults['dslc_hf_col_cpt'] = 'For';
|
143 |
+
$defaults['dslc_hf_col_default'] = 'Type';
|
144 |
+
return $defaults;
|
145 |
+
|
146 |
+
} add_filter( 'manage_dslc_hf_posts_columns', 'dslc_hf_col_title', 5);
|
147 |
+
|
148 |
+
/**
|
149 |
+
* Listing - Column Content
|
150 |
+
*
|
151 |
+
* @since 1.0
|
152 |
+
*/
|
153 |
+
|
154 |
+
function dslc_hf_col_content($column_name, $post_ID) {
|
155 |
+
|
156 |
+
if ( ! defined( 'DS_LIVE_COMPOSER_HF' ) || ! DS_LIVE_COMPOSER_HF ) return;
|
157 |
+
|
158 |
+
if ( $column_name == 'dslc_hf_col_cpt' ) {
|
159 |
+
echo get_post_meta( $post_ID, 'dslc_hf_for', true );
|
160 |
+
}
|
161 |
+
|
162 |
+
if ( $column_name == 'dslc_hf_col_default' ) {
|
163 |
+
if ( get_post_meta( $post_ID, 'dslc_hf_type', true ) == 'default' )
|
164 |
+
echo '<strong>Default</strong>';
|
165 |
+
}
|
166 |
+
|
167 |
+
} add_action( 'manage_dslc_hf_posts_custom_column', 'dslc_hf_col_content', 10, 2);
|
168 |
+
|
169 |
+
/**
|
170 |
+
* Make sure there's only one default per header and footer
|
171 |
+
*
|
172 |
+
* @since 1.0
|
173 |
+
*/
|
174 |
+
|
175 |
+
function dslc_hf_unique_default( $post_id ) {
|
176 |
+
|
177 |
+
if ( ! defined( 'DS_LIVE_COMPOSER_HF' ) || ! DS_LIVE_COMPOSER_HF ) return;
|
178 |
+
|
179 |
+
// If no post type ( not really a save action ) stop execution
|
180 |
+
if ( ! isset( $_POST['post_type'] ) ) return;
|
181 |
+
|
182 |
+
// If not a header/footer stop excution
|
183 |
+
if ( $_POST['post_type'] !== 'dslc_hf' ) return;
|
184 |
+
|
185 |
+
// If template type not supplied stop execution
|
186 |
+
if ( ! isset( $_REQUEST['dslc_hf_type'] ) ) return;
|
187 |
+
|
188 |
+
// If template not default stop execution
|
189 |
+
if ( $_REQUEST['dslc_hf_type'] !== 'default' ) return;
|
190 |
+
|
191 |
+
// Get header/footer that are default
|
192 |
+
$args = array(
|
193 |
+
'post_type' => 'dslc_hf',
|
194 |
+
'post_status' => 'any',
|
195 |
+
'posts_per_page' => -1,
|
196 |
+
'meta_query' => array(
|
197 |
+
array (
|
198 |
+
'key' => 'dslc_hf_for',
|
199 |
+
'value' => $_POST['dslc_hf_for'],
|
200 |
+
'compare' => '=',
|
201 |
+
),
|
202 |
+
array (
|
203 |
+
'key' => 'dslc_hf_type',
|
204 |
+
'value' => 'default',
|
205 |
+
'compare' => '=',
|
206 |
+
),
|
207 |
+
),
|
208 |
+
);
|
209 |
+
$templates = get_posts( $args );
|
210 |
+
|
211 |
+
// Set those old defaults to regular tempaltes
|
212 |
+
if ( $templates ) {
|
213 |
+
foreach ( $templates as $template ) {
|
214 |
+
update_post_meta( $template->ID, 'dslc_hf_type' , 'regular' );
|
215 |
+
}
|
216 |
+
}
|
217 |
+
|
218 |
+
// Reset query
|
219 |
+
wp_reset_query();
|
220 |
+
|
221 |
+
} add_action( 'save_post', 'dslc_hf_unique_default' );
|
222 |
+
|
223 |
+
/**
|
224 |
+
* Register options for posts/pages to choose which header/footer to use
|
225 |
+
*
|
226 |
+
* @since 1.0
|
227 |
+
*/
|
228 |
+
|
229 |
+
function dslc_hf_options() {
|
230 |
+
|
231 |
+
if ( ! defined( 'DS_LIVE_COMPOSER_HF' ) || ! DS_LIVE_COMPOSER_HF ) return;
|
232 |
+
|
233 |
+
$headers_array = array();
|
234 |
+
$headers_array[] = array(
|
235 |
+
'label' => 'Default',
|
236 |
+
'value' => 'default'
|
237 |
+
);
|
238 |
+
$headers_array[] = array(
|
239 |
+
'label' => 'Disabled',
|
240 |
+
'value' => '_disabled_'
|
241 |
+
);
|
242 |
+
$footers_array = array();
|
243 |
+
$footers_array[] = array(
|
244 |
+
'label' => 'Default',
|
245 |
+
'value' => 'default'
|
246 |
+
);
|
247 |
+
$footers_array[] = array(
|
248 |
+
'label' => 'Disabled',
|
249 |
+
'value' => '_disabled_'
|
250 |
+
);
|
251 |
+
global $dslc_var_post_options;
|
252 |
+
|
253 |
+
// Get header/footer
|
254 |
+
$args = array(
|
255 |
+
'post_type' => 'dslc_hf',
|
256 |
+
'post_status' => 'publish',
|
257 |
+
'posts_per_page' => -1,
|
258 |
+
'order' => 'DESC'
|
259 |
+
);
|
260 |
+
$templates = get_posts( $args );
|
261 |
+
|
262 |
+
if ( $templates ) {
|
263 |
+
|
264 |
+
foreach ( $templates as $template ) {
|
265 |
+
$template_for = get_post_meta( $template->ID, 'dslc_hf_for' , true );
|
266 |
+
if ( $template_for == 'header' ) {
|
267 |
+
$headers_array[] = array(
|
268 |
+
'label' => $template->post_title,
|
269 |
+
'value' => $template->ID
|
270 |
+
);
|
271 |
+
} elseif ( $template_for == 'footer' ) {
|
272 |
+
$footers_array[] = array(
|
273 |
+
'label' => $template->post_title,
|
274 |
+
'value' => $template->ID
|
275 |
+
);
|
276 |
+
}
|
277 |
+
}
|
278 |
+
|
279 |
+
$dslc_var_post_options['dslc-hf-options'] = array(
|
280 |
+
'title' => __( 'Header/Footer', 'live-composer-page-builder' ),
|
281 |
+
'show_on' => array( 'page', 'dslc_templates' ),
|
282 |
+
'context' => 'side',
|
283 |
+
'options' => array(
|
284 |
+
array(
|
285 |
+
'label' => __( 'Header', 'live-composer-page-builder' ),
|
286 |
+
'std' => '',
|
287 |
+
'id' => 'dslc_header',
|
288 |
+
'type' => 'select',
|
289 |
+
'choices' => $headers_array
|
290 |
+
),
|
291 |
+
array(
|
292 |
+
'label' => __( 'Footer', 'live-composer-page-builder' ),
|
293 |
+
'std' => '',
|
294 |
+
'id' => 'dslc_footer',
|
295 |
+
'type' => 'select',
|
296 |
+
'choices' => $footers_array
|
297 |
+
),
|
298 |
+
)
|
299 |
+
);
|
300 |
+
|
301 |
+
}
|
302 |
+
|
303 |
+
} add_action( 'init', 'dslc_hf_options' );
|
304 |
+
|
305 |
+
/**
|
306 |
+
* Get the header and footer IDs of a specific post/page
|
307 |
+
*
|
308 |
+
* @since 1.0
|
309 |
+
*
|
310 |
+
* @param int $post_ID ID of the post/page. Default false ( Automatically finds ID ).
|
311 |
+
* @return array The IDs of the header and footer associated with the post/page. False if none.
|
312 |
+
*/
|
313 |
+
function dslc_hf_get_ID( $post_ID = false ) {
|
314 |
+
|
315 |
+
// If theme does not define header/footer compatibility return false
|
316 |
+
if ( ! defined( 'DS_LIVE_COMPOSER_HF' ) || ! DS_LIVE_COMPOSER_HF ) return array( 'header' => false, 'footer' => false );
|
317 |
+
|
318 |
+
// If current page is actually header/footer post, return false
|
319 |
+
if ( is_singular( 'dslc_hf' ) ) return array( 'header' => false, 'footer' => false );
|
320 |
+
|
321 |
+
// Global vars
|
322 |
+
global $dslc_post_types;
|
323 |
+
|
324 |
+
// If post ID not supplied, figure it out
|
325 |
+
if ( ! $post_ID ) {
|
326 |
+
|
327 |
+
// If currently showing a singular post of a post type that supports "post templates"
|
328 |
+
if ( is_singular( $dslc_post_types ) ) {
|
329 |
+
$post_ID = dslc_st_get_template_ID( get_the_ID() );
|
330 |
+
|
331 |
+
// If currently showing a category archive page
|
332 |
+
} elseif ( is_archive() && ! is_author() && ! is_search() ) {
|
333 |
+
$post_ID = dslc_get_option( get_post_type(), 'dslc_plugin_options_archives' );
|
334 |
+
|
335 |
+
// If currently showing an author archive page
|
336 |
+
} elseif ( is_author() ) {
|
337 |
+
$post_ID = dslc_get_option( 'author', 'dslc_plugin_options_archives' );
|
338 |
+
|
339 |
+
// If currently showing a search results page
|
340 |
+
} elseif ( is_search() ) {
|
341 |
+
$post_ID = dslc_get_option( 'search_results', 'dslc_plugin_options_archives' );
|
342 |
+
|
343 |
+
// If currently showina 404 page
|
344 |
+
} elseif ( is_404() ) {
|
345 |
+
$post_ID = dslc_get_option( '404_page', 'dslc_plugin_options_archives' );
|
346 |
+
|
347 |
+
// Otherwise just get the ID
|
348 |
+
} else {
|
349 |
+
$post_ID = get_the_ID();
|
350 |
+
}
|
351 |
+
|
352 |
+
}
|
353 |
+
|
354 |
+
// Get header/footer template
|
355 |
+
$header_tpl = get_post_meta( $post_ID, 'dslc_header', true );
|
356 |
+
$footer_tpl = get_post_meta( $post_ID, 'dslc_footer', true );
|
357 |
+
|
358 |
+
// If no header template set, make it "default"
|
359 |
+
if ( ! $header_tpl ) {
|
360 |
+
$header_tpl = 'default';
|
361 |
+
}
|
362 |
+
|
363 |
+
// If no footer template set make it "default"
|
364 |
+
if ( ! $footer_tpl ) {
|
365 |
+
$footer_tpl = 'default';
|
366 |
+
}
|
367 |
+
|
368 |
+
// Default header template supplied, find it and return the ID
|
369 |
+
if ( $header_tpl == 'default' ) {
|
370 |
+
|
371 |
+
// Query for default template
|
372 |
+
$args = array(
|
373 |
+
'post_type' => 'dslc_hf',
|
374 |
+
'post_status' => 'publish',
|
375 |
+
'posts_per_page' => 1,
|
376 |
+
'meta_query' => array(
|
377 |
+
array (
|
378 |
+
'key' => 'dslc_hf_for',
|
379 |
+
'value' => 'header',
|
380 |
+
'compare' => '=',
|
381 |
+
),
|
382 |
+
array (
|
383 |
+
'key' => 'dslc_hf_type',
|
384 |
+
'value' => 'default',
|
385 |
+
'compare' => '=',
|
386 |
+
),
|
387 |
+
),
|
388 |
+
'order' => 'DESC'
|
389 |
+
);
|
390 |
+
$tpls = get_posts( $args );
|
391 |
+
|
392 |
+
// If default template found set the ID if not make it false
|
393 |
+
if ( $tpls )
|
394 |
+
$header_tpl_ID = $tpls[0]->ID;
|
395 |
+
else
|
396 |
+
$header_tpl_ID = false;
|
397 |
+
|
398 |
+
// Specific template supplied, return the ID
|
399 |
+
} elseif ( $header_tpl && $header_tpl != '_disabled_' ) {
|
400 |
+
|
401 |
+
$header_tpl_ID = $header_tpl;
|
402 |
+
|
403 |
+
} elseif ( $header_tpl && $header_tpl == '_disabled_' ) {
|
404 |
+
|
405 |
+
$header_tpl_ID = false;
|
406 |
+
|
407 |
+
}
|
408 |
+
|
409 |
+
// Default footer template supplied, find it and return the ID
|
410 |
+
if ( $footer_tpl == 'default' ) {
|
411 |
+
|
412 |
+
// Query for default template
|
413 |
+
$args = array(
|
414 |
+
'post_type' => 'dslc_hf',
|
415 |
+
'post_status' => 'publish',
|
416 |
+
'posts_per_page' => 1,
|
417 |
+
'meta_query' => array(
|
418 |
+
array (
|
419 |
+
'key' => 'dslc_hf_for',
|
420 |
+
'value' => 'footer',
|
421 |
+
'compare' => '=',
|
422 |
+
),
|
423 |
+
array (
|
424 |
+
'key' => 'dslc_hf_type',
|
425 |
+
'value' => 'default',
|
426 |
+
'compare' => '=',
|
427 |
+
),
|
428 |
+
),
|
429 |
+
'order' => 'DESC'
|
430 |
+
);
|
431 |
+
$tpls = get_posts( $args );
|
432 |
+
|
433 |
+
// If default template found set the ID if not make it false
|
434 |
+
if ( $tpls )
|
435 |
+
$footer_tpl_ID = $tpls[0]->ID;
|
436 |
+
else
|
437 |
+
$footer_tpl_ID = false;
|
438 |
+
|
439 |
+
// Specific template supplied, return the ID
|
440 |
+
} elseif ( $footer_tpl && $footer_tpl != '_disabled_' ) {
|
441 |
+
|
442 |
+
$footer_tpl_ID = $footer_tpl;
|
443 |
+
|
444 |
+
} elseif ( $footer_tpl && $footer_tpl == '_disabled_' ) {
|
445 |
+
|
446 |
+
$footer_tpl_ID = false;
|
447 |
+
|
448 |
+
}
|
449 |
+
|
450 |
+
// Return the template ID
|
451 |
+
return array( 'header' => $header_tpl_ID, 'footer' => $footer_tpl_ID );
|
452 |
+
|
453 |
+
}
|
454 |
+
|
455 |
+
/**
|
456 |
+
* Get the header or footer LC code of a specific post/page
|
457 |
+
*
|
458 |
+
* @since 1.0.2
|
459 |
+
*
|
460 |
+
* @param int $post_ID ID of the post/page. Default false.
|
461 |
+
* @param string $h_or_f Accepted values 'header' and 'footer'. Defaults to 'header'
|
462 |
+
* @return string The LC code for the header/footer of the post/page. Empty string if no LC code.
|
463 |
+
*/
|
464 |
+
function dslc_hf_get_code( $post_ID = false, $h_or_f = 'header' ) {
|
465 |
+
|
466 |
+
// If support for header/footer functionality not set or is set to false, return empty string
|
467 |
+
if ( ! defined( 'DS_LIVE_COMPOSER_HF' ) || ! DS_LIVE_COMPOSER_HF ) return '';
|
468 |
+
|
469 |
+
// This will be returned at the end
|
470 |
+
$code = '';
|
471 |
+
|
472 |
+
// If post ID not supplied ask WordPress
|
473 |
+
if ( ! $post_ID ) {
|
474 |
+
$post_ID = get_the_ID();
|
475 |
+
}
|
476 |
+
|
477 |
+
// If still no ID return empty string
|
478 |
+
if ( ! $post_ID ) {
|
479 |
+
return '';
|
480 |
+
}
|
481 |
+
|
482 |
+
// Get ID of the header/footer powering the post
|
483 |
+
$header_footer = dslc_hf_get_ID( $post_ID );
|
484 |
+
|
485 |
+
// If post has header/footer attached
|
486 |
+
if ( $header_footer[$h_or_f] ) {
|
487 |
+
// Get LC code of the header/footer powering the post
|
488 |
+
$code = get_post_meta( $header_footer[$h_or_f], 'dslc_code', true );
|
489 |
+
}
|
490 |
+
|
491 |
+
// Pass it back
|
492 |
+
return $code;
|
493 |
+
|
494 |
+
}
|
495 |
+
|
496 |
+
/**
|
497 |
+
* Get the header output code
|
498 |
+
*
|
499 |
+
* @since 1.0.2
|
500 |
+
*
|
501 |
+
* @param int $post_ID ID of the post/page. Default false.
|
502 |
+
* @return string The HTML ouput of the header for a defined post/page
|
503 |
+
*/
|
504 |
+
function dslc_hf_get_header( $post_ID = false ) {
|
505 |
+
|
506 |
+
// Var defaults
|
507 |
+
$append = '';
|
508 |
+
$wrapper_start = '';
|
509 |
+
|
510 |
+
// Wrap if header handled by theme
|
511 |
+
if ( defined( 'DS_LIVE_COMPOSER_HF_AUTO' ) && ! DS_LIVE_COMPOSER_HF_AUTO ) {
|
512 |
+
$wrapper_start = '<div id="dslc-content" class="dslc-content dslc-clearfix">';
|
513 |
+
}
|
514 |
+
|
515 |
+
// If the page displayed is header/footer, do not repeat
|
516 |
+
if ( is_singular( 'dslc_hf' ) ) {
|
517 |
+
return $wrapper_start;
|
518 |
+
}
|
519 |
+
|
520 |
+
// Get header/footer ID associated with the post
|
521 |
+
$header_footer = dslc_hf_get_ID( $post_ID );
|
522 |
+
|
523 |
+
// If there is a header applied
|
524 |
+
if ( $header_footer['header'] ) {
|
525 |
+
|
526 |
+
// Get the header LC code
|
527 |
+
$header_code = get_post_meta( $header_footer['header'], 'dslc_code', true );
|
528 |
+
|
529 |
+
// If the "position" option value exists
|
530 |
+
if ( get_post_meta( $header_footer['header'], 'dslc_hf_position', true ) ) {
|
531 |
+
|
532 |
+
// Set the "position" option value to the one from the settings
|
533 |
+
$header_position = get_post_meta( $header_footer['header'], 'dslc_hf_position', true );
|
534 |
+
|
535 |
+
} else {
|
536 |
+
|
537 |
+
// Set the "position" option value to default "relative"
|
538 |
+
$header_position = 'relative';
|
539 |
+
|
540 |
+
}
|
541 |
+
|
542 |
+
// If editor active
|
543 |
+
if ( dslc_is_editor_active( 'access' ) ) {
|
544 |
+
|
545 |
+
// Set the HTML for the edit overlay
|
546 |
+
$append = '<div class="dslc-hf-block-overlay"><a target="_blank" href="' . add_query_arg( 'dslc', 'active', get_permalink( $header_footer['header'] ) ) . '" class="dslc-hf-block-overlay-button dslca-link">Edit Header</a></div>';
|
547 |
+
|
548 |
+
}
|
549 |
+
|
550 |
+
// Add the header code to the variable holder
|
551 |
+
return $wrapper_start . '<div id="dslc-header" class="dslc-header-pos-' . $header_position . '">' . do_shortcode( $header_code ) . $append . '</div>';
|
552 |
+
|
553 |
+
// If no header applied
|
554 |
+
} else {
|
555 |
+
|
556 |
+
return $wrapper_start . '';
|
557 |
+
|
558 |
+
}
|
559 |
+
|
560 |
+
}
|
561 |
+
|
562 |
+
/**
|
563 |
+
* Get the footer output code
|
564 |
+
*
|
565 |
+
* @since 1.0.2
|
566 |
+
*
|
567 |
+
* @param int $post_ID ID of the post/page. Default false.
|
568 |
+
* @return string The HTML ouput of the footer for a defined post/page
|
569 |
+
*/
|
570 |
+
function dslc_hf_get_footer( $post_ID = false ) {
|
571 |
+
|
572 |
+
// Var defaults
|
573 |
+
$append = '';
|
574 |
+
$wrapper_end = '';
|
575 |
+
|
576 |
+
// Wrap if header handled by theme
|
577 |
+
if ( defined( 'DS_LIVE_COMPOSER_HF_AUTO' ) && ! DS_LIVE_COMPOSER_HF_AUTO ) {
|
578 |
+
$wrapper_end = '</div>';
|
579 |
+
}
|
580 |
+
|
581 |
+
// If the page displayed is header/footer, do not repeat
|
582 |
+
if ( is_singular( 'dslc_hf' ) ) {
|
583 |
+
return $wrapper_end;
|
584 |
+
}
|
585 |
+
|
586 |
+
// Get header/footer ID associated with the post
|
587 |
+
$header_footer = dslc_hf_get_ID( $post_ID );
|
588 |
+
|
589 |
+
// If there is a footer applied
|
590 |
+
if ( $header_footer['footer'] ) {
|
591 |
+
|
592 |
+
// Get the footer LC code
|
593 |
+
$footer_code = get_post_meta( $header_footer['footer'], 'dslc_code', true );
|
594 |
+
|
595 |
+
// If the "position" option value exists
|
596 |
+
if ( get_post_meta( $header_footer['footer'], 'dslc_hf_position', true ) ) {
|
597 |
+
|
598 |
+
// Set the "position" option value to the one from the settings
|
599 |
+
$footer_position = get_post_meta( $header_footer['footer'], 'dslc_hf_position', true );
|
600 |
+
|
601 |
+
} else {
|
602 |
+
|
603 |
+
// Set the "position" option value to default "relative"
|
604 |
+
$footer_position = 'relative';
|
605 |
+
|
606 |
+
}
|
607 |
+
|
608 |
+
// If editor active
|
609 |
+
if ( dslc_is_editor_active( 'access' ) ) {
|
610 |
+
|
611 |
+
// Set the HTML for the edit overlay
|
612 |
+
$append = '<div class="dslc-hf-block-overlay"><a target="_blank" href="' . add_query_arg( 'dslc', 'active', get_permalink( $header_footer['footer'] ) ) . '" class="dslc-hf-block-overlay-button dslca-link">Edit Footer</a></div>';
|
613 |
+
|
614 |
+
}
|
615 |
+
|
616 |
+
// Add the header code to the variable holder
|
617 |
+
return '<div id="dslc-footer" class="dslc-footer-pos-' . $footer_position . '">' . do_shortcode( $footer_code ) . $append . '</div>' . $wrapper_end;
|
618 |
+
|
619 |
+
// If no header applied
|
620 |
+
} else {
|
621 |
+
|
622 |
+
return '' . $wrapper_end;
|
623 |
+
|
624 |
+
}
|
625 |
+
|
626 |
}
|
includes/other-functions.php
CHANGED
@@ -1,384 +1,384 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
/**
|
4 |
-
* Table of Contents
|
5 |
-
*
|
6 |
-
* class DSLC_Aq_Resize ( Image resizing class )
|
7 |
-
* dslc_aq_resize ( Resize an image using DSLC_Aq_Resize Class )
|
8 |
-
* dslc_get_social_count ( Returns amount of social shares a page has )
|
9 |
-
* dslc_icons_current_set ( Returns the ID of the currently used set based on icon )
|
10 |
-
* dslc_get_attachment_alt ( Returnt he ALT attribute for an attachment )
|
11 |
-
*/
|
12 |
-
|
13 |
-
if( ! class_exists('DSLC_Aq_Resize') ) {
|
14 |
-
|
15 |
-
/**
|
16 |
-
* Image resizing class
|
17 |
-
*
|
18 |
-
* @since 1.0
|
19 |
-
*/
|
20 |
-
class DSLC_Aq_Resize {
|
21 |
-
|
22 |
-
/**
|
23 |
-
* The singleton instance
|
24 |
-
*/
|
25 |
-
static private $instance = null;
|
26 |
-
|
27 |
-
/**
|
28 |
-
* No initialization allowed
|
29 |
-
*/
|
30 |
-
private function __construct() {}
|
31 |
-
|
32 |
-
/**
|
33 |
-
* No cloning allowed
|
34 |
-
*/
|
35 |
-
private function __clone() {}
|
36 |
-
|
37 |
-
/**
|
38 |
-
* For your custom default usage you may want to initialize an Aq_Resize object by yourself and then have own defaults
|
39 |
-
*/
|
40 |
-
static public function getInstance() {
|
41 |
-
if(self::$instance == null) {
|
42 |
-
self::$instance = new self;
|
43 |
-
}
|
44 |
-
|
45 |
-
return self::$instance;
|
46 |
-
}
|
47 |
-
|
48 |
-
/**
|
49 |
-
* Run, forest.
|
50 |
-
*/
|
51 |
-
public function process( $url, $width = null, $height = null, $crop = null, $single = true, $upscale = true ) {
|
52 |
-
|
53 |
-
// Validate inputs.
|
54 |
-
if ( ! $url || ( ! $width && ! $height ) ) return false;
|
55 |
-
|
56 |
-
$upscale = true;
|
57 |
-
|
58 |
-
// Caipt'n, ready to hook.
|
59 |
-
if ( true === $upscale ) add_filter( 'image_resize_dimensions', array($this, 'aq_upscale'), 10, 6 );
|
60 |
-
|
61 |
-
// Define upload path & dir.
|
62 |
-
$upload_info = wp_upload_dir();
|
63 |
-
$upload_dir = $upload_info['basedir'];
|
64 |
-
$upload_url = $upload_info['baseurl'];
|
65 |
-
|
66 |
-
$http_prefix = "http://";
|
67 |
-
$https_prefix = "https://";
|
68 |
-
|
69 |
-
/* if the $url scheme differs from $upload_url scheme, make them match
|
70 |
-
if the schemes differe, images don't show up. */
|
71 |
-
if(!strncmp($url,$https_prefix,strlen($https_prefix))){ //if url begins with https:// make $upload_url begin with https:// as well
|
72 |
-
$upload_url = str_replace($http_prefix,$https_prefix,$upload_url);
|
73 |
-
}
|
74 |
-
elseif(!strncmp($url,$http_prefix,strlen($http_prefix))){ //if url begins with http:// make $upload_url begin with http:// as well
|
75 |
-
$upload_url = str_replace($https_prefix,$http_prefix,$upload_url);
|
76 |
-
}
|
77 |
-
|
78 |
-
|
79 |
-
// Check if $img_url is local.
|
80 |
-
if ( false === strpos( $url, $upload_url ) ) return false;
|
81 |
-
|
82 |
-
// Define path of image.
|
83 |
-
$rel_path = str_replace( $upload_url, '', $url );
|
84 |
-
$img_path = $upload_dir . $rel_path;
|
85 |
-
|
86 |
-
// Check if img path exists, and is an image indeed.
|
87 |
-
if ( ! file_exists( $img_path ) or ! getimagesize( $img_path ) ) return false;
|
88 |
-
|
89 |
-
// Get image info.
|
90 |
-
$info = pathinfo( $img_path );
|
91 |
-
$ext = $info['extension'];
|
92 |
-
list( $orig_w, $orig_h ) = getimagesize( $img_path );
|
93 |
-
|
94 |
-
// Get image size after cropping.
|
95 |
-
$dims = image_resize_dimensions( $orig_w, $orig_h, $width, $height, $crop );
|
96 |
-
$dst_w = $dims[4];
|
97 |
-
$dst_h = $dims[5];
|
98 |
-
|
99 |
-
// Return the original image only if it exactly fits the needed measures.
|
100 |
-
if ( ! $dims && ( ( ( null === $height && $orig_w == $width ) xor ( null === $width && $orig_h == $height ) ) xor ( $height == $orig_h && $width == $orig_w ) ) ) {
|
101 |
-
$img_url = $url;
|
102 |
-
$dst_w = $orig_w;
|
103 |
-
$dst_h = $orig_h;
|
104 |
-
} else {
|
105 |
-
// Use this to check if cropped image already exists, so we can return that instead.
|
106 |
-
$suffix = "{$dst_w}x{$dst_h}";
|
107 |
-
$dst_rel_path = str_replace( '.' . $ext, '', $rel_path );
|
108 |
-
$destfilename = "{$upload_dir}{$dst_rel_path}-{$suffix}.{$ext}";
|
109 |
-
|
110 |
-
if ( ! $dims || ( true == $crop && false == $upscale && ( $dst_w < $width || $dst_h < $height ) ) ) {
|
111 |
-
// Can't resize, so return false saying that the action to do could not be processed as planned.
|
112 |
-
return $url;
|
113 |
-
}
|
114 |
-
// Else check if cache exists.
|
115 |
-
elseif ( file_exists( $destfilename ) && getimagesize( $destfilename ) ) {
|
116 |
-
$img_url = "{$upload_url}{$dst_rel_path}-{$suffix}.{$ext}";
|
117 |
-
}
|
118 |
-
// Else, we resize the image and return the new resized image url.
|
119 |
-
else {
|
120 |
-
|
121 |
-
$editor = wp_get_image_editor( $img_path );
|
122 |
-
|
123 |
-
if ( is_wp_error( $editor ) || is_wp_error( $editor->resize( $width, $height, $crop ) ) )
|
124 |
-
return $url;
|
125 |
-
|
126 |
-
$resized_file = $editor->save();
|
127 |
-
|
128 |
-
if ( ! is_wp_error( $resized_file ) ) {
|
129 |
-
$resized_rel_path = str_replace( $upload_dir, '', $resized_file['path'] );
|
130 |
-
$img_url = $upload_url . $resized_rel_path;
|
131 |
-
} else {
|
132 |
-
return $url;
|
133 |
-
}
|
134 |
-
|
135 |
-
}
|
136 |
-
}
|
137 |
-
|
138 |
-
// Okay, leave the ship.
|
139 |
-
if ( true === $upscale ) remove_filter( 'image_resize_dimensions', array( $this, 'aq_upscale' ) );
|
140 |
-
|
141 |
-
// Return the output.
|
142 |
-
if ( $single ) {
|
143 |
-
// str return.
|
144 |
-
$image = $img_url;
|
145 |
-
} else {
|
146 |
-
// array return.
|
147 |
-
$image = array (
|
148 |
-
0 => $img_url,
|
149 |
-
1 => $dst_w,
|
150 |
-
2 => $dst_h
|
151 |
-
);
|
152 |
-
}
|
153 |
-
|
154 |
-
return $image;
|
155 |
-
}
|
156 |
-
|
157 |
-
/**
|
158 |
-
* Callback to overwrite WP computing of thumbnail measures
|
159 |
-
*/
|
160 |
-
function aq_upscale( $default, $orig_w, $orig_h, $dest_w, $dest_h, $crop ) {
|
161 |
-
if ( ! $crop ) return null; // Let the wordpress default function handle this.
|
162 |
-
|
163 |
-
// Here is the point we allow to use larger image size than the original one.
|
164 |
-
$aspect_ratio = $orig_w / $orig_h;
|
165 |
-
$new_w = $dest_w;
|
166 |
-
$new_h = $dest_h;
|
167 |
-
|
168 |
-
if ( ! $new_w ) {
|
169 |
-
$new_w = intval( $new_h * $aspect_ratio );
|
170 |
-
}
|
171 |
-
|
172 |
-
if ( ! $new_h ) {
|
173 |
-
$new_h = intval( $new_w / $aspect_ratio );
|
174 |
-
}
|
175 |
-
|
176 |
-
$size_ratio = max( $new_w / $orig_w, $new_h / $orig_h );
|
177 |
-
|
178 |
-
$crop_w = round( $new_w / $size_ratio );
|
179 |
-
$crop_h = round( $new_h / $size_ratio );
|
180 |
-
|
181 |
-
$s_x = floor( ( $orig_w - $crop_w ) / 2 );
|
182 |
-
$s_y = floor( ( $orig_h - $crop_h ) / 2 );
|
183 |
-
|
184 |
-
return array( 0, 0, (int) $s_x, (int) $s_y, (int) $new_w, (int) $new_h, (int) $crop_w, (int) $crop_h );
|
185 |
-
}
|
186 |
-
|
187 |
-
}
|
188 |
-
|
189 |
-
}
|
190 |
-
|
191 |
-
|
192 |
-
if ( ! function_exists('dslc_aq_resize') ) {
|
193 |
-
|
194 |
-
/**
|
195 |
-
* Resize an image using DSLC_Aq_Resize Class
|
196 |
-
*
|
197 |
-
* @since 1.0
|
198 |
-
*
|
199 |
-
* @param string $url The URL of the image
|
200 |
-
* @param int $width The new width of the image
|
201 |
-
* @param int $height The new height of the image
|
202 |
-
* @param bool $crop To crop or not to crop, the question is now
|
203 |
-
* @param bool $single If true only returns the URL, if false returns array
|
204 |
-
* @param bool $upscale If image not big enough for new size should it upscale
|
205 |
-
* @return mixed If $single is true return new image URL, if it is false return array
|
206 |
-
* Array contains 0 = URL, 1 = width, 2 = height
|
207 |
-
*/
|
208 |
-
function dslc_aq_resize( $url, $width = null, $height = null, $crop = null, $single = true, $upscale = false ) {
|
209 |
-
|
210 |
-
if( class_exists( 'Jetpack' ) && Jetpack::is_module_active( 'photon' ) ) {
|
211 |
-
|
212 |
-
$args = array(
|
213 |
-
'resize' => "$width,$height"
|
214 |
-
);
|
215 |
-
if ( $single == true ) {
|
216 |
-
return jetpack_photon_url( $url, $args );
|
217 |
-
} else {
|
218 |
-
$image = array (
|
219 |
-
0 => $img_url,
|
220 |
-
1 => $width,
|
221 |
-
2 => $height
|
222 |
-
);
|
223 |
-
return jetpack_photon_url( $url, $args );
|
224 |
-
}
|
225 |
-
|
226 |
-
} else {
|
227 |
-
|
228 |
-
$aq_resize = DSLC_Aq_Resize::getInstance();
|
229 |
-
return $aq_resize->process( $url, $width, $height, $crop, $single, $upscale );
|
230 |
-
|
231 |
-
}
|
232 |
-
|
233 |
-
}
|
234 |
-
|
235 |
-
}
|
236 |
-
|
237 |
-
/**
|
238 |
-
* Returns amount of social shares a page has
|
239 |
-
*
|
240 |
-
* @since 1.0.4
|
241 |
-
*
|
242 |
-
* @param int $post_ID ID of the post/page. Default false, uses get_the_ID()
|
243 |
-
* @param int $refresh_in Amount of seconds for cached info to be stored. Default 3600.
|
244 |
-
* @return array Array containing amount of shares. Keys are fb, twitter and pinterest.
|
245 |
-
*/
|
246 |
-
function dslc_get_social_count( $post_ID = false, $refresh_in = 3600 ) {
|
247 |
-
|
248 |
-
// If ID nt supplied use current
|
249 |
-
if ( $post_ID == false ) {
|
250 |
-
$post_ID = get_the_ID();
|
251 |
-
}
|
252 |
-
|
253 |
-
// Transient
|
254 |
-
$transient_id = 'dslc_social_shares_count_' . $post_ID;
|
255 |
-
|
256 |
-
if ( false === ( $share_info = get_transient( $transient_id ) ) ) {
|
257 |
-
|
258 |
-
$the_url = get_permalink( $post_ID );
|
259 |
-
|
260 |
-
// Defaults
|
261 |
-
$share_info = array(
|
262 |
-
'fb' => 0,
|
263 |
-
'twitter' => 0,
|
264 |
-
'pinterest' => 0
|
265 |
-
);
|
266 |
-
|
267 |
-
// Facebook
|
268 |
-
$fb_get = wp_remote_get( 'http://graph.facebook.com/?id=' . $the_url );
|
269 |
-
$fb_count = 0;
|
270 |
-
if ( is_array( $fb_get ) ) {
|
271 |
-
$fb_get_body = json_decode( $fb_get['body'] );
|
272 |
-
if ( isset( $fb_get_body->shares ) ) {
|
273 |
-
$fb_count = $fb_get_body->shares;
|
274 |
-
} else {
|
275 |
-
$fb_count = 0;
|
276 |
-
}
|
277 |
-
$share_info['fb'] = $fb_count;
|
278 |
-
}
|
279 |
-
|
280 |
-
// Twitter
|
281 |
-
$twitter_get = wp_remote_get( 'http://cdn.api.twitter.com/1/urls/count.json?url=' . $the_url );
|
282 |
-
$twitter_count = 0;
|
283 |
-
if ( is_array( $twitter_get ) ) {
|
284 |
-
$twitter_get_body = json_decode( $twitter_get['body'] );
|
285 |
-
if ( isset( $twitter_get_body->count ) ) {
|
286 |
-
$twitter_count = $twitter_get_body->count;
|
287 |
-
} else {
|
288 |
-
$twitter_count = 0;
|
289 |
-
}
|
290 |
-
$share_info['twitter'] = $twitter_count;
|
291 |
-
}
|
292 |
-
|
293 |
-
// Pinterest
|
294 |
-
$pinterest_get = wp_remote_get( 'http://api.pinterest.com/v1/urls/count.json?url=' . $the_url );
|
295 |
-
$pinterest_count = 0;
|
296 |
-
if ( is_array( $pinterest_get ) ) {
|
297 |
-
$pinterest_get_body = json_decode( preg_replace('/^receiveCount\((.*)\)$/', "\\1", $pinterest_get['body'] ) );
|
298 |
-
if ( isset( $pinterest_get_body->count ) ) {
|
299 |
-
$pinterest_count = $pinterest_get_body->count;
|
300 |
-
} else {
|
301 |
-
$pinterest_count = 0;
|
302 |
-
}
|
303 |
-
$share_info['pinterest'] = $pinterest_count;
|
304 |
-
}
|
305 |
-
|
306 |
-
// Check if there is data
|
307 |
-
if ( isset( $share_info ) ) {
|
308 |
-
set_transient( $transient_id, $share_info, $refresh_in );
|
309 |
-
} else {
|
310 |
-
$share_info = false;
|
311 |
-
}
|
312 |
-
|
313 |
-
}
|
314 |
-
|
315 |
-
// Pass the data back
|
316 |
-
return $share_info;
|
317 |
-
|
318 |
-
}
|
319 |
-
|
320 |
-
/**
|
321 |
-
* Returns the ID of the currently used set based on icon
|
322 |
-
*
|
323 |
-
* @since 1.0.4
|
324 |
-
*
|
325 |
-
* @param string $icon The icon name
|
326 |
-
* @return string Current ID of the icon set
|
327 |
-
*/
|
328 |
-
function dslc_icons_current_set( $icon = false ) {
|
329 |
-
|
330 |
-
// If no icon set return to the default "fontawesome"
|
331 |
-
// If empty icon return default
|
332 |
-
// If there is no "-" in icon, there is no set, return default
|
333 |
-
if ( $icon == false || strlen( $icon ) == 0 || strpos( $icon, '-' ) === false ) {
|
334 |
-
return 'fontawesome';
|
335 |
-
}
|
336 |
-
|
337 |
-
// Get array with available icons
|
338 |
-
global $dslc_var_icons;
|
339 |
-
|
340 |
-
// Get the first part of the icon ( representing the set )
|
341 |
-
$icon_parts = explode( '-', $icon );
|
342 |
-
$icon_set = $icon_parts[0];
|
343 |
-
|
344 |
-
|
345 |
-
|
346 |
-
// If there is an icon set by that name return it
|
347 |
-
if ( isset( $dslc_var_icons[ $icon_set ] ) ) {
|
348 |
-
return $icon_set;
|
349 |
-
// Otherwise return the default
|
350 |
-
} else {
|
351 |
-
return 'fontawesome';
|
352 |
-
}
|
353 |
-
|
354 |
-
}
|
355 |
-
|
356 |
-
/**
|
357 |
-
* Returns the ALT attribute for an attachment
|
358 |
-
*
|
359 |
-
* @since 1.0.7
|
360 |
-
*
|
361 |
-
* @param string $attachment_ID The ID of the attachment
|
362 |
-
* @return string The ALT attribute text
|
363 |
-
*/
|
364 |
-
function dslc_get_attachment_alt( $attachment_ID ) {
|
365 |
-
|
366 |
-
// Get ALT
|
367 |
-
$thumb_alt = trim( strip_tags( get_post_meta( $attachment_ID, '_wp_attachment_image_alt', true) ) );
|
368 |
-
|
369 |
-
// No ALT supplied get attachment info
|
370 |
-
if ( empty( $thumb_alt ) )
|
371 |
-
$attachment = get_post( $attachment_ID );
|
372 |
-
|
373 |
-
// Use caption if no ALT supplied
|
374 |
-
if ( empty( $thumb_alt ) )
|
375 |
-
$thumb_alt = trim(strip_tags( $attachment->post_excerpt ));
|
376 |
-
|
377 |
-
// Use title if no caption supplied either
|
378 |
-
if ( empty( $thumb_alt ) )
|
379 |
-
$thumb_alt = trim(strip_tags( $attachment->post_title ));
|
380 |
-
|
381 |
-
// Return ALT
|
382 |
-
return esc_attr( $thumb_alt );
|
383 |
-
|
384 |
}
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* Table of Contents
|
5 |
+
*
|
6 |
+
* class DSLC_Aq_Resize ( Image resizing class )
|
7 |
+
* dslc_aq_resize ( Resize an image using DSLC_Aq_Resize Class )
|
8 |
+
* dslc_get_social_count ( Returns amount of social shares a page has )
|
9 |
+
* dslc_icons_current_set ( Returns the ID of the currently used set based on icon )
|
10 |
+
* dslc_get_attachment_alt ( Returnt he ALT attribute for an attachment )
|
11 |
+
*/
|
12 |
+
|
13 |
+
if( ! class_exists('DSLC_Aq_Resize') ) {
|
14 |
+
|
15 |
+
/**
|
16 |
+
* Image resizing class
|
17 |
+
*
|
18 |
+
* @since 1.0
|
19 |
+
*/
|
20 |
+
class DSLC_Aq_Resize {
|
21 |
+
|
22 |
+
/**
|
23 |
+
* The singleton instance
|
24 |
+
*/
|
25 |
+
static private $instance = null;
|
26 |
+
|
27 |
+
/**
|
28 |
+
* No initialization allowed
|
29 |
+
*/
|
30 |
+
private function __construct() {}
|
31 |
+
|
32 |
+
/**
|
33 |
+
* No cloning allowed
|
34 |
+
*/
|
35 |
+
private function __clone() {}
|
36 |
+
|
37 |
+
/**
|
38 |
+
* For your custom default usage you may want to initialize an Aq_Resize object by yourself and then have own defaults
|
39 |
+
*/
|
40 |
+
static public function getInstance() {
|
41 |
+
if(self::$instance == null) {
|
42 |
+
self::$instance = new self;
|
43 |
+
}
|
44 |
+
|
45 |
+
return self::$instance;
|
46 |
+
}
|
47 |
+
|
48 |
+
/**
|
49 |
+
* Run, forest.
|
50 |
+
*/
|
51 |
+
public function process( $url, $width = null, $height = null, $crop = null, $single = true, $upscale = true ) {
|
52 |
+
|
53 |
+
// Validate inputs.
|
54 |
+
if ( ! $url || ( ! $width && ! $height ) ) return false;
|
55 |
+
|
56 |
+
$upscale = true;
|
57 |
+
|
58 |
+
// Caipt'n, ready to hook.
|
59 |
+
if ( true === $upscale ) add_filter( 'image_resize_dimensions', array($this, 'aq_upscale'), 10, 6 );
|
60 |
+
|
61 |
+
// Define upload path & dir.
|
62 |
+
$upload_info = wp_upload_dir();
|
63 |
+
$upload_dir = $upload_info['basedir'];
|
64 |
+
$upload_url = $upload_info['baseurl'];
|
65 |
+
|
66 |
+
$http_prefix = "http://";
|
67 |
+
$https_prefix = "https://";
|
68 |
+
|
69 |
+
/* if the $url scheme differs from $upload_url scheme, make them match
|
70 |
+
if the schemes differe, images don't show up. */
|
71 |
+
if(!strncmp($url,$https_prefix,strlen($https_prefix))){ //if url begins with https:// make $upload_url begin with https:// as well
|
72 |
+
$upload_url = str_replace($http_prefix,$https_prefix,$upload_url);
|
73 |
+
}
|
74 |
+
elseif(!strncmp($url,$http_prefix,strlen($http_prefix))){ //if url begins with http:// make $upload_url begin with http:// as well
|
75 |
+
$upload_url = str_replace($https_prefix,$http_prefix,$upload_url);
|
76 |
+
}
|
77 |
+
|
78 |
+
|
79 |
+
// Check if $img_url is local.
|
80 |
+
if ( false === strpos( $url, $upload_url ) ) return false;
|
81 |
+
|
82 |
+
// Define path of image.
|
83 |
+
$rel_path = str_replace( $upload_url, '', $url );
|
84 |
+
$img_path = $upload_dir . $rel_path;
|
85 |
+
|
86 |
+
// Check if img path exists, and is an image indeed.
|
87 |
+
if ( ! file_exists( $img_path ) or ! getimagesize( $img_path ) ) return false;
|
88 |
+
|
89 |
+
// Get image info.
|
90 |
+
$info = pathinfo( $img_path );
|
91 |
+
$ext = $info['extension'];
|
92 |
+
list( $orig_w, $orig_h ) = getimagesize( $img_path );
|
93 |
+
|
94 |
+
// Get image size after cropping.
|
95 |
+
$dims = image_resize_dimensions( $orig_w, $orig_h, $width, $height, $crop );
|
96 |
+
$dst_w = $dims[4];
|
97 |
+
$dst_h = $dims[5];
|
98 |
+
|
99 |
+
// Return the original image only if it exactly fits the needed measures.
|
100 |
+
if ( ! $dims && ( ( ( null === $height && $orig_w == $width ) xor ( null === $width && $orig_h == $height ) ) xor ( $height == $orig_h && $width == $orig_w ) ) ) {
|
101 |
+
$img_url = $url;
|
102 |
+
$dst_w = $orig_w;
|
103 |
+
$dst_h = $orig_h;
|
104 |
+
} else {
|
105 |
+
// Use this to check if cropped image already exists, so we can return that instead.
|
106 |
+
$suffix = "{$dst_w}x{$dst_h}";
|
107 |
+
$dst_rel_path = str_replace( '.' . $ext, '', $rel_path );
|
108 |
+
$destfilename = "{$upload_dir}{$dst_rel_path}-{$suffix}.{$ext}";
|
109 |
+
|
110 |
+
if ( ! $dims || ( true == $crop && false == $upscale && ( $dst_w < $width || $dst_h < $height ) ) ) {
|
111 |
+
// Can't resize, so return false saying that the action to do could not be processed as planned.
|
112 |
+
return $url;
|
113 |
+
}
|
114 |
+
// Else check if cache exists.
|
115 |
+
elseif ( file_exists( $destfilename ) && getimagesize( $destfilename ) ) {
|
116 |
+
$img_url = "{$upload_url}{$dst_rel_path}-{$suffix}.{$ext}";
|
117 |
+
}
|
118 |
+
// Else, we resize the image and return the new resized image url.
|
119 |
+
else {
|
120 |
+
|
121 |
+
$editor = wp_get_image_editor( $img_path );
|
122 |
+
|
123 |
+
if ( is_wp_error( $editor ) || is_wp_error( $editor->resize( $width, $height, $crop ) ) )
|
124 |
+
return $url;
|
125 |
+
|
126 |
+
$resized_file = $editor->save();
|
127 |
+
|
128 |
+
if ( ! is_wp_error( $resized_file ) ) {
|
129 |
+
$resized_rel_path = str_replace( $upload_dir, '', $resized_file['path'] );
|
130 |
+
$img_url = $upload_url . $resized_rel_path;
|
131 |
+
} else {
|
132 |
+
return $url;
|
133 |
+
}
|
134 |
+
|
135 |
+
}
|
136 |
+
}
|
137 |
+
|
138 |
+
// Okay, leave the ship.
|
139 |
+
if ( true === $upscale ) remove_filter( 'image_resize_dimensions', array( $this, 'aq_upscale' ) );
|
140 |
+
|
141 |
+
// Return the output.
|
142 |
+
if ( $single ) {
|
143 |
+
// str return.
|
144 |
+
$image = $img_url;
|
145 |
+
} else {
|
146 |
+
// array return.
|
147 |
+
$image = array (
|
148 |
+
0 => $img_url,
|
149 |
+
1 => $dst_w,
|
150 |
+
2 => $dst_h
|
151 |
+
);
|
152 |
+
}
|
153 |
+
|
154 |
+
return $image;
|
155 |
+
}
|
156 |
+
|
157 |
+
/**
|
158 |
+
* Callback to overwrite WP computing of thumbnail measures
|
159 |
+
*/
|
160 |
+
function aq_upscale( $default, $orig_w, $orig_h, $dest_w, $dest_h, $crop ) {
|
161 |
+
if ( ! $crop ) return null; // Let the wordpress default function handle this.
|
162 |
+
|
163 |
+
// Here is the point we allow to use larger image size than the original one.
|
164 |
+
$aspect_ratio = $orig_w / $orig_h;
|
165 |
+
$new_w = $dest_w;
|
166 |
+
$new_h = $dest_h;
|
167 |
+
|
168 |
+
if ( ! $new_w ) {
|
169 |
+
$new_w = intval( $new_h * $aspect_ratio );
|
170 |
+
}
|
171 |
+
|
172 |
+
if ( ! $new_h ) {
|
173 |
+
$new_h = intval( $new_w / $aspect_ratio );
|
174 |
+
}
|
175 |
+
|
176 |
+
$size_ratio = max( $new_w / $orig_w, $new_h / $orig_h );
|
177 |
+
|
178 |
+
$crop_w = round( $new_w / $size_ratio );
|
179 |
+
$crop_h = round( $new_h / $size_ratio );
|
180 |
+
|
181 |
+
$s_x = floor( ( $orig_w - $crop_w ) / 2 );
|
182 |
+
$s_y = floor( ( $orig_h - $crop_h ) / 2 );
|
183 |
+
|
184 |
+
return array( 0, 0, (int) $s_x, (int) $s_y, (int) $new_w, (int) $new_h, (int) $crop_w, (int) $crop_h );
|
185 |
+
}
|
186 |
+
|
187 |
+
}
|
188 |
+
|
189 |
+
}
|
190 |
+
|
191 |
+
|
192 |
+
if ( ! function_exists('dslc_aq_resize') ) {
|
193 |
+
|
194 |
+
/**
|
195 |
+
* Resize an image using DSLC_Aq_Resize Class
|
196 |
+
*
|
197 |
+
* @since 1.0
|
198 |
+
*
|
199 |
+
* @param string $url The URL of the image
|
200 |
+
* @param int $width The new width of the image
|
201 |
+
* @param int $height The new height of the image
|
202 |
+
* @param bool $crop To crop or not to crop, the question is now
|
203 |
+
* @param bool $single If true only returns the URL, if false returns array
|
204 |
+
* @param bool $upscale If image not big enough for new size should it upscale
|
205 |
+
* @return mixed If $single is true return new image URL, if it is false return array
|
206 |
+
* Array contains 0 = URL, 1 = width, 2 = height
|
207 |
+
*/
|
208 |
+
function dslc_aq_resize( $url, $width = null, $height = null, $crop = null, $single = true, $upscale = false ) {
|
209 |
+
|
210 |
+
if( class_exists( 'Jetpack' ) && Jetpack::is_module_active( 'photon' ) ) {
|
211 |
+
|
212 |
+
$args = array(
|
213 |
+
'resize' => "$width,$height"
|
214 |
+
);
|
215 |
+
if ( $single == true ) {
|
216 |
+
return jetpack_photon_url( $url, $args );
|
217 |
+
} else {
|
218 |
+
$image = array (
|
219 |
+
0 => $img_url,
|
220 |
+
1 => $width,
|
221 |
+
2 => $height
|
222 |
+
);
|
223 |
+
return jetpack_photon_url( $url, $args );
|
224 |
+
}
|
225 |
+
|
226 |
+
} else {
|
227 |
+
|
228 |
+
$aq_resize = DSLC_Aq_Resize::getInstance();
|
229 |
+
return $aq_resize->process( $url, $width, $height, $crop, $single, $upscale );
|
230 |
+
|
231 |
+
}
|
232 |
+
|
233 |
+
}
|
234 |
+
|
235 |
+
}
|
236 |
+
|
237 |
+
/**
|
238 |
+
* Returns amount of social shares a page has
|
239 |
+
*
|
240 |
+
* @since 1.0.4
|
241 |
+
*
|
242 |
+
* @param int $post_ID ID of the post/page. Default false, uses get_the_ID()
|
243 |
+
* @param int $refresh_in Amount of seconds for cached info to be stored. Default 3600.
|
244 |
+
* @return array Array containing amount of shares. Keys are fb, twitter and pinterest.
|
245 |
+
*/
|
246 |
+
function dslc_get_social_count( $post_ID = false, $refresh_in = 3600 ) {
|
247 |
+
|
248 |
+
// If ID nt supplied use current
|
249 |
+
if ( $post_ID == false ) {
|
250 |
+
$post_ID = get_the_ID();
|
251 |
+
}
|
252 |
+
|
253 |
+
// Transient
|
254 |
+
$transient_id = 'dslc_social_shares_count_' . $post_ID;
|
255 |
+
|
256 |
+
if ( false === ( $share_info = get_transient( $transient_id ) ) ) {
|
257 |
+
|
258 |
+
$the_url = get_permalink( $post_ID );
|
259 |
+
|
260 |
+
// Defaults
|
261 |
+
$share_info = array(
|
262 |
+
'fb' => 0,
|
263 |
+
'twitter' => 0,
|
264 |
+
'pinterest' => 0
|
265 |
+
);
|
266 |
+
|
267 |
+
// Facebook
|
268 |
+
$fb_get = wp_remote_get( 'http://graph.facebook.com/?id=' . $the_url );
|
269 |
+
$fb_count = 0;
|
270 |
+
if ( is_array( $fb_get ) ) {
|
271 |
+
$fb_get_body = json_decode( $fb_get['body'] );
|
272 |
+
if ( isset( $fb_get_body->shares ) ) {
|
273 |
+
$fb_count = $fb_get_body->shares;
|
274 |
+
} else {
|
275 |
+
$fb_count = 0;
|
276 |
+
}
|
277 |
+
$share_info['fb'] = $fb_count;
|
278 |
+
}
|
279 |
+
|
280 |
+
// Twitter
|
281 |
+
$twitter_get = wp_remote_get( 'http://cdn.api.twitter.com/1/urls/count.json?url=' . $the_url );
|
282 |
+
$twitter_count = 0;
|
283 |
+
if ( is_array( $twitter_get ) ) {
|
284 |
+
$twitter_get_body = json_decode( $twitter_get['body'] );
|
285 |
+
if ( isset( $twitter_get_body->count ) ) {
|
286 |
+
$twitter_count = $twitter_get_body->count;
|
287 |
+
} else {
|
288 |
+
$twitter_count = 0;
|
289 |
+
}
|
290 |
+
$share_info['twitter'] = $twitter_count;
|
291 |
+
}
|
292 |
+
|
293 |
+
// Pinterest
|
294 |
+
$pinterest_get = wp_remote_get( 'http://api.pinterest.com/v1/urls/count.json?url=' . $the_url );
|
295 |
+
$pinterest_count = 0;
|
296 |
+
if ( is_array( $pinterest_get ) ) {
|
297 |
+
$pinterest_get_body = json_decode( preg_replace('/^receiveCount\((.*)\)$/', "\\1", $pinterest_get['body'] ) );
|
298 |
+
if ( isset( $pinterest_get_body->count ) ) {
|
299 |
+
$pinterest_count = $pinterest_get_body->count;
|
300 |
+
} else {
|
301 |
+
$pinterest_count = 0;
|
302 |
+
}
|
303 |
+
$share_info['pinterest'] = $pinterest_count;
|
304 |
+
}
|
305 |
+
|
306 |
+
// Check if there is data
|
307 |
+
if ( isset( $share_info ) ) {
|
308 |
+
set_transient( $transient_id, $share_info, $refresh_in );
|
309 |
+
} else {
|
310 |
+
$share_info = false;
|
311 |
+
}
|
312 |
+
|
313 |
+
}
|
314 |
+
|
315 |
+
// Pass the data back
|
316 |
+
return $share_info;
|
317 |
+
|
318 |
+
}
|
319 |
+
|
320 |
+
/**
|
321 |
+
* Returns the ID of the currently used set based on icon
|
322 |
+
*
|
323 |
+
* @since 1.0.4
|
324 |
+
*
|
325 |
+
* @param string $icon The icon name
|
326 |
+
* @return string Current ID of the icon set
|
327 |
+
*/
|
328 |
+
function dslc_icons_current_set( $icon = false ) {
|
329 |
+
|
330 |
+
// If no icon set return to the default "fontawesome"
|
331 |
+
// If empty icon return default
|
332 |
+
// If there is no "-" in icon, there is no set, return default
|
333 |
+
if ( $icon == false || strlen( $icon ) == 0 || strpos( $icon, '-' ) === false ) {
|
334 |
+
return 'fontawesome';
|
335 |
+
}
|
336 |
+
|
337 |
+
// Get array with available icons
|
338 |
+
global $dslc_var_icons;
|
339 |
+
|
340 |
+
// Get the first part of the icon ( representing the set )
|
341 |
+
$icon_parts = explode( '-', $icon );
|
342 |
+
$icon_set = $icon_parts[0];
|
343 |
+
|
344 |
+
|
345 |
+
|
346 |
+
// If there is an icon set by that name return it
|
347 |
+
if ( isset( $dslc_var_icons[ $icon_set ] ) ) {
|
348 |
+
return $icon_set;
|
349 |
+
// Otherwise return the default
|
350 |
+
} else {
|
351 |
+
return 'fontawesome';
|
352 |
+
}
|
353 |
+
|
354 |
+
}
|
355 |
+
|
356 |
+
/**
|
357 |
+
* Returns the ALT attribute for an attachment
|
358 |
+
*
|
359 |
+
* @since 1.0.7
|
360 |
+
*
|
361 |
+
* @param string $attachment_ID The ID of the attachment
|
362 |
+
* @return string The ALT attribute text
|
363 |
+
*/
|
364 |
+
function dslc_get_attachment_alt( $attachment_ID ) {
|
365 |
+
|
366 |
+
// Get ALT
|
367 |
+
$thumb_alt = trim( strip_tags( get_post_meta( $attachment_ID, '_wp_attachment_image_alt', true) ) );
|
368 |
+
|
369 |
+
// No ALT supplied get attachment info
|
370 |
+
if ( empty( $thumb_alt ) )
|
371 |
+
$attachment = get_post( $attachment_ID );
|
372 |
+
|
373 |
+
// Use caption if no ALT supplied
|
374 |
+
if ( empty( $thumb_alt ) )
|
375 |
+
$thumb_alt = trim(strip_tags( $attachment->post_excerpt ));
|
376 |
+
|
377 |
+
// Use title if no caption supplied either
|
378 |
+
if ( empty( $thumb_alt ) )
|
379 |
+
$thumb_alt = trim(strip_tags( $attachment->post_title ));
|
380 |
+
|
381 |
+
// Return ALT
|
382 |
+
return esc_attr( $thumb_alt );
|
383 |
+
|
384 |
}
|
includes/other.php
CHANGED
@@ -1,47 +1,47 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
/**
|
4 |
-
* Table of contents
|
5 |
-
*
|
6 |
-
* - dslc_plugin_action_links ( Additional links on plugin listings page )
|
7 |
-
* - dslc_icons
|
8 |
-
*/
|
9 |
-
|
10 |
-
|
11 |
-
/**
|
12 |
-
* Additional links on plugin listings page
|
13 |
-
*
|
14 |
-
* @since 1.0
|
15 |
-
*/
|
16 |
-
|
17 |
-
function dslc_plugin_action_links( $links ) {
|
18 |
-
|
19 |
-
// Themes link
|
20 |
-
$themes_link = '<a href="http://livecomposerplugin.com/themes" target="_blank">Themes</a>';
|
21 |
-
array_unshift( $links, $themes_link );
|
22 |
-
|
23 |
-
// Addons link
|
24 |
-
$addons_link = '<a href="http://livecomposerplugin.com/add-ons" target="_blank">Add-Ons</a>';
|
25 |
-
array_unshift( $links, $addons_link );
|
26 |
-
|
27 |
-
// Support link
|
28 |
-
$support_link = '<a href="http://livecomposerplugin.com/support" target="_blank">Support</a>';
|
29 |
-
array_unshift( $links, $support_link );
|
30 |
-
|
31 |
-
// Pass it back
|
32 |
-
return $links;
|
33 |
-
|
34 |
-
} add_filter( 'plugin_action_links_' . DS_LIVE_COMPOSER_BASENAME, 'dslc_plugin_action_links' );
|
35 |
-
|
36 |
-
function dslc_icons() {
|
37 |
-
|
38 |
-
global $dslc_var_icons;
|
39 |
-
|
40 |
-
$dslc_var_icons = array(
|
41 |
-
'fontawesome' => array( "500px", "adjust", "adn", "align-center", "align-justify", "align-left", "align-right", "amazon", "ambulance", "anchor", "android", "angellist", "angle-down", "angle-left", "angle-right", "angle-up", "apple", "archive", "area-chart", "arrow-circle-left", "arrow-circle-right", "arrow-down", "arrow-left", "arrow-right", "arrow-up", "asterisk", "at", "automobile", "backward", "balance-scale", "ban-circle", "bank", "bar-chart", "barcode", "battery-0", "battery-1", "battery-2", "battery-3", "battery-4", "battery-empty", "battery-full", "battery-half", "battery-quarter", "battery-three-quarters", "beaker", "bed", "beer", "behance", "behance-square", "bell", "bell-alt", "bell-slash", "bell-slash-o", "bicycle", "binoculars", "birthday-cake", "bitbucket", "bitbucket-sign", "bitcoin", "black-tie", "bold", "bolt", "bomb", "book", "bookmark", "bookmark-empty", "briefcase", "btc", "bug", "building", "building", "bullhorn", "bullseye", "bus", "buysellads", "cab", "calculator", "calendar", "calendar-check-o", "calendar-empty", "calendar-minus-o", "calendar-plus-o", "calendar-times-o", "camera", "camera-retro", "car", "caret-down", "caret-left", "caret-right", "caret-square-left", "caret-up", "cart-arrow-down", "cart-plus", "cc", "cc-amex", "cc-diners-club", "cc-discover", "cc-jcb", "cc-mastercard", "cc-paypal", "cc-stripe", "cc-visa", "certificate", "check", "check-empty", "check-minus", "check-sign", "chevron-down", "chevron-left", "chevron-right", "chevron-sign-down", "chevron-sign-left", "chevron-sign-right", "chevron-sign-up", "chevron-up", "child", "chrome", "circle", "circle-arrow-down", "circle-arrow-left", "circle-arrow-right", "circle-arrow-up", "circle-blank", "circle-o-notch", "circle-thin", "clone", "cloud", "cloud-download", "cloud-upload", "cny", "code", "code-fork", "codepen", "coffee", "cog", "cogs", "collapse", "collapse-alt", "collapse-top", "columns", "comment", "comment-alt", "commenting", "commenting-o", "comments", "comments-alt", "compass", "connectdevelop", "contao", "copy", "copyright", "creative-commons", "credit-card", "crop", "css3", "cube", "cubes", "cut", "dashboard", "dashcube", "database", "delicious", "desktop", "deviantart", "diamond", "digg", "dollar", "dot-circle", "double-angle-down", "double-angle-left", "double-angle-right", "double-angle-up", "download", "download-alt", "dribbble", "dropbox", "drupal", "edit", "edit-sign", "eject", "ellipsis-horizontal", "ellipsis-vertical", "empire", "envelope", "envelope-alt", "envelope-square", "eraser", "eur", "euro", "exchange", "exclamation", "exclamation-sign", "expand", "expand-alt", "expeditedssl", "external-link", "external-link-sign", "eye-close", "eye-open", "eyedropper", "facebook", "facebook-official", "facebook-sign", "facetime-video", "fast-backward", "fast-forward", "fax", "female", "fighter-jet", "file", "file-alt", "file-archive-o", "file-audio-o", "file-code-o", "file-excel-o", "file-image-o", "file-movie-o", "file-pdf-o", "file-photo-o", "file-picture-o", "file-powerpoint-o", "file-sound-o", "file-text", "file-text-alt", "file-video-o", "file-word-o", "file-zip-o", "film", "filter", "fire", "fire-extinguisher", "firefox", "flag", "flag-alt", "flag-checkered", "flickr", "folder-close", "folder-close-alt", "folder-open", "folder-open-alt", "font", "fonticons", "food", "forumbee", "forward", "foursquare", "frown", "fullscreen", "futbol-o", "gamepad", "gbp", "ge", "gear", "gears", "get-pocket", "gg", "gg-circle", "gift", "git", "git-square", "github", "github-alt", "github-sign", "gittip", "glass", "globe", "google", "google-plus", "google-plus-sign", "google-wallet", "graduation-cap", "group", "h-sign", "hacker-news", "hand-down", "hand-grab-o", "hand-left", "hand-lizard-o", "hand-paper-o", "hand-peace-o", "hand-pointer-o", "hand-right", "hand-rock-o", "hand-scissors-o", "hand-spock-o", "hand-stop-o", "hand-up", "hdd", "header", "headphones", "heart", "heart-empty", "heartbeat", "history", "home", "hospital", "hotel (alias)", "hourglass", "hourglass-1", "hourglass-2", "hourglass-3", "hourglass-end", "hourglass-half", "hourglass-o", "hourglass-start", "houzz", "html5", "i-cursor", "ils", "inbox", "indent-left", "indent-right", "industry", "info", "info-sign", "inr", "instagram", "institution", "internet-explorer", "ioxhost", "italic", "joomla", "jpy", "jsfiddle", "key", "keyboard", "krw", "language", "laptop", "lastfm", "lastfm-square", "leaf", "leanpub", "legal", "lemon", "level-down", "level-up", "life-bouy", "life-ring", "life-saver", "lightbulb", "line-chart", "link", "linkedin", "linkedin-sign", "linux", "list", "list-alt", "list-ol", "list-ul", "location-arrow", "lock", "long-arrow-down", "long-arrow-left", "long-arrow-right", "long-arrow-up", "magic", "magnet", "mail-forward", "mail-reply", "mail-reply-all", "male", "map", "map-marker", "map-o", "map-pin", "map-signs", "mars", "mars-double", "mars-stroke", "mars-stroke-h", "mars-stroke-v", "maxcdn", "meanpath", "medium", "medkit", "meh", "mercury", "microphone", "microphone-off", "minus", "minus-sign", "minus-sign-alt", "mobile-phone", "money", "moon", "mortar-board", "motorcycle", "mouse-pointer", "move", "music", "neuter", "newspaper-o", "object-group", "object-ungroup", "odnoklassniki", "odnoklassniki-square", "off", "ok", "ok-circle", "ok-sign", "opencart", "openid", "opera", "optin-monster", "pagelines", "paint-brush", "paper-clip", "paper-plane", "paper-plane-o", "paperclip", "paragraph", "paste", "pause", "paw", "paypal", "pencil", "phone", "phone-sign", "picture", "pie-chart", "pied-piper", "pied-piper-alt", "pied-piper-square", "pinterest", "pinterest-p", "pinterest-sign", "plane", "play", "play-circle", "play-sign", "plug", "plus", "plus-sign", "plus-sign-alt", "power-off", "print", "pushpin", "puzzle-piece", "qq", "qrcode", "question", "question-sign", "quote-left", "quote-right", "ra", "random", "rebel", "recycle", "reddit", "reddit-square", "refresh", "registered", "remove", "remove-circle", "remove-sign", "renminbi", "renren", "reorder", "repeat", "reply", "reply-all", "resize-full", "resize-horizontal", "resize-small", "resize-vertical", "retweet", "road", "rocket", "rotate-left", "rotate-right", "rouble", "rss", "rss-sign", "rupee", "safari", "save", "screenshot", "search", "sellsy", "send", "send-o", "server", "share", "share-alt", "share-alt", "share-alt-square", "share-sign", "shield", "ship", "shirtsinbulk", "shopping-cart", "sign-blank", "signal", "signin", "signout", "simplybuilt", "sitemap", "skyatlas", "skype", "slack", "sliders", "slideshare", "smile", "sort", "sort-by-alphabet", "sort-by-alphabet-alt", "sort-by-attributes", "sort-by-attributes-alt", "sort-by-order", "sort-by-order-alt", "sort-down", "sort-up", "soundcloud", "space-shuttle", "spinner", "spoon", "spotify", "stack-exchange", "stackexchange", "star", "star-empty", "star-half", "star-half-empty", "star-half-full", "steam", "steam-square", "step-backward", "step-forward", "stethoscope", "sticky-note", "sticky-note-o", "stop", "street-view", "strikethrough", "stumbleupon", "stumbleupon-circle", "subscript", "subway", "suitcase", "sun", "superscript", "support", "table", "tablet", "tag", "tags", "tasks", "taxi", "television", "tencent-weibo", "terminal", "text-height", "text-width", "th", "th-large", "th-list", "thumbs-down", "thumbs-down-alt", "thumbs-up", "thumbs-up-alt", "ticket", "time", "tint", "toggle-off", "toggle-on", "trademark", "train", "transgender", "transgender-alt", "trash", "trash", "tree", "trello", "tripadvisor", "trophy", "truck", "tty", "tumblr", "tumblr-sign", "turkish-lira", "tv", "twitch", "twitter", "twitter-sign", "umbrella", "unchecked", "underline", "undo", "university", "unlink", "unlock", "unlock-alt", "upload", "upload-alt", "usd", "user", "user-md", "user-plus", "user-secret", "user-times", "venus", "venus-double", "venus-mars", "viacoin", "vimeo", "vimeo-square", "vine", "vk", "volume-down", "volume-off", "volume-up", "warning-sign", "wechat", "weibo", "weixin", "whatsapp", "wheelchair", "wifi", "wikipedia-w", "windows", "won", "wordpress", "wrench", "xing", "xing-sign", "y-combinator", "yahoo","yc", "yelp", "yen", "youtube", "youtube-play", "youtube-sign", "zoom-in", "zoom-out" ),
|
42 |
-
);
|
43 |
-
|
44 |
-
// Allow devs to alter available icons
|
45 |
-
$dslc_var_icons = apply_filters( 'dslc_available_icons', $dslc_var_icons );
|
46 |
-
|
47 |
} add_action( 'init', 'dslc_icons' );
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* Table of contents
|
5 |
+
*
|
6 |
+
* - dslc_plugin_action_links ( Additional links on plugin listings page )
|
7 |
+
* - dslc_icons
|
8 |
+
*/
|
9 |
+
|
10 |
+
|
11 |
+
/**
|
12 |
+
* Additional links on plugin listings page
|
13 |
+
*
|
14 |
+
* @since 1.0
|
15 |
+
*/
|
16 |
+
|
17 |
+
function dslc_plugin_action_links( $links ) {
|
18 |
+
|
19 |
+
// Themes link
|
20 |
+
$themes_link = '<a href="http://livecomposerplugin.com/themes" target="_blank">Themes</a>';
|
21 |
+
array_unshift( $links, $themes_link );
|
22 |
+
|
23 |
+
// Addons link
|
24 |
+
$addons_link = '<a href="http://livecomposerplugin.com/add-ons" target="_blank">Add-Ons</a>';
|
25 |
+
array_unshift( $links, $addons_link );
|
26 |
+
|
27 |
+
// Support link
|
28 |
+
$support_link = '<a href="http://livecomposerplugin.com/support" target="_blank">Support</a>';
|
29 |
+
array_unshift( $links, $support_link );
|
30 |
+
|
31 |
+
// Pass it back
|
32 |
+
return $links;
|
33 |
+
|
34 |
+
} add_filter( 'plugin_action_links_' . DS_LIVE_COMPOSER_BASENAME, 'dslc_plugin_action_links' );
|
35 |
+
|
36 |
+
function dslc_icons() {
|
37 |
+
|
38 |
+
global $dslc_var_icons;
|
39 |
+
|
40 |
+
$dslc_var_icons = array(
|
41 |
+
'fontawesome' => array( "500px", "adjust", "adn", "align-center", "align-justify", "align-left", "align-right", "amazon", "ambulance", "anchor", "android", "angellist", "angle-down", "angle-left", "angle-right", "angle-up", "apple", "archive", "area-chart", "arrow-circle-left", "arrow-circle-right", "arrow-down", "arrow-left", "arrow-right", "arrow-up", "asterisk", "at", "automobile", "backward", "balance-scale", "ban-circle", "bank", "bar-chart", "barcode", "battery-0", "battery-1", "battery-2", "battery-3", "battery-4", "battery-empty", "battery-full", "battery-half", "battery-quarter", "battery-three-quarters", "beaker", "bed", "beer", "behance", "behance-square", "bell", "bell-alt", "bell-slash", "bell-slash-o", "bicycle", "binoculars", "birthday-cake", "bitbucket", "bitbucket-sign", "bitcoin", "black-tie", "bold", "bolt", "bomb", "book", "bookmark", "bookmark-empty", "briefcase", "btc", "bug", "building", "building", "bullhorn", "bullseye", "bus", "buysellads", "cab", "calculator", "calendar", "calendar-check-o", "calendar-empty", "calendar-minus-o", "calendar-plus-o", "calendar-times-o", "camera", "camera-retro", "car", "caret-down", "caret-left", "caret-right", "caret-square-left", "caret-up", "cart-arrow-down", "cart-plus", "cc", "cc-amex", "cc-diners-club", "cc-discover", "cc-jcb", "cc-mastercard", "cc-paypal", "cc-stripe", "cc-visa", "certificate", "check", "check-empty", "check-minus", "check-sign", "chevron-down", "chevron-left", "chevron-right", "chevron-sign-down", "chevron-sign-left", "chevron-sign-right", "chevron-sign-up", "chevron-up", "child", "chrome", "circle", "circle-arrow-down", "circle-arrow-left", "circle-arrow-right", "circle-arrow-up", "circle-blank", "circle-o-notch", "circle-thin", "clone", "cloud", "cloud-download", "cloud-upload", "cny", "code", "code-fork", "codepen", "coffee", "cog", "cogs", "collapse", "collapse-alt", "collapse-top", "columns", "comment", "comment-alt", "commenting", "commenting-o", "comments", "comments-alt", "compass", "connectdevelop", "contao", "copy", "copyright", "creative-commons", "credit-card", "crop", "css3", "cube", "cubes", "cut", "dashboard", "dashcube", "database", "delicious", "desktop", "deviantart", "diamond", "digg", "dollar", "dot-circle", "double-angle-down", "double-angle-left", "double-angle-right", "double-angle-up", "download", "download-alt", "dribbble", "dropbox", "drupal", "edit", "edit-sign", "eject", "ellipsis-horizontal", "ellipsis-vertical", "empire", "envelope", "envelope-alt", "envelope-square", "eraser", "eur", "euro", "exchange", "exclamation", "exclamation-sign", "expand", "expand-alt", "expeditedssl", "external-link", "external-link-sign", "eye-close", "eye-open", "eyedropper", "facebook", "facebook-official", "facebook-sign", "facetime-video", "fast-backward", "fast-forward", "fax", "female", "fighter-jet", "file", "file-alt", "file-archive-o", "file-audio-o", "file-code-o", "file-excel-o", "file-image-o", "file-movie-o", "file-pdf-o", "file-photo-o", "file-picture-o", "file-powerpoint-o", "file-sound-o", "file-text", "file-text-alt", "file-video-o", "file-word-o", "file-zip-o", "film", "filter", "fire", "fire-extinguisher", "firefox", "flag", "flag-alt", "flag-checkered", "flickr", "folder-close", "folder-close-alt", "folder-open", "folder-open-alt", "font", "fonticons", "food", "forumbee", "forward", "foursquare", "frown", "fullscreen", "futbol-o", "gamepad", "gbp", "ge", "gear", "gears", "get-pocket", "gg", "gg-circle", "gift", "git", "git-square", "github", "github-alt", "github-sign", "gittip", "glass", "globe", "google", "google-plus", "google-plus-sign", "google-wallet", "graduation-cap", "group", "h-sign", "hacker-news", "hand-down", "hand-grab-o", "hand-left", "hand-lizard-o", "hand-paper-o", "hand-peace-o", "hand-pointer-o", "hand-right", "hand-rock-o", "hand-scissors-o", "hand-spock-o", "hand-stop-o", "hand-up", "hdd", "header", "headphones", "heart", "heart-empty", "heartbeat", "history", "home", "hospital", "hotel (alias)", "hourglass", "hourglass-1", "hourglass-2", "hourglass-3", "hourglass-end", "hourglass-half", "hourglass-o", "hourglass-start", "houzz", "html5", "i-cursor", "ils", "inbox", "indent-left", "indent-right", "industry", "info", "info-sign", "inr", "instagram", "institution", "internet-explorer", "ioxhost", "italic", "joomla", "jpy", "jsfiddle", "key", "keyboard", "krw", "language", "laptop", "lastfm", "lastfm-square", "leaf", "leanpub", "legal", "lemon", "level-down", "level-up", "life-bouy", "life-ring", "life-saver", "lightbulb", "line-chart", "link", "linkedin", "linkedin-sign", "linux", "list", "list-alt", "list-ol", "list-ul", "location-arrow", "lock", "long-arrow-down", "long-arrow-left", "long-arrow-right", "long-arrow-up", "magic", "magnet", "mail-forward", "mail-reply", "mail-reply-all", "male", "map", "map-marker", "map-o", "map-pin", "map-signs", "mars", "mars-double", "mars-stroke", "mars-stroke-h", "mars-stroke-v", "maxcdn", "meanpath", "medium", "medkit", "meh", "mercury", "microphone", "microphone-off", "minus", "minus-sign", "minus-sign-alt", "mobile-phone", "money", "moon", "mortar-board", "motorcycle", "mouse-pointer", "move", "music", "neuter", "newspaper-o", "object-group", "object-ungroup", "odnoklassniki", "odnoklassniki-square", "off", "ok", "ok-circle", "ok-sign", "opencart", "openid", "opera", "optin-monster", "pagelines", "paint-brush", "paper-clip", "paper-plane", "paper-plane-o", "paperclip", "paragraph", "paste", "pause", "paw", "paypal", "pencil", "phone", "phone-sign", "picture", "pie-chart", "pied-piper", "pied-piper-alt", "pied-piper-square", "pinterest", "pinterest-p", "pinterest-sign", "plane", "play", "play-circle", "play-sign", "plug", "plus", "plus-sign", "plus-sign-alt", "power-off", "print", "pushpin", "puzzle-piece", "qq", "qrcode", "question", "question-sign", "quote-left", "quote-right", "ra", "random", "rebel", "recycle", "reddit", "reddit-square", "refresh", "registered", "remove", "remove-circle", "remove-sign", "renminbi", "renren", "reorder", "repeat", "reply", "reply-all", "resize-full", "resize-horizontal", "resize-small", "resize-vertical", "retweet", "road", "rocket", "rotate-left", "rotate-right", "rouble", "rss", "rss-sign", "rupee", "safari", "save", "screenshot", "search", "sellsy", "send", "send-o", "server", "share", "share-alt", "share-alt", "share-alt-square", "share-sign", "shield", "ship", "shirtsinbulk", "shopping-cart", "sign-blank", "signal", "signin", "signout", "simplybuilt", "sitemap", "skyatlas", "skype", "slack", "sliders", "slideshare", "smile", "sort", "sort-by-alphabet", "sort-by-alphabet-alt", "sort-by-attributes", "sort-by-attributes-alt", "sort-by-order", "sort-by-order-alt", "sort-down", "sort-up", "soundcloud", "space-shuttle", "spinner", "spoon", "spotify", "stack-exchange", "stackexchange", "star", "star-empty", "star-half", "star-half-empty", "star-half-full", "steam", "steam-square", "step-backward", "step-forward", "stethoscope", "sticky-note", "sticky-note-o", "stop", "street-view", "strikethrough", "stumbleupon", "stumbleupon-circle", "subscript", "subway", "suitcase", "sun", "superscript", "support", "table", "tablet", "tag", "tags", "tasks", "taxi", "television", "tencent-weibo", "terminal", "text-height", "text-width", "th", "th-large", "th-list", "thumbs-down", "thumbs-down-alt", "thumbs-up", "thumbs-up-alt", "ticket", "time", "tint", "toggle-off", "toggle-on", "trademark", "train", "transgender", "transgender-alt", "trash", "trash", "tree", "trello", "tripadvisor", "trophy", "truck", "tty", "tumblr", "tumblr-sign", "turkish-lira", "tv", "twitch", "twitter", "twitter-sign", "umbrella", "unchecked", "underline", "undo", "university", "unlink", "unlock", "unlock-alt", "upload", "upload-alt", "usd", "user", "user-md", "user-plus", "user-secret", "user-times", "venus", "venus-double", "venus-mars", "viacoin", "vimeo", "vimeo-square", "vine", "vk", "volume-down", "volume-off", "volume-up", "warning-sign", "wechat", "weibo", "weixin", "whatsapp", "wheelchair", "wifi", "wikipedia-w", "windows", "won", "wordpress", "wrench", "xing", "xing-sign", "y-combinator", "yahoo","yc", "yelp", "yen", "youtube", "youtube-play", "youtube-sign", "zoom-in", "zoom-out" ),
|
42 |
+
);
|
43 |
+
|
44 |
+
// Allow devs to alter available icons
|
45 |
+
$dslc_var_icons = apply_filters( 'dslc_available_icons', $dslc_var_icons );
|
46 |
+
|
47 |
} add_action( 'init', 'dslc_icons' );
|
includes/performance.php
CHANGED
@@ -1,56 +1,56 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
/**
|
4 |
-
* Register options
|
5 |
-
*
|
6 |
-
* @since 1.0
|
7 |
-
*/
|
8 |
-
|
9 |
-
function dslc_perf_settings_init() {
|
10 |
-
|
11 |
-
global $dslc_plugin_options;
|
12 |
-
global $dslc_var_modules;
|
13 |
-
|
14 |
-
$dslc_plugin_options['dslc_plugin_options_performance'] = array(
|
15 |
-
'title' => __( 'Performance', 'live-composer-page-builder' ),
|
16 |
-
'options' => array(
|
17 |
-
'lc_gfont_subsets' => array(
|
18 |
-
'label' => __( 'Font Subsets', 'live-composer-page-builder' ),
|
19 |
-
'std' => array( 'latin', 'latin-ext', 'cyrillic', 'cyrillic-ext' ),
|
20 |
-
'type' => 'checkbox',
|
21 |
-
'descr' => __( 'Which font subsets should be loaded.', 'live-composer-page-builder' ),
|
22 |
-
'choices' => array(
|
23 |
-
array(
|
24 |
-
'label' => 'Latin',
|
25 |
-
'value' => 'latin',
|
26 |
-
),
|
27 |
-
array(
|
28 |
-
'label' => 'Latin Extended',
|
29 |
-
'value' => 'latin-ext',
|
30 |
-
),
|
31 |
-
array(
|
32 |
-
'label' => 'Cyrillic',
|
33 |
-
'value' => 'cyrillic',
|
34 |
-
),
|
35 |
-
array(
|
36 |
-
'label' => 'Cyrillic Extended',
|
37 |
-
'value' => 'cyrillic-ext',
|
38 |
-
),
|
39 |
-
array(
|
40 |
-
'label' => 'Greek',
|
41 |
-
'value' => 'greek',
|
42 |
-
),
|
43 |
-
array(
|
44 |
-
'label' => 'Greek Extended',
|
45 |
-
'value' => 'greek-ext',
|
46 |
-
),
|
47 |
-
array(
|
48 |
-
'label' => 'Vietnamese',
|
49 |
-
'value' => 'vietnamese',
|
50 |
-
),
|
51 |
-
)
|
52 |
-
),
|
53 |
-
)
|
54 |
-
);
|
55 |
-
|
56 |
} add_action( 'dslc_hook_register_options', 'dslc_perf_settings_init' );
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* Register options
|
5 |
+
*
|
6 |
+
* @since 1.0
|
7 |
+
*/
|
8 |
+
|
9 |
+
function dslc_perf_settings_init() {
|
10 |
+
|
11 |
+
global $dslc_plugin_options;
|
12 |
+
global $dslc_var_modules;
|
13 |
+
|
14 |
+
$dslc_plugin_options['dslc_plugin_options_performance'] = array(
|
15 |
+
'title' => __( 'Performance', 'live-composer-page-builder' ),
|
16 |
+
'options' => array(
|
17 |
+
'lc_gfont_subsets' => array(
|
18 |
+
'label' => __( 'Font Subsets', 'live-composer-page-builder' ),
|
19 |
+
'std' => array( 'latin', 'latin-ext', 'cyrillic', 'cyrillic-ext' ),
|
20 |
+
'type' => 'checkbox',
|
21 |
+
'descr' => __( 'Which font subsets should be loaded.', 'live-composer-page-builder' ),
|
22 |
+
'choices' => array(
|
23 |
+
array(
|
24 |
+
'label' => 'Latin',
|
25 |
+
'value' => 'latin',
|
26 |
+
),
|
27 |
+
array(
|
28 |
+
'label' => 'Latin Extended',
|
29 |
+
'value' => 'latin-ext',
|
30 |
+
),
|
31 |
+
array(
|
32 |
+
'label' => 'Cyrillic',
|
33 |
+
'value' => 'cyrillic',
|
34 |
+
),
|
35 |
+
array(
|
36 |
+
'label' => 'Cyrillic Extended',
|
37 |
+
'value' => 'cyrillic-ext',
|
38 |
+
),
|
39 |
+
array(
|
40 |
+
'label' => 'Greek',
|
41 |
+
'value' => 'greek',
|
42 |
+
),
|
43 |
+
array(
|
44 |
+
'label' => 'Greek Extended',
|
45 |
+
'value' => 'greek-ext',
|
46 |
+
),
|
47 |
+
array(
|
48 |
+
'label' => 'Vietnamese',
|
49 |
+
'value' => 'vietnamese',
|
50 |
+
),
|
51 |
+
)
|
52 |
+
),
|
53 |
+
)
|
54 |
+
);
|
55 |
+
|
56 |
} add_action( 'dslc_hook_register_options', 'dslc_perf_settings_init' );
|
includes/plugin-options-framework/css/main.css
CHANGED
@@ -1,46 +1,161 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.dslca-plugin-opts-list-wrap {
|
2 |
+
|
3 |
+
}
|
4 |
+
|
5 |
+
.dslca-plugin-opts-notification {
|
6 |
+
margin-top: 20px;
|
7 |
+
border-left: 4px solid #5184bd;
|
8 |
+
background: #fff;
|
9 |
+
-webkit-box-shadow: 0 1px 1px 0 rgba(0,0,0,.1);
|
10 |
+
box-shadow: 0 1px 1px 0 rgba(0,0,0,.1);
|
11 |
+
padding: 15px 10px;
|
12 |
+
}
|
13 |
+
|
14 |
+
.dslca-plugin-opts-list {
|
15 |
+
width: 300px;
|
16 |
+
margin-bottom: 10px;
|
17 |
+
}
|
18 |
+
|
19 |
+
.dslca-plugin-opts-list-item {
|
20 |
+
display: block;
|
21 |
+
padding: 7px 10px;
|
22 |
+
border: 1px solid rgba( 0, 0, 0, 0.2 );
|
23 |
+
border-radius: 3px;
|
24 |
+
margin-bottom: 5px;
|
25 |
+
position: relative;
|
26 |
+
font-weight: bold;
|
27 |
+
}
|
28 |
+
|
29 |
+
.dslca-plugin-opts-list-delete-hook {
|
30 |
+
position: absolute;
|
31 |
+
right: 7px;
|
32 |
+
top: 6px;
|
33 |
+
font-size: 0.9em;
|
34 |
+
font-weight: normal;
|
35 |
+
font-style: italic;
|
36 |
+
}
|
37 |
+
|
38 |
+
.dslca-plugin-opts-list-error {
|
39 |
+
display: none;
|
40 |
+
color: rgb(219, 113, 113);
|
41 |
+
margin-top: 15px;
|
42 |
+
font-weight: bold;
|
43 |
+
}
|
44 |
+
|
45 |
+
.lc-wrap {
|
46 |
+
padding-left: 10px;
|
47 |
+
overflow: hidden;
|
48 |
+
}
|
49 |
+
|
50 |
+
.lc-subscribe {
|
51 |
+
float: left;
|
52 |
+
}
|
53 |
+
|
54 |
+
.lc-wrap .clear {
|
55 |
+
clear: both;
|
56 |
+
padding-bottom: 40px;
|
57 |
+
border-bottom: 1px solid #cccccc;
|
58 |
+
margin-bottom: 15px;
|
59 |
+
}
|
60 |
+
|
61 |
+
.changelog {
|
62 |
+
float: left;
|
63 |
+
}
|
64 |
+
|
65 |
+
.lc-subscribe, .lc-social, .changelog {
|
66 |
+
width: 45%;
|
67 |
+
float: left;
|
68 |
+
margin-right: 50px;
|
69 |
+
}
|
70 |
+
|
71 |
+
.lc-wrap h3 {
|
72 |
+
margin: 1.25em 0 .6em;
|
73 |
+
font-size: 1.25em;
|
74 |
+
line-height: 1.5em;
|
75 |
+
}
|
76 |
+
|
77 |
+
.lc-wrap h4 {
|
78 |
+
margin: 1.4em 0 0.6em 0;
|
79 |
+
font-size: 1em;
|
80 |
+
}
|
81 |
+
|
82 |
+
.lc-wrap p {
|
83 |
+
line-height: 1.6em;
|
84 |
+
font-size: 14px;
|
85 |
+
}
|
86 |
+
|
87 |
+
.lc-subscribe input[type=text] {
|
88 |
+
border-color: rgb(220, 221, 221);
|
89 |
+
color: #000;
|
90 |
+
border-width: 1px;
|
91 |
+
border-style: solid;
|
92 |
+
border-radius: 4px;
|
93 |
+
font-size: 14px;
|
94 |
+
font-weight: 300;
|
95 |
+
margin: 0px;
|
96 |
+
padding: 8px 12px;
|
97 |
+
width: 250px;
|
98 |
+
margin-right: 22px;
|
99 |
+
}
|
100 |
+
|
101 |
+
.activecampaign_form .add_thank_you:before {
|
102 |
+
content: "\f147";
|
103 |
+
display: inline-block;
|
104 |
+
font-family: 'dashicons';
|
105 |
+
font-size: 22px;
|
106 |
+
padding-right: 3px;
|
107 |
+
vertical-align: top;
|
108 |
+
padding-top: 1px;
|
109 |
+
color: #54c13f;
|
110 |
+
}
|
111 |
+
|
112 |
+
.activecampaign_form .add_thank_you {
|
113 |
+
font-size: 15px;
|
114 |
+
display: block;
|
115 |
+
position: relative;
|
116 |
+
top: -130px;
|
117 |
+
}
|
118 |
+
|
119 |
+
.activecampaign_form ._error {
|
120 |
+
display: table;
|
121 |
+
max-width: 550px;
|
122 |
+
padding: 14px 18px;
|
123 |
+
background: rgba(255, 0, 0, 0.09);
|
124 |
+
border-radius: 3px;
|
125 |
+
margin-top: 10px;
|
126 |
+
border: solid 1px #FCB6AC;
|
127 |
+
}
|
128 |
+
|
129 |
+
.activecampaign_form .button {
|
130 |
+
width: 100px;
|
131 |
+
font-size: 14px;
|
132 |
+
height: 35px;
|
133 |
+
}
|
134 |
+
|
135 |
+
.dslc_twitter {
|
136 |
+
margin-bottom: 7px;
|
137 |
+
}
|
138 |
+
|
139 |
+
.dslc_twitter span.dslc_social_text {
|
140 |
+
position: absolute;
|
141 |
+
}
|
142 |
+
|
143 |
+
.dslc_facebook {
|
144 |
+
margin-bottom: 10px;
|
145 |
+
}
|
146 |
+
|
147 |
+
#share-buttons span.dslc_social_text {
|
148 |
+
margin-left: 10px;
|
149 |
+
font-size: 15px;
|
150 |
+
}
|
151 |
+
|
152 |
+
.dslc_facebook_group a:before {
|
153 |
+
content: "\f304";
|
154 |
+
display: inline-block;
|
155 |
+
font-family: 'dashicons';
|
156 |
+
font-size: 22px;
|
157 |
+
padding-right: 3px;
|
158 |
+
vertical-align: top;
|
159 |
+
padding-top: 1px;
|
160 |
+
color: #1b95e0;
|
161 |
+
}
|
includes/plugin-options-framework/css/main.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.dslca-plugin-opts-notification{margin-top:20px;border-left:4px solid #5184bd;background:#fff;-webkit-box-shadow:0 1px 1px 0 rgba(0,0,0,.1);box-shadow:0 1px 1px 0 rgba(0,0,0,.1);padding:15px 10px}.dslca-plugin-opts-list{width:300px;margin-bottom:10px}.dslca-plugin-opts-list-item{display:block;padding:7px 10px;border:1px solid rgba(0,0,0,.2);border-radius:3px;margin-bottom:5px;position:relative;font-weight:700}.dslca-plugin-opts-list-delete-hook{position:absolute;right:7px;top:6px;font-size:.9em;font-weight:400;font-style:italic}.dslca-plugin-opts-list-error{display:none;color:#db7171;margin-top:15px;font-weight:700}
|
1 |
+
.dslca-plugin-opts-notification{margin-top:20px;border-left:4px solid #5184bd;background:#fff;-webkit-box-shadow:0 1px 1px 0 rgba(0,0,0,.1);box-shadow:0 1px 1px 0 rgba(0,0,0,.1);padding:15px 10px}.dslca-plugin-opts-list{width:300px;margin-bottom:10px}.dslca-plugin-opts-list-item{display:block;padding:7px 10px;border:1px solid rgba(0,0,0,.2);border-radius:3px;margin-bottom:5px;position:relative;font-weight:700}.dslca-plugin-opts-list-delete-hook{position:absolute;right:7px;top:6px;font-size:.9em;font-weight:400;font-style:italic}.dslca-plugin-opts-list-error{display:none;color:#db7171;margin-top:15px;font-weight:700}.lc-wrap{padding-left:10px;overflow:hidden}.lc-wrap .clear{clear:both;padding-bottom:40px;border-bottom:1px solid #ccc;margin-bottom:15px}.changelog,.lc-social,.lc-subscribe{width:45%;float:left;margin-right:50px}.lc-wrap h3{margin:1.25em 0 .6em;font-size:1.25em;line-height:1.5em}.lc-wrap h4{margin:1.4em 0 .6em;font-size:1em}.lc-wrap p{line-height:1.6em;font-size:14px}.lc-subscribe input[type=text]{border-color:#dcdddd;color:#000;border-width:1px;border-style:solid;border-radius:4px;font-size:14px;font-weight:300;margin:0 22px 0 0;padding:8px 12px;width:250px}.activecampaign_form .add_thank_you:before{content:"\f147";display:inline-block;font-family:dashicons;font-size:22px;padding-right:3px;vertical-align:top;padding-top:1px;color:#54c13f}.activecampaign_form .add_thank_you{font-size:15px;display:block;position:relative;top:-130px}.activecampaign_form ._error{display:table;max-width:550px;padding:14px 18px;background:rgba(255,0,0,.09);border-radius:3px;margin-top:10px;border:1px solid #FCB6AC}.activecampaign_form .button{width:100px;font-size:14px;height:35px}.dslc_twitter{margin-bottom:7px}.dslc_twitter span.dslc_social_text{position:absolute}.dslc_facebook{margin-bottom:10px}#share-buttons span.dslc_social_text{margin-left:10px;font-size:15px}.dslc_facebook_group a:before{content:"\f304";display:inline-block;font-family:dashicons;font-size:22px;padding-right:3px;vertical-align:top;padding-top:1px;color:#1b95e0}
|
includes/plugin-options-framework/getting-started.php
ADDED
@@ -0,0 +1,109 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<div class="wrap lc-wrap">
|
2 |
+
|
3 |
+
<?php $dslc_getting_started = get_option( 'dslc_user' ); ?>
|
4 |
+
|
5 |
+
<?php if ( $dslc_getting_started['email'] == '' ) { ?>
|
6 |
+
|
7 |
+
<div class="lc-subscribe">
|
8 |
+
|
9 |
+
<h3><?php _e( 'Keep Your Website Secure', 'live-composer-page-builder' );?></h3>
|
10 |
+
<p><?php _e( 'Get email notifications on Live Composer development', 'live-composer-page-builder' );?><br>
|
11 |
+
<strong><?php _e( 'Security updates', 'live-composer-page-builder' ); ?></strong> • <strong><?php _e( 'New features', 'live-composer-page-builder' ); ?></strong> • <strong><?php _e( 'Extension releases', 'live-composer-page-builder' ); ?></strong></p>
|
12 |
+
|
13 |
+
<form method="POST" action="https://lumbermandesigns.activehosted.com/proc.php" id="_form_11_" class="activecampaign_form" novalidate>
|
14 |
+
<input type="hidden" name="u" value="11" />
|
15 |
+
<input type="hidden" name="f" value="11" />
|
16 |
+
<input type="hidden" name="s" />
|
17 |
+
<input type="hidden" name="c" value="0" />
|
18 |
+
<input type="hidden" name="m" value="0" />
|
19 |
+
<input type="hidden" name="act" value="sub" />
|
20 |
+
<input type="hidden" name="v" value="2" />
|
21 |
+
<div class="_form-content">
|
22 |
+
<div>
|
23 |
+
<input type="text" name="email" id="dslc_activecampaign_email" placeholder="Email" value="<?php echo $dslc_getting_started['email']; ?>" required/>
|
24 |
+
</div>
|
25 |
+
<br/>
|
26 |
+
<div>
|
27 |
+
<input type="text" name="firstname" id="dslc_activecampaign_name" placeholder="First Name" required value="<?php echo $dslc_getting_started['name']; ?>" />
|
28 |
+
</div>
|
29 |
+
<br/>
|
30 |
+
<br/>
|
31 |
+
<button id="_form_11_submit" class="button button-primary" type="submit">Submit</button>
|
32 |
+
</div>
|
33 |
+
<div class="_form-thank-you"></div>
|
34 |
+
</form>
|
35 |
+
|
36 |
+
</div>
|
37 |
+
|
38 |
+
<?php } ?>
|
39 |
+
|
40 |
+
<div class="lc-social">
|
41 |
+
|
42 |
+
<h3><?php _e( 'We are social', 'live-composer-page-builder' );?></h3>
|
43 |
+
|
44 |
+
<div id="share-buttons">
|
45 |
+
|
46 |
+
<div class="dslc_twitter">
|
47 |
+
<a href="https://twitter.com/livecomposerwp" class="twitter-follow-button" data-show-count="false">Follow @livecomposerwp</a>
|
48 |
+
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
|
49 |
+
<span class="dslc_social_text">— <?php _e( 'plugin development insights', 'live-composer-page-builder' ); ?></span>
|
50 |
+
</div>
|
51 |
+
<div class="dslc_facebook">
|
52 |
+
<div id="fb-root"></div>
|
53 |
+
<script>(function(d, s, id) {
|
54 |
+
var js, fjs = d.getElementsByTagName(s)[0];
|
55 |
+
if (d.getElementById(id)) return;
|
56 |
+
js = d.createElement(s); js.id = id;
|
57 |
+
js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.5";
|
58 |
+
fjs.parentNode.insertBefore(js, fjs);
|
59 |
+
}(document, 'script', 'facebook-jssdk'));</script>
|
60 |
+
<div class="fb-follow" data-href="https://www.facebook.com/livecomposer" data-layout="button" data-show-faces="true"></div>
|
61 |
+
<span class="dslc_social_text">— <?php _e( 'important update notifications', 'live-composer-page-builder' ); ?></span>
|
62 |
+
</div>
|
63 |
+
<div class="dslc_facebook_group">
|
64 |
+
<a href="https://www.facebook.com/groups/livecomposer/" target="_blank">LC Facebook Group</a>
|
65 |
+
<span class="dslc_social_text">— <?php _e( 'friendly community of plugin users', 'live-composer-page-builder' ); ?></span>
|
66 |
+
</div>
|
67 |
+
|
68 |
+
</div>
|
69 |
+
|
70 |
+
</div>
|
71 |
+
|
72 |
+
<div class="clear"></div>
|
73 |
+
|
74 |
+
<div class="changelog">
|
75 |
+
|
76 |
+
<h3><?php _e( 'Documentation & Support', 'live-composer-page-builder' );?></h3>
|
77 |
+
|
78 |
+
<div class="feature-section">
|
79 |
+
|
80 |
+
<h4><?php _e( 'Usage Documentation', 'live-composer-page-builder' );?></h4>
|
81 |
+
<p><?php _e( 'The usage documentation is available online. We have great search functionality and add new articles weekly.<br><a target="_blank" href="http://livecomposerplugin.com/documentation">Go To Usage Documentation →</a>', 'live-composer-page-builder' );?></p>
|
82 |
+
|
83 |
+
<h4><?php _e( 'Developer Documentation', 'live-composer-page-builder' );?></h4>
|
84 |
+
<p><?php _e( 'If you\'re a developer who is interested in building custom modules for Live Composer give a check at the developer documentation.<br><a target="_blank" href="http://livecomposerplugin.com/dev-docs">Go To Developer Documentation →</a>', 'live-composer-page-builder' );?></p>
|
85 |
+
|
86 |
+
<h4><?php _e( 'Support', 'live-composer-page-builder' );?></h4>
|
87 |
+
<p><?php _e( 'If you run into any bugs or issues do let us know.<br><a target="_blank" href="http://livecomposerplugin.com/support/">Go To Support →</a>', 'live-composer-page-builder' );?></p>
|
88 |
+
|
89 |
+
</div><!-- .feature-section -->
|
90 |
+
|
91 |
+
</div><!-- .changelog -->
|
92 |
+
|
93 |
+
<div class="changelog">
|
94 |
+
|
95 |
+
<h3><?php _e( 'Themes & Add-Ons', 'live-composer-page-builder' );?></h3>
|
96 |
+
|
97 |
+
<div class="feature-section">
|
98 |
+
|
99 |
+
<h4><?php _e( 'Themes', 'live-composer-page-builder' );?></h4>
|
100 |
+
<p><?php _e( 'There are a lot of free and premium themes powered by Live Composer.<br><a target="_blank" href="http://livecomposerplugin.com/themes">Check Out The Themes →</a>', 'live-composer-page-builder' );?></p>
|
101 |
+
|
102 |
+
<h4><?php _e( 'Add-Ons', 'live-composer-page-builder' );?></h4>
|
103 |
+
<p><?php _e( 'If you are looking for some extra functionality ( features, modules... ) there are free and premium add-ons.<br><a target="_blank" href="http://livecomposerplugin.com/add-ons">Check Out The Add-Ons →</a>', 'live-composer-page-builder' );?></p>
|
104 |
+
|
105 |
+
</div><!-- .feature-section -->
|
106 |
+
|
107 |
+
</div><!-- .changelog -->
|
108 |
+
|
109 |
+
</div>
|
includes/plugin-options-framework/inc/display-options.php
CHANGED
@@ -1,201 +1,201 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
function dslc_plugin_option_display_text( $option_ID, $section_ID ) {
|
4 |
-
|
5 |
-
global $dslc_plugin_options;
|
6 |
-
|
7 |
-
$options = get_option( $section_ID );
|
8 |
-
|
9 |
-
if ( isset( $options[ $option_ID ] ) )
|
10 |
-
$value = $options[$option_ID];
|
11 |
-
else
|
12 |
-
$value = $dslc_plugin_options[$section_ID]['options'][$option_ID]['std'];
|
13 |
-
|
14 |
-
?><input class="regular-text" id='<?php echo $option_ID; ?>' name='<?php echo $section_ID; ?>[<?php echo $option_ID; ?>]' type='text' value='<?php echo esc_attr( $value ); ?>' /><?php
|
15 |
-
if ( isset( $dslc_plugin_options[$section_ID]['options'][$option_ID]['descr'] ) ) :
|
16 |
-
?><p class="description"><?php echo $dslc_plugin_options[$section_ID]['options'][$option_ID]['descr']; ?></p><?php
|
17 |
-
endif;
|
18 |
-
|
19 |
-
}
|
20 |
-
|
21 |
-
function dslc_plugin_option_display_textarea( $option_ID, $section_ID ) {
|
22 |
-
|
23 |
-
global $dslc_plugin_options;
|
24 |
-
|
25 |
-
$options = get_option( $section_ID );
|
26 |
-
|
27 |
-
if ( isset( $options[ $option_ID ] ) )
|
28 |
-
$value = $options[$option_ID];
|
29 |
-
else
|
30 |
-
$value = $dslc_plugin_options[$section_ID]['options'][$option_ID]['std'];
|
31 |
-
|
32 |
-
|
33 |
-
// echo the field
|
34 |
-
?><textarea class="large-text" id='<?php echo $option_ID; ?>' name='<?php echo $section_ID; ?>[<?php echo $option_ID; ?>]' rows="5" cols="50"><?php echo esc_attr( $value ); ?></textarea><?php
|
35 |
-
if ( isset( $dslc_plugin_options[$section_ID]['options'][$option_ID]['descr'] ) ) :
|
36 |
-
?><p class="description"><?php echo $dslc_plugin_options[$section_ID]['options'][$option_ID]['descr']; ?></p><?php
|
37 |
-
endif;
|
38 |
-
|
39 |
-
}
|
40 |
-
|
41 |
-
function dslc_plugin_option_display_select( $option_ID, $section_ID ) {
|
42 |
-
|
43 |
-
global $dslc_plugin_options;
|
44 |
-
|
45 |
-
$options = get_option( $section_ID );
|
46 |
-
|
47 |
-
if ( isset( $options[ $option_ID ] ) )
|
48 |
-
$value = $options[$option_ID];
|
49 |
-
else
|
50 |
-
$value = $dslc_plugin_options[$section_ID]['options'][$option_ID]['std'];
|
51 |
-
|
52 |
-
$option = $dslc_plugin_options[$section_ID]['options'][$option_ID];
|
53 |
-
|
54 |
-
?><select id='<?php echo $option_ID; ?>' name='<?php echo $section_ID; ?>[<?php echo $option_ID; ?>]'><?php
|
55 |
-
foreach ( $option['choices'] as $choice ) :
|
56 |
-
?><option value="<?php echo $choice['value']; ?>" <?php if ( $choice['value'] == $value ) echo 'selected="selected"'; ?> ><?php echo $choice['label'];?></option><?php
|
57 |
-
endforeach;
|
58 |
-
?></select><?php
|
59 |
-
if ( isset( $dslc_plugin_options[$section_ID]['options'][$option_ID]['descr'] ) ) :
|
60 |
-
?><p class="description"><?php echo $dslc_plugin_options[$section_ID]['options'][$option_ID]['descr']; ?></p><?php
|
61 |
-
endif;
|
62 |
-
|
63 |
-
}
|
64 |
-
|
65 |
-
function dslc_plugin_option_display_checkbox( $option_ID, $section_ID ) {
|
66 |
-
|
67 |
-
global $dslc_plugin_options;
|
68 |
-
|
69 |
-
$options = get_option( $section_ID );
|
70 |
-
|
71 |
-
if ( isset( $options[ $option_ID ] ) )
|
72 |
-
$value = $options[$option_ID];
|
73 |
-
else
|
74 |
-
$value = $dslc_plugin_options[$section_ID]['options'][$option_ID]['std'];
|
75 |
-
|
76 |
-
$option = $dslc_plugin_options[$section_ID]['options'][$option_ID];
|
77 |
-
|
78 |
-
foreach ( $option['choices'] as $choice ) :
|
79 |
-
?>
|
80 |
-
<input type="checkbox" name="<?php echo $section_ID; ?>[<?php echo $option_ID; ?>][]" id="<?php echo $option_ID; ?>" value="<?php echo $choice['value']; ?>" <?php if ( in_array( $choice['value'], $value ) ) echo 'checked="checked"'; ?>>
|
81 |
-
<label for="<?php echo $option_ID; ?>"><?php echo $choice['label']; ?></label>
|
82 |
-
<br>
|
83 |
-
<?php
|
84 |
-
endforeach;
|
85 |
-
if ( isset( $dslc_plugin_options[$section_ID]['options'][$option_ID]['descr'] ) ) :
|
86 |
-
?><p class="description"><?php echo $dslc_plugin_options[$section_ID]['options'][$option_ID]['descr']; ?></p><?php
|
87 |
-
endif;
|
88 |
-
|
89 |
-
}
|
90 |
-
|
91 |
-
function dslc_plugin_option_display_radio( $option_ID, $section_ID ) {
|
92 |
-
|
93 |
-
global $dslc_plugin_options;
|
94 |
-
|
95 |
-
$options = get_option( $section_ID );
|
96 |
-
|
97 |
-
if ( isset( $options[ $option_ID ] ) )
|
98 |
-
$value = $options[$option_ID];
|
99 |
-
else
|
100 |
-
$value = $dslc_plugin_options[$section_ID]['options'][$option_ID]['std'];
|
101 |
-
|
102 |
-
$option = $dslc_plugin_options[$section_ID]['options'][$option_ID];
|
103 |
-
|
104 |
-
foreach ( $option['choices'] as $choice ) :
|
105 |
-
?>
|
106 |
-
<input type="radio" name="<?php echo $section_ID; ?>[<?php echo $option_ID; ?>]" id="<?php echo $option_ID; ?>" value="<?php echo $choice['value']; ?>" <?php if ( $choice['value'] == $value ) echo 'checked="checked"'; ?>>
|
107 |
-
<label for="<?php echo $section_ID; ?>[<?php echo $option_ID; ?>]"><?php echo $choice['label']; ?></label>
|
108 |
-
<br>
|
109 |
-
<?php
|
110 |
-
endforeach;
|
111 |
-
if ( isset( $dslc_plugin_options[$section_ID]['options'][$option_ID]['descr'] ) ) :
|
112 |
-
?><p class="description"><?php echo $dslc_plugin_options[$section_ID]['options'][$option_ID]['descr']; ?></p><?php
|
113 |
-
endif;
|
114 |
-
|
115 |
-
}
|
116 |
-
|
117 |
-
function dslc_plugin_option_display_list( $option_ID, $section_ID ) {
|
118 |
-
|
119 |
-
global $dslc_plugin_options;
|
120 |
-
|
121 |
-
$options = get_option( $section_ID );
|
122 |
-
|
123 |
-
if ( isset( $options[ $option_ID ] ) )
|
124 |
-
$value = $options[$option_ID];
|
125 |
-
else
|
126 |
-
$value = $dslc_plugin_options[$section_ID]['options'][$option_ID]['std'];
|
127 |
-
|
128 |
-
$option = $dslc_plugin_options[$section_ID]['options'][$option_ID];
|
129 |
-
|
130 |
-
?>
|
131 |
-
|
132 |
-
<div class="dslca-plugin-opts-list-wrap">
|
133 |
-
|
134 |
-
<input type="hidden" class="dslca-plugin-opts-list-code" id='<?php echo $option_ID; ?>' name='<?php echo $section_ID; ?>[<?php echo $option_ID; ?>]' value='<?php echo esc_attr( $value ); ?>' />
|
135 |
-
|
136 |
-
<?php
|
137 |
-
$sidebars_array = array();
|
138 |
-
if ( $value !== '' ) {
|
139 |
-
|
140 |
-
$sidebars = $value;
|
141 |
-
$sidebars_array = explode( ',', substr( $sidebars, 0, -1 ) );
|
142 |
-
|
143 |
-
}
|
144 |
-
|
145 |
-
?>
|
146 |
-
|
147 |
-
<div class="dslca-plugin-opts-list">
|
148 |
-
<?php foreach ( $sidebars_array as $sidebar ) : ?>
|
149 |
-
<div class="dslca-plugin-opts-list-item">
|
150 |
-
<span class="dslca-plugin-opts-list-title" contenteditable><?php echo $sidebar; ?></span>
|
151 |
-
<a href="#" class="dslca-plugin-opts-list-delete-hook"><?php _e( 'delete', 'live-composer-page-builder' ); ?></a>
|
152 |
-
</div>
|
153 |
-
<?php endforeach; ?>
|
154 |
-
</div><!-- .dslca-plugin-opts-list -->
|
155 |
-
|
156 |
-
<a href="#" class="dslca-plugin-opts-list-add-hook"><?php _e( 'Add New', 'live-composer-page-builder' ); ?></a>
|
157 |
-
|
158 |
-
<div class="dslca-plugin-opts-list-error">
|
159 |
-
<?php _e( 'Items with duplicated titles found. Titles must be unique.', 'live-composer-page-builder' ); ?>
|
160 |
-
</div>
|
161 |
-
|
162 |
-
</div>
|
163 |
-
|
164 |
-
<?php
|
165 |
-
if ( isset( $dslc_plugin_options[$section_ID]['options'][$option_ID]['descr'] ) ) :
|
166 |
-
?><p class="description"><?php echo $dslc_plugin_options[$section_ID]['options'][$option_ID]['descr']; ?></p><?php
|
167 |
-
endif;
|
168 |
-
|
169 |
-
}
|
170 |
-
|
171 |
-
function dslc_plugin_option_display_styling_presets( $option_ID, $section_ID ) {
|
172 |
-
|
173 |
-
global $dslc_plugin_options;
|
174 |
-
|
175 |
-
$presets = maybe_unserialize( get_option( 'dslc_presets' ) );
|
176 |
-
|
177 |
-
?>
|
178 |
-
|
179 |
-
<div class="dslca-plugin-opts-list-wrap">
|
180 |
-
|
181 |
-
<?php /*
|
182 |
-
<input type="hidden" class="dslca-plugin-opts-list-code" id='<?php echo $option_ID; ?>' name='<?php echo $section_ID; ?>[<?php echo $option_ID; ?>]' value='<?php echo esc_attr( $value ); ?>' />
|
183 |
-
*/ ?>
|
184 |
-
|
185 |
-
<div class="dslca-plugin-opts-list">
|
186 |
-
<?php foreach ( $presets as $preset ) : ?>
|
187 |
-
<div class="dslca-plugin-opts-list-item">
|
188 |
-
<span class="dslca-plugin-opts-list-title" contenteditable><?php echo $preset['title']; ?></span>
|
189 |
-
<a href="#" class="dslca-plugin-opts-list-delete-hook"><?php _e( 'delete', 'live-composer-page-builder' ); ?></a>
|
190 |
-
</div>
|
191 |
-
<?php endforeach; ?>
|
192 |
-
</div><!-- .dslca-plugin-opts-list -->
|
193 |
-
|
194 |
-
</div>
|
195 |
-
|
196 |
-
<?php
|
197 |
-
if ( isset( $dslc_plugin_options[$section_ID]['options'][$option_ID]['descr'] ) ) :
|
198 |
-
?><p class="description"><?php echo $dslc_plugin_options[$section_ID]['options'][$option_ID]['descr']; ?></p><?php
|
199 |
-
endif;
|
200 |
-
|
201 |
}
|
1 |
+
<?php
|
2 |
+
|
3 |
+
function dslc_plugin_option_display_text( $option_ID, $section_ID ) {
|
4 |
+
|
5 |
+
global $dslc_plugin_options;
|
6 |
+
|
7 |
+
$options = get_option( $section_ID );
|
8 |
+
|
9 |
+
if ( isset( $options[ $option_ID ] ) )
|
10 |
+
$value = $options[$option_ID];
|
11 |
+
else
|
12 |
+
$value = $dslc_plugin_options[$section_ID]['options'][$option_ID]['std'];
|
13 |
+
|
14 |
+
?><input class="regular-text" id='<?php echo $option_ID; ?>' name='<?php echo $section_ID; ?>[<?php echo $option_ID; ?>]' type='text' value='<?php echo esc_attr( $value ); ?>' /><?php
|
15 |
+
if ( isset( $dslc_plugin_options[$section_ID]['options'][$option_ID]['descr'] ) ) :
|
16 |
+
?><p class="description"><?php echo $dslc_plugin_options[$section_ID]['options'][$option_ID]['descr']; ?></p><?php
|
17 |
+
endif;
|
18 |
+
|
19 |
+
}
|
20 |
+
|
21 |
+
function dslc_plugin_option_display_textarea( $option_ID, $section_ID ) {
|
22 |
+
|
23 |
+
global $dslc_plugin_options;
|
24 |
+
|
25 |
+
$options = get_option( $section_ID );
|
26 |
+
|
27 |
+
if ( isset( $options[ $option_ID ] ) )
|
28 |
+
$value = $options[$option_ID];
|
29 |
+
else
|
30 |
+
$value = $dslc_plugin_options[$section_ID]['options'][$option_ID]['std'];
|
31 |
+
|
32 |
+
|
33 |
+
// echo the field
|
34 |
+
?><textarea class="large-text" id='<?php echo $option_ID; ?>' name='<?php echo $section_ID; ?>[<?php echo $option_ID; ?>]' rows="5" cols="50"><?php echo esc_attr( $value ); ?></textarea><?php
|
35 |
+
if ( isset( $dslc_plugin_options[$section_ID]['options'][$option_ID]['descr'] ) ) :
|
36 |
+
?><p class="description"><?php echo $dslc_plugin_options[$section_ID]['options'][$option_ID]['descr']; ?></p><?php
|
37 |
+
endif;
|
38 |
+
|
39 |
+
}
|
40 |
+
|
41 |
+
function dslc_plugin_option_display_select( $option_ID, $section_ID ) {
|
42 |
+
|
43 |
+
global $dslc_plugin_options;
|
44 |
+
|
45 |
+
$options = get_option( $section_ID );
|
46 |
+
|
47 |
+
if ( isset( $options[ $option_ID ] ) )
|
48 |
+
$value = $options[$option_ID];
|
49 |
+
else
|
50 |
+
$value = $dslc_plugin_options[$section_ID]['options'][$option_ID]['std'];
|
51 |
+
|
52 |
+
$option = $dslc_plugin_options[$section_ID]['options'][$option_ID];
|
53 |
+
|
54 |
+
?><select id='<?php echo $option_ID; ?>' name='<?php echo $section_ID; ?>[<?php echo $option_ID; ?>]'><?php
|
55 |
+
foreach ( $option['choices'] as $choice ) :
|
56 |
+
?><option value="<?php echo $choice['value']; ?>" <?php if ( $choice['value'] == $value ) echo 'selected="selected"'; ?> ><?php echo $choice['label'];?></option><?php
|
57 |
+
endforeach;
|
58 |
+
?></select><?php
|
59 |
+
if ( isset( $dslc_plugin_options[$section_ID]['options'][$option_ID]['descr'] ) ) :
|
60 |
+
?><p class="description"><?php echo $dslc_plugin_options[$section_ID]['options'][$option_ID]['descr']; ?></p><?php
|
61 |
+
endif;
|
62 |
+
|
63 |
+
}
|
64 |
+
|
65 |
+
function dslc_plugin_option_display_checkbox( $option_ID, $section_ID ) {
|
66 |
+
|
67 |
+
global $dslc_plugin_options;
|
68 |
+
|
69 |
+
$options = get_option( $section_ID );
|
70 |
+
|
71 |
+
if ( isset( $options[ $option_ID ] ) )
|
72 |
+
$value = $options[$option_ID];
|
73 |
+
else
|
74 |
+
$value = $dslc_plugin_options[$section_ID]['options'][$option_ID]['std'];
|
75 |
+
|
76 |
+
$option = $dslc_plugin_options[$section_ID]['options'][$option_ID];
|
77 |
+
|
78 |
+
foreach ( $option['choices'] as $choice ) :
|
79 |
+
?>
|
80 |
+
<input type="checkbox" name="<?php echo $section_ID; ?>[<?php echo $option_ID; ?>][]" id="<?php echo $option_ID; ?>" value="<?php echo $choice['value']; ?>" <?php if ( in_array( $choice['value'], $value ) ) echo 'checked="checked"'; ?>>
|
81 |
+
<label for="<?php echo $option_ID; ?>"><?php echo $choice['label']; ?></label>
|
82 |
+
<br>
|
83 |
+
<?php
|
84 |
+
endforeach;
|
85 |
+
if ( isset( $dslc_plugin_options[$section_ID]['options'][$option_ID]['descr'] ) ) :
|
86 |
+
?><p class="description"><?php echo $dslc_plugin_options[$section_ID]['options'][$option_ID]['descr']; ?></p><?php
|
87 |
+
endif;
|
88 |
+
|
89 |
+
}
|
90 |
+
|
91 |
+
function dslc_plugin_option_display_radio( $option_ID, $section_ID ) {
|
92 |
+
|
93 |
+
global $dslc_plugin_options;
|
94 |
+
|
95 |
+
$options = get_option( $section_ID );
|
96 |
+
|
97 |
+
if ( isset( $options[ $option_ID ] ) )
|
98 |
+
$value = $options[$option_ID];
|
99 |
+
else
|
100 |
+
$value = $dslc_plugin_options[$section_ID]['options'][$option_ID]['std'];
|
101 |
+
|
102 |
+
$option = $dslc_plugin_options[$section_ID]['options'][$option_ID];
|
103 |
+
|
104 |
+
foreach ( $option['choices'] as $choice ) :
|
105 |
+
?>
|
106 |
+
<input type="radio" name="<?php echo $section_ID; ?>[<?php echo $option_ID; ?>]" id="<?php echo $option_ID; ?>" value="<?php echo $choice['value']; ?>" <?php if ( $choice['value'] == $value ) echo 'checked="checked"'; ?>>
|
107 |
+
<label for="<?php echo $section_ID; ?>[<?php echo $option_ID; ?>]"><?php echo $choice['label']; ?></label>
|
108 |
+
<br>
|
109 |
+
<?php
|
110 |
+
endforeach;
|
111 |
+
if ( isset( $dslc_plugin_options[$section_ID]['options'][$option_ID]['descr'] ) ) :
|
112 |
+
?><p class="description"><?php echo $dslc_plugin_options[$section_ID]['options'][$option_ID]['descr']; ?></p><?php
|
113 |
+
endif;
|
114 |
+
|
115 |
+
}
|
116 |
+
|
117 |
+
function dslc_plugin_option_display_list( $option_ID, $section_ID ) {
|
118 |
+
|
119 |
+
global $dslc_plugin_options;
|
120 |
+
|
121 |
+
$options = get_option( $section_ID );
|
122 |
+
|
123 |
+
if ( isset( $options[ $option_ID ] ) )
|
124 |
+
$value = $options[$option_ID];
|
125 |
+
else
|
126 |
+
$value = $dslc_plugin_options[$section_ID]['options'][$option_ID]['std'];
|
127 |
+
|
128 |
+
$option = $dslc_plugin_options[$section_ID]['options'][$option_ID];
|
129 |
+
|
130 |
+
?>
|
131 |
+
|
132 |
+
<div class="dslca-plugin-opts-list-wrap">
|
133 |
+
|
134 |
+
<input type="hidden" class="dslca-plugin-opts-list-code" id='<?php echo $option_ID; ?>' name='<?php echo $section_ID; ?>[<?php echo $option_ID; ?>]' value='<?php echo esc_attr( $value ); ?>' />
|
135 |
+
|
136 |
+
<?php
|
137 |
+
$sidebars_array = array();
|
138 |
+
if ( $value !== '' ) {
|
139 |
+
|
140 |
+
$sidebars = $value;
|
141 |
+
$sidebars_array = explode( ',', substr( $sidebars, 0, -1 ) );
|
142 |
+
|
143 |
+
}
|
144 |
+
|
145 |
+
?>
|
146 |
+
|
147 |
+
<div class="dslca-plugin-opts-list">
|
148 |
+
<?php foreach ( $sidebars_array as $sidebar ) : ?>
|
149 |
+
<div class="dslca-plugin-opts-list-item">
|
150 |
+
<span class="dslca-plugin-opts-list-title" contenteditable><?php echo $sidebar; ?></span>
|
151 |
+
<a href="#" class="dslca-plugin-opts-list-delete-hook"><?php _e( 'delete', 'live-composer-page-builder' ); ?></a>
|
152 |
+
</div>
|
153 |
+
<?php endforeach; ?>
|
154 |
+
</div><!-- .dslca-plugin-opts-list -->
|
155 |
+
|
156 |
+
<a href="#" class="dslca-plugin-opts-list-add-hook"><?php _e( 'Add New', 'live-composer-page-builder' ); ?></a>
|
157 |
+
|
158 |
+
<div class="dslca-plugin-opts-list-error">
|
159 |
+
<?php _e( 'Items with duplicated titles found. Titles must be unique.', 'live-composer-page-builder' ); ?>
|
160 |
+
</div>
|
161 |
+
|
162 |
+
</div>
|
163 |
+
|
164 |
+
<?php
|
165 |
+
if ( isset( $dslc_plugin_options[$section_ID]['options'][$option_ID]['descr'] ) ) :
|
166 |
+
?><p class="description"><?php echo $dslc_plugin_options[$section_ID]['options'][$option_ID]['descr']; ?></p><?php
|
167 |
+
endif;
|
168 |
+
|
169 |
+
}
|
170 |
+
|
171 |
+
function dslc_plugin_option_display_styling_presets( $option_ID, $section_ID ) {
|
172 |
+
|
173 |
+
global $dslc_plugin_options;
|
174 |
+
|
175 |
+
$presets = maybe_unserialize( get_option( 'dslc_presets' ) );
|
176 |
+
|
177 |
+
?>
|
178 |
+
|
179 |
+
<div class="dslca-plugin-opts-list-wrap">
|
180 |
+
|
181 |
+
<?php /*
|
182 |
+
<input type="hidden" class="dslca-plugin-opts-list-code" id='<?php echo $option_ID; ?>' name='<?php echo $section_ID; ?>[<?php echo $option_ID; ?>]' value='<?php echo esc_attr( $value ); ?>' />
|
183 |
+
*/ ?>
|
184 |
+
|
185 |
+
<div class="dslca-plugin-opts-list">
|
186 |
+
<?php foreach ( $presets as $preset ) : ?>
|
187 |
+
<div class="dslca-plugin-opts-list-item">
|
188 |
+
<span class="dslca-plugin-opts-list-title" contenteditable><?php echo $preset['title']; ?></span>
|
189 |
+
<a href="#" class="dslca-plugin-opts-list-delete-hook"><?php _e( 'delete', 'live-composer-page-builder' ); ?></a>
|
190 |
+
</div>
|
191 |
+
<?php endforeach; ?>
|
192 |
+
</div><!-- .dslca-plugin-opts-list -->
|
193 |
+
|
194 |
+
</div>
|
195 |
+
|
196 |
+
<?php
|
197 |
+
if ( isset( $dslc_plugin_options[$section_ID]['options'][$option_ID]['descr'] ) ) :
|
198 |
+
?><p class="description"><?php echo $dslc_plugin_options[$section_ID]['options'][$option_ID]['descr']; ?></p><?php
|
199 |
+
endif;
|
200 |
+
|
201 |
}
|
includes/plugin-options-framework/inc/functions.php
CHANGED
@@ -1,45 +1,45 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
/**
|
4 |
-
* Retrieve value of all options
|
5 |
-
*/
|
6 |
-
|
7 |
-
function dslc_get_options( $section_ID = false ) {
|
8 |
-
|
9 |
-
global $dslc_plugin_options;
|
10 |
-
|
11 |
-
/* Options from specific section */
|
12 |
-
if ( $section_ID ) {
|
13 |
-
|
14 |
-
$options = get_option( $section_ID );
|
15 |
-
return $options;
|
16 |
-
|
17 |
-
/* Options from all sections */
|
18 |
-
} else {
|
19 |
-
|
20 |
-
return 'Section ID not supplied';
|
21 |
-
|
22 |
-
}
|
23 |
-
|
24 |
-
}
|
25 |
-
|
26 |
-
/**
|
27 |
-
* Retrieve value of a single option
|
28 |
-
*/
|
29 |
-
|
30 |
-
function dslc_get_option( $option_ID, $section_ID ) {
|
31 |
-
|
32 |
-
global $dslc_plugin_options;
|
33 |
-
|
34 |
-
$options = get_option( $section_ID );
|
35 |
-
|
36 |
-
if ( isset( $options[ $option_ID ] ) )
|
37 |
-
$value = $options[$option_ID];
|
38 |
-
elseif ( isset ( $dslc_plugin_options[$section_ID]['options'][$option_ID] ) )
|
39 |
-
$value = $dslc_plugin_options[$section_ID]['options'][$option_ID]['std'];
|
40 |
-
else
|
41 |
-
$value = '';
|
42 |
-
|
43 |
-
return $value;
|
44 |
-
|
45 |
}
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* Retrieve value of all options
|
5 |
+
*/
|
6 |
+
|
7 |
+
function dslc_get_options( $section_ID = false ) {
|
8 |
+
|
9 |
+
global $dslc_plugin_options;
|
10 |
+
|
11 |
+
/* Options from specific section */
|
12 |
+
if ( $section_ID ) {
|
13 |
+
|
14 |
+
$options = get_option( $section_ID );
|
15 |
+
return $options;
|
16 |
+
|
17 |
+
/* Options from all sections */
|
18 |
+
} else {
|
19 |
+
|
20 |
+
return 'Section ID not supplied';
|
21 |
+
|
22 |
+
}
|
23 |
+
|
24 |
+
}
|
25 |
+
|
26 |
+
/**
|
27 |
+
* Retrieve value of a single option
|
28 |
+
*/
|
29 |
+
|
30 |
+
function dslc_get_option( $option_ID, $section_ID ) {
|
31 |
+
|
32 |
+
global $dslc_plugin_options;
|
33 |
+
|
34 |
+
$options = get_option( $section_ID );
|
35 |
+
|
36 |
+
if ( isset( $options[ $option_ID ] ) )
|
37 |
+
$value = $options[$option_ID];
|
38 |
+
elseif ( isset ( $dslc_plugin_options[$section_ID]['options'][$option_ID] ) )
|
39 |
+
$value = $dslc_plugin_options[$section_ID]['options'][$option_ID]['std'];
|
40 |
+
else
|
41 |
+
$value = '';
|
42 |
+
|
43 |
+
return $value;
|
44 |
+
|
45 |
}
|
includes/plugin-options-framework/inc/init.php
CHANGED
@@ -1,170 +1,224 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
/**
|
4 |
-
* Register all the option pages
|
5 |
-
*/
|
6 |
-
|
7 |
-
function dslc_plugin_options_setup() {
|
8 |
-
|
9 |
-
global $dslc_plugin_options;
|
10 |
-
do_action( 'dslc_hook_register_options' );
|
11 |
-
|
12 |
-
add_menu_page(
|
13 |
-
'Live Composer',
|
14 |
-
'Live Composer',
|
15 |
-
'manage_options',
|
16 |
-
'dslc_plugin_options',
|
17 |
-
'dslc_plugin_options_display'
|
18 |
-
);
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
add_submenu_page(
|
36 |
-
'dslc_plugin_options',
|
37 |
-
$section['title'],
|
38 |
-
$section['title'],
|
39 |
-
'manage_options',
|
40 |
-
$section_ID,
|
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 |
-
|
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 |
}
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* Register all the option pages
|
5 |
+
*/
|
6 |
+
|
7 |
+
function dslc_plugin_options_setup() {
|
8 |
+
|
9 |
+
global $dslc_plugin_options;
|
10 |
+
do_action( 'dslc_hook_register_options' );
|
11 |
+
|
12 |
+
add_menu_page(
|
13 |
+
__('Live Composer', 'dslc_string' ),
|
14 |
+
__('Live Composer', 'dslc_string' ),
|
15 |
+
'manage_options',
|
16 |
+
'dslc_plugin_options',
|
17 |
+
'dslc_plugin_options_display'
|
18 |
+
);
|
19 |
+
|
20 |
+
add_submenu_page(
|
21 |
+
'dslc_plugin_options',
|
22 |
+
__('Getting Started', 'dslc_string' ),
|
23 |
+
__('Getting Started', 'dslc_string' ),
|
24 |
+
'manage_options',
|
25 |
+
'dslc_getting_started',
|
26 |
+
create_function( null, 'dslc_plugin_options_display( "dslc_getting_started" );' )
|
27 |
+
);
|
28 |
+
|
29 |
+
remove_submenu_page('dslc_plugin_options','dslc_plugin_options'); // delete duplicate
|
30 |
+
|
31 |
+
foreach ( $dslc_plugin_options as $section_ID => $section ) {
|
32 |
+
|
33 |
+
if ( $section_ID == 'dslc_plugin_options' ) {
|
34 |
+
|
35 |
+
add_submenu_page(
|
36 |
+
'dslc_plugin_options',
|
37 |
+
$section['title'],
|
38 |
+
$section['title'],
|
39 |
+
'manage_options',
|
40 |
+
$section_ID,
|
41 |
+
'dslc_plugin_options_display'
|
42 |
+
);
|
43 |
+
|
44 |
+
} else {
|
45 |
+
|
46 |
+
add_submenu_page(
|
47 |
+
'dslc_plugin_options',
|
48 |
+
$section['title'],
|
49 |
+
$section['title'],
|
50 |
+
'manage_options',
|
51 |
+
$section_ID,
|
52 |
+
create_function( null, 'dslc_plugin_options_display( "' . $section_ID . '" );' )
|
53 |
+
);
|
54 |
+
|
55 |
+
}
|
56 |
+
|
57 |
+
}
|
58 |
+
|
59 |
+
} add_action( 'admin_menu', 'dslc_plugin_options_setup' );
|
60 |
+
|
61 |
+
/**
|
62 |
+
* Display option pages
|
63 |
+
*/
|
64 |
+
|
65 |
+
function dslc_plugin_options_display( $tab = '' ) {
|
66 |
+
|
67 |
+
global $dslc_plugin_options;
|
68 |
+
|
69 |
+
if ( $tab == '' ) {
|
70 |
+
$tab = 'dslc_plugin_options';
|
71 |
+
}
|
72 |
+
|
73 |
+
?>
|
74 |
+
<div class="wrap">
|
75 |
+
|
76 |
+
<div id="icon-themes" class="icon32"></div>
|
77 |
+
<h2>Live Composer</h2>
|
78 |
+
<?php settings_errors(); ?>
|
79 |
+
|
80 |
+
<h2 class="nav-tab-wrapper">
|
81 |
+
<a href="?page=dslc_getting_started" class="nav-tab <?php echo $tab == 'dslc_getting_started' ? 'nav-tab-active' : ''; ?>">Getting Started</a>
|
82 |
+
<?php foreach ( $dslc_plugin_options as $section_ID => $section ) : ?>
|
83 |
+
<a href="?page=<?php echo $section_ID; ?>" class="nav-tab <?php echo $tab == $section_ID ? 'nav-tab-active' : ''; ?>"><?php echo $section['title']; ?></a>
|
84 |
+
<?php endforeach; ?>
|
85 |
+
</h2>
|
86 |
+
|
87 |
+
<?php if ( $tab == 'dslc_getting_started' ) { ?>
|
88 |
+
<?php
|
89 |
+
|
90 |
+
include DS_LIVE_COMPOSER_ABS . '/includes/plugin-options-framework/getting-started.php';
|
91 |
+
|
92 |
+
?>
|
93 |
+
<?php } else { ?>
|
94 |
+
|
95 |
+
<form method="post" action="options.php">
|
96 |
+
|
97 |
+
<?php if ( $tab == 'dslc_plugin_options_cpt_slugs' ) : ?>
|
98 |
+
|
99 |
+
<div class="dslca-plugin-opts-notification">
|
100 |
+
<?php _e( '<strong>Important:</strong> After changing slugs you need to visit the <strong>Settings → Permalinks</strong> page. Otherwise you will get 404 errors.', 'live-composer-page-builder' ); ?>
|
101 |
+
</div>
|
102 |
+
|
103 |
+
<?php elseif ( $tab == 'dslc_plugin_options_widgets_m' ) : ?>
|
104 |
+
|
105 |
+
<div class="dslca-plugin-opts-notification">
|
106 |
+
<?php _e( 'Sidebars created here will be available in <strong>WP Admin > Appearance > Widgets</strong> and in the <strong>Widgets</strong> module.', 'live-composer-page-builder' ); ?>
|
107 |
+
</div>
|
108 |
+
|
109 |
+
<?php elseif ( $tab == 'dslc_plugin_options_navigation_m' ) : ?>
|
110 |
+
|
111 |
+
<div class="dslca-plugin-opts-notification">
|
112 |
+
<?php _e( 'Menus locations created here will be available in <strong>WP Admin > Appearance > Menus</strong> and in the <strong>Navigation</strong> module.', 'live-composer-page-builder' ); ?>
|
113 |
+
</div>
|
114 |
+
|
115 |
+
<?php endif; ?>
|
116 |
+
|
117 |
+
<?php
|
118 |
+
settings_fields( $tab );
|
119 |
+
|
120 |
+
if ( $tab == '' )
|
121 |
+
do_settings_sections( 'dslc_plugin_options' );
|
122 |
+
else
|
123 |
+
do_settings_sections( $tab );
|
124 |
+
|
125 |
+
submit_button();
|
126 |
+
?>
|
127 |
+
|
128 |
+
</form>
|
129 |
+
|
130 |
+
<?php } ?>
|
131 |
+
|
132 |
+
</div><!-- /.wrap -->
|
133 |
+
<?php
|
134 |
+
|
135 |
+
}
|
136 |
+
|
137 |
+
/**
|
138 |
+
* Register options
|
139 |
+
*/
|
140 |
+
|
141 |
+
function dslc_plugin_options_init() {
|
142 |
+
|
143 |
+
global $dslc_plugin_options;
|
144 |
+
|
145 |
+
/**
|
146 |
+
* Add Sections
|
147 |
+
*/
|
148 |
+
|
149 |
+
foreach ( $dslc_plugin_options as $section_ID => $section ) {
|
150 |
+
|
151 |
+
add_settings_section(
|
152 |
+
$section_ID,
|
153 |
+
$section['title'],
|
154 |
+
'dslc_plugin_options_display_options',
|
155 |
+
$section_ID
|
156 |
+
);
|
157 |
+
|
158 |
+
register_setting(
|
159 |
+
$section_ID,
|
160 |
+
$section_ID
|
161 |
+
);
|
162 |
+
|
163 |
+
}
|
164 |
+
|
165 |
+
/**
|
166 |
+
* Add Fields
|
167 |
+
*/
|
168 |
+
|
169 |
+
foreach ( $dslc_plugin_options as $section_ID => $section ) {
|
170 |
+
|
171 |
+
foreach ( $section['options'] as $option_ID => $option ) {
|
172 |
+
|
173 |
+
add_settings_field(
|
174 |
+
$option_ID,
|
175 |
+
$option['label'],
|
176 |
+
create_function( null, 'dslc_plugin_option_display_' . $option['type'] . '( "' . $option_ID . '", "' . $section_ID . '" );' ),
|
177 |
+
$section_ID,
|
178 |
+
$section_ID
|
179 |
+
);
|
180 |
+
|
181 |
+
}
|
182 |
+
|
183 |
+
}
|
184 |
+
|
185 |
+
|
186 |
+
} add_action( 'admin_init', 'dslc_plugin_options_init' );
|
187 |
+
|
188 |
+
function dslc_plugin_options_display_options( $section ) {
|
189 |
+
|
190 |
+
|
191 |
+
|
192 |
+
}
|
193 |
+
|
194 |
+
/*
|
195 |
+
* Active Campaign
|
196 |
+
*/
|
197 |
+
|
198 |
+
add_action( 'wp_ajax_dslc_activecampaign', 'dslc_ajax_check_activecampaign' );
|
199 |
+
function dslc_ajax_check_activecampaign(){
|
200 |
+
|
201 |
+
// Check Nonce
|
202 |
+
if ( !wp_verify_nonce( $_POST['security']['nonce'], 'dlscajax' ) ) {
|
203 |
+
wp_die('NO');
|
204 |
+
}
|
205 |
+
|
206 |
+
// Access permissions
|
207 |
+
if ( !current_user_can( 'install_plugins' ) ) {
|
208 |
+
wp_die('You do not have rights!');
|
209 |
+
}
|
210 |
+
|
211 |
+
$email = sanitize_email( $_POST["email"] );
|
212 |
+
$name = sanitize_text_field( $_POST["name"] );
|
213 |
+
|
214 |
+
$dslc_getting_started = array(
|
215 |
+
'email' => $email,
|
216 |
+
'name' => $name,
|
217 |
+
'subscribed' => '1'
|
218 |
+
);
|
219 |
+
|
220 |
+
add_option( 'dslc_user', $dslc_getting_started );
|
221 |
+
|
222 |
+
wp_die();
|
223 |
+
|
224 |
}
|
includes/plugin-options-framework/inc/options.php
CHANGED
@@ -1,309 +1,309 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
global $content_width;
|
6 |
-
|
7 |
-
$dslc_plugin_options['dslc_plugin_options'] = array(
|
8 |
-
'title' => __( 'General Options', 'live-composer-page-builder' ),
|
9 |
-
'options' => array(
|
10 |
-
'lc_max_width' => array(
|
11 |
-
'label' => __( 'Max Width', 'live-composer-page-builder' ),
|
12 |
-
'std' => '',
|
13 |
-
'type' => 'text',
|
14 |
-
'descr' => __( 'The width of the modules section when row is set to wrapped. If not set the $content_width variable from theme will be used.', 'live-composer-page-builder' ),
|
15 |
-
),
|
16 |
-
'lc_force_important_css' => array(
|
17 |
-
'label' => __( 'Force !important CSS', 'live-composer-page-builder' ),
|
18 |
-
'std' => 'disabled',
|
19 |
-
'type' => 'select',
|
20 |
-
'descr' => __( 'In case the CSS from the theme is influencing CSS for the modules, enabling this will in most cases fix that.', 'live-composer-page-builder' ),
|
21 |
-
'choices' => array(
|
22 |
-
array(
|
23 |
-
'label' => __( 'Enabled', 'live-composer-page-builder' ),
|
24 |
-
'value' => 'enabled'
|
25 |
-
),
|
26 |
-
array(
|
27 |
-
'label' => __( 'Disabled', 'live-composer-page-builder' ),
|
28 |
-
'value' => 'disabled'
|
29 |
-
)
|
30 |
-
)
|
31 |
-
),
|
32 |
-
'lc_css_position' => array(
|
33 |
-
'label' => __( 'Dynamic CSS Location', 'live-composer-page-builder' ),
|
34 |
-
'std' => 'head',
|
35 |
-
'type' => 'select',
|
36 |
-
'descr' => __( 'Choose where the dynamic CSS is located, at the end of <head> or at the end of the <body>.', 'live-composer-page-builder' ),
|
37 |
-
'choices' => array(
|
38 |
-
array(
|
39 |
-
'label' => __( 'End of <head>', 'live-composer-page-builder' ),
|
40 |
-
'value' => 'head'
|
41 |
-
),
|
42 |
-
array(
|
43 |
-
'label' => __( 'End of <body>', 'live-composer-page-builder' ),
|
44 |
-
'value' => 'body'
|
45 |
-
)
|
46 |
-
)
|
47 |
-
)
|
48 |
-
)
|
49 |
-
);
|
50 |
-
|
51 |
-
$dslc_plugin_options['dslc_plugin_options_widgets_m'] = array(
|
52 |
-
'title' => __( 'Widgets Module', 'live-composer-page-builder' ),
|
53 |
-
'options' => array(
|
54 |
-
|
55 |
-
'sidebars' => array (
|
56 |
-
'label' => __( 'Sidebars', 'live-composer-page-builder' ),
|
57 |
-
'std' => '',
|
58 |
-
'type' => 'list'
|
59 |
-
),
|
60 |
-
)
|
61 |
-
);
|
62 |
-
|
63 |
-
$dslc_plugin_options['dslc_plugin_options_cpt_slugs'] = array(
|
64 |
-
|
65 |
-
'title' => __( 'Slugs', 'live-composer-page-builder' ),
|
66 |
-
'options' => array(
|
67 |
-
|
68 |
-
'with_front' => array(
|
69 |
-
'label' => __( 'With Front', 'live-composer-page-builder' ),
|
70 |
-
'descr' => __( 'Prepend the permalink structure with the front base. ( example: if your permalink structure is /blog/, then your links will be: disabled -> /project-view/, enabled -> /blog/project-view/ ).', 'live-composer-page-builder' ),
|
71 |
-
'std' => 'enabled',
|
72 |
-
'type' => 'select',
|
73 |
-
'choices' => array(
|
74 |
-
array(
|
75 |
-
'label' => 'Enabled',
|
76 |
-
'value' => 'enabled',
|
77 |
-
),
|
78 |
-
array(
|
79 |
-
'label' => 'Disabled',
|
80 |
-
'value' => 'disabled',
|
81 |
-
)
|
82 |
-
)
|
83 |
-
),
|
84 |
-
|
85 |
-
'projects_slug' => array(
|
86 |
-
'label' => __( '<strong>Project</strong> Slug', 'live-composer-page-builder' ),
|
87 |
-
'std' => 'project-view',
|
88 |
-
'type' => 'text'
|
89 |
-
),
|
90 |
-
'projects_cats_slug' => array(
|
91 |
-
'label' => __( '<strong>Projects</strong> Category Slug', 'live-composer-page-builder' ),
|
92 |
-
'std' => 'dslc_projects_cats',
|
93 |
-
'type' => 'text'
|
94 |
-
),
|
95 |
-
|
96 |
-
'galleries_slug' => array(
|
97 |
-
'label' => __( '<strong>Gallery</strong> Slug', 'live-composer-page-builder' ),
|
98 |
-
'std' => 'gallery-view',
|
99 |
-
'type' => 'text'
|
100 |
-
),
|
101 |
-
'galleries_cats_slug' => array(
|
102 |
-
'label' => __( '<strong>Galleries</strong> Category Slug', 'live-composer-page-builder' ),
|
103 |
-
'std' => 'dslc_galleries_cats',
|
104 |
-
'type' => 'text'
|
105 |
-
),
|
106 |
-
|
107 |
-
'downloads_slug' => array(
|
108 |
-
'label' => __( '<strong>Download</strong> Slug', 'live-composer-page-builder' ),
|
109 |
-
'std' => 'download-view',
|
110 |
-
'type' => 'text'
|
111 |
-
),
|
112 |
-
'downloads_cats_slug' => array(
|
113 |
-
'label' => __( '<strong>Downloads</strong> Categories Slug', 'live-composer-page-builder' ),
|
114 |
-
'std' => 'dslc_downloads_cat',
|
115 |
-
'type' => 'text'
|
116 |
-
),
|
117 |
-
'downloads_tags_slug' => array(
|
118 |
-
'label' => __( '<strong>Downloads</strong> Tags Slug', 'live-composer-page-builder' ),
|
119 |
-
'std' => 'dslc_downloads_tag',
|
120 |
-
'type' => 'text'
|
121 |
-
),
|
122 |
-
|
123 |
-
'staff_slug' => array(
|
124 |
-
'label' => __( '<strong>Staff</strong> Slug', 'live-composer-page-builder' ),
|
125 |
-
'std' => 'staff-view',
|
126 |
-
'type' => 'text'
|
127 |
-
),
|
128 |
-
'staff_cats_slug' => array(
|
129 |
-
'label' => __( '<strong>Staff</strong> Categories Slug', 'live-composer-page-builder' ),
|
130 |
-
'std' => 'dslc_staff_cats',
|
131 |
-
'type' => 'text'
|
132 |
-
),
|
133 |
-
|
134 |
-
'partners_slug' => array(
|
135 |
-
'label' => __( '<strong>Partner</strong> Slug', 'live-composer-page-builder' ),
|
136 |
-
'std' => 'partner-view',
|
137 |
-
'type' => 'text'
|
138 |
-
),
|
139 |
-
'partners_cats_slug' => array(
|
140 |
-
'label' => __( '<strong>Partners</strong> Categories Slug', 'live-composer-page-builder' ),
|
141 |
-
'std' => 'dslc_partners_cats',
|
142 |
-
'type' => 'text'
|
143 |
-
),
|
144 |
-
|
145 |
-
'testimonials_slug' => array(
|
146 |
-
'label' => __( '<strong>Testimonials</strong> Slug', 'live-composer-page-builder' ),
|
147 |
-
'std' => 'testimonial-view',
|
148 |
-
'type' => 'text'
|
149 |
-
),
|
150 |
-
'testimonials_cats_slug' => array(
|
151 |
-
'label' => __( '<strong>Testimonials</strong> Categories Slug', 'live-composer-page-builder' ),
|
152 |
-
'std' => 'dslc_testimonials_cats',
|
153 |
-
'type' => 'text'
|
154 |
-
),
|
155 |
-
|
156 |
-
|
157 |
-
)
|
158 |
-
|
159 |
-
);
|
160 |
-
|
161 |
-
/**
|
162 |
-
* Feature Control
|
163 |
-
*/
|
164 |
-
|
165 |
-
function dslc_feature_control_settings() {
|
166 |
-
|
167 |
-
global $dslc_var_modules;
|
168 |
-
global $dslc_plugin_options;
|
169 |
-
|
170 |
-
$module_opts_array = array();
|
171 |
-
|
172 |
-
foreach ( $dslc_var_modules as $module ) {
|
173 |
-
|
174 |
-
$module_opts_array[ $module['id'] ] = array(
|
175 |
-
'label' => '"' . $module['title'] . '" <small>module</small>',
|
176 |
-
'std' => 'enabled',
|
177 |
-
'type' => 'select',
|
178 |
-
'choices' => array(
|
179 |
-
array(
|
180 |
-
'label' => __( '✔ Enabled', 'live-composer-page-builder' ),
|
181 |
-
'value' => 'enabled'
|
182 |
-
),
|
183 |
-
array(
|
184 |
-
'label' => __( '✖ Disabled', 'live-composer-page-builder' ),
|
185 |
-
'value' => 'disabled'
|
186 |
-
)
|
187 |
-
)
|
188 |
-
);
|
189 |
-
|
190 |
-
}
|
191 |
-
|
192 |
-
$dslc_plugin_options['dslc_plugin_options_features'] = array(
|
193 |
-
'title' => __( 'Features Control', 'live-composer-page-builder' ),
|
194 |
-
'options' => $module_opts_array
|
195 |
-
);
|
196 |
-
|
197 |
-
} add_action( 'dslc_hook_register_modules', 'dslc_feature_control_settings', 999 );
|
198 |
-
|
199 |
-
function dslc_feature_control_unregister() {
|
200 |
-
|
201 |
-
global $dslc_var_modules;
|
202 |
-
$features = dslc_get_options( 'dslc_plugin_options_features' );
|
203 |
-
|
204 |
-
foreach ( $dslc_var_modules as $module ) {
|
205 |
-
if ( isset( $features[ $module['id'] ] ) && $features[ $module['id'] ] == 'disabled' ) {
|
206 |
-
dslc_unregister_module( $module['id'] );
|
207 |
-
}
|
208 |
-
}
|
209 |
-
|
210 |
-
|
211 |
-
} add_action( 'dslc_hook_unregister_modules', 'dslc_feature_control_unregister', 999 );
|
212 |
-
|
213 |
-
/**
|
214 |
-
* Register Other Options
|
215 |
-
*
|
216 |
-
* @since 1.0
|
217 |
-
*/
|
218 |
-
|
219 |
-
function dslc_plugin_opts_other() {
|
220 |
-
|
221 |
-
global $dslc_plugin_options;
|
222 |
-
|
223 |
-
$dslc_plugin_options['dslc_plugin_options_other'] = array(
|
224 |
-
'title' => __( 'Other', 'live-composer-page-builder' ),
|
225 |
-
'options' => array(
|
226 |
-
'lc_editor_type' => array(
|
227 |
-
'label' => __( 'Text Editor Type', 'live-composer-page-builder' ),
|
228 |
-
'std' => 'both',
|
229 |
-
'type' => 'select',
|
230 |
-
'descr' => __( 'Choose if you want both the Visual and HTML mode for the editor or only Visual.', 'live-composer-page-builder' ),
|
231 |
-
'choices' => array(
|
232 |
-
array(
|
233 |
-
'label' => 'Visual and HTML',
|
234 |
-
'value' => 'both',
|
235 |
-
),
|
236 |
-
array(
|
237 |
-
'label' => 'Visual Only',
|
238 |
-
'value' => 'visual',
|
239 |
-
),
|
240 |
-
)
|
241 |
-
),
|
242 |
-
'lc_default_opts_section' => array(
|
243 |
-
'label' => __( 'Default Options Section', 'live-composer-page-builder' ),
|
244 |
-
'std' => 'functionality',
|
245 |
-
'type' => 'select',
|
246 |
-
'descr' => __( 'Choose which options section is active by default ( when you click to edit a module and the options show up ).', 'live-composer-page-builder' ),
|
247 |
-
'choices' => array(
|
248 |
-
array(
|
249 |
-
'label' => 'Functionality',
|
250 |
-
'value' => 'functionality',
|
251 |
-
),
|
252 |
-
array(
|
253 |
-
'label' => 'Styling',
|
254 |
-
'value' => 'styling',
|
255 |
-
),
|
256 |
-
)
|
257 |
-
),
|
258 |
-
'lc_numeric_opt_type' => array(
|
259 |
-
'label' => __( 'Numeric Option Type', 'live-composer-page-builder' ),
|
260 |
-
'std' => 'slider',
|
261 |
-
'type' => 'select',
|
262 |
-
'descr' => __( 'Choose the type of option used for numeric options.', 'live-composer-page-builder' ),
|
263 |
-
'choices' => array(
|
264 |
-
array(
|
265 |
-
'label' => 'Slider',
|
266 |
-
'value' => 'slider',
|
267 |
-
),
|
268 |
-
array(
|
269 |
-
'label' => 'Field',
|
270 |
-
'value' => 'field',
|
271 |
-
),
|
272 |
-
)
|
273 |
-
),
|
274 |
-
'lc_module_listing_order' => array(
|
275 |
-
'label' => __( 'Modules Listing Order', 'live-composer-page-builder' ),
|
276 |
-
'std' => 'original',
|
277 |
-
'type' => 'select',
|
278 |
-
'descr' => __( 'Choose how the modules should be ordered in the listing ( when in builder mode ).', 'live-composer-page-builder' ),
|
279 |
-
'choices' => array(
|
280 |
-
array(
|
281 |
-
'label' => 'Original',
|
282 |
-
'value' => 'original',
|
283 |
-
),
|
284 |
-
array(
|
285 |
-
'label' => 'Alphabetic',
|
286 |
-
'value' => 'alphabetic',
|
287 |
-
),
|
288 |
-
)
|
289 |
-
),
|
290 |
-
'lc_module_activate_button_pos' => array(
|
291 |
-
'label' => __( '"Activate Editor" Position', 'live-composer-page-builder' ),
|
292 |
-
'std' => 'right',
|
293 |
-
'type' => 'select',
|
294 |
-
'descr' => __( 'Choose the position of the "Activate Editor" button.', 'live-composer-page-builder' ),
|
295 |
-
'choices' => array(
|
296 |
-
array(
|
297 |
-
'label' => 'Left',
|
298 |
-
'value' => 'left',
|
299 |
-
),
|
300 |
-
array(
|
301 |
-
'label' => 'Right',
|
302 |
-
'value' => 'right',
|
303 |
-
),
|
304 |
-
)
|
305 |
-
),
|
306 |
-
)
|
307 |
-
);
|
308 |
-
|
309 |
} add_action( 'dslc_hook_register_options', 'dslc_plugin_opts_other', 50 );
|
1 |
+
<?php
|
2 |
+
|
3 |
+
|
4 |
+
|
5 |
+
global $content_width;
|
6 |
+
|
7 |
+
$dslc_plugin_options['dslc_plugin_options'] = array(
|
8 |
+
'title' => __( 'General Options', 'live-composer-page-builder' ),
|
9 |
+
'options' => array(
|
10 |
+
'lc_max_width' => array(
|
11 |
+
'label' => __( 'Max Width', 'live-composer-page-builder' ),
|
12 |
+
'std' => '',
|
13 |
+
'type' => 'text',
|
14 |
+
'descr' => __( 'The width of the modules section when row is set to wrapped. If not set the $content_width variable from theme will be used.', 'live-composer-page-builder' ),
|
15 |
+
),
|
16 |
+
'lc_force_important_css' => array(
|
17 |
+
'label' => __( 'Force !important CSS', 'live-composer-page-builder' ),
|
18 |
+
'std' => 'disabled',
|
19 |
+
'type' => 'select',
|
20 |
+
'descr' => __( 'In case the CSS from the theme is influencing CSS for the modules, enabling this will in most cases fix that.', 'live-composer-page-builder' ),
|
21 |
+
'choices' => array(
|
22 |
+
array(
|
23 |
+
'label' => __( 'Enabled', 'live-composer-page-builder' ),
|
24 |
+
'value' => 'enabled'
|
25 |
+
),
|
26 |
+
array(
|
27 |
+
'label' => __( 'Disabled', 'live-composer-page-builder' ),
|
28 |
+
'value' => 'disabled'
|
29 |
+
)
|
30 |
+
)
|
31 |
+
),
|
32 |
+
'lc_css_position' => array(
|
33 |
+
'label' => __( 'Dynamic CSS Location', 'live-composer-page-builder' ),
|
34 |
+
'std' => 'head',
|
35 |
+
'type' => 'select',
|
36 |
+
'descr' => __( 'Choose where the dynamic CSS is located, at the end of <head> or at the end of the <body>.', 'live-composer-page-builder' ),
|
37 |
+
'choices' => array(
|
38 |
+
array(
|
39 |
+
'label' => __( 'End of <head>', 'live-composer-page-builder' ),
|
40 |
+
'value' => 'head'
|
41 |
+
),
|
42 |
+
array(
|
43 |
+
'label' => __( 'End of <body>', 'live-composer-page-builder' ),
|
44 |
+
'value' => 'body'
|
45 |
+
)
|
46 |
+
)
|
47 |
+
)
|
48 |
+
)
|
49 |
+
);
|
50 |
+
|
51 |
+
$dslc_plugin_options['dslc_plugin_options_widgets_m'] = array(
|
52 |
+
'title' => __( 'Widgets Module', 'live-composer-page-builder' ),
|
53 |
+
'options' => array(
|
54 |
+
|
55 |
+
'sidebars' => array (
|
56 |
+
'label' => __( 'Sidebars', 'live-composer-page-builder' ),
|
57 |
+
'std' => '',
|
58 |
+
'type' => 'list'
|
59 |
+
),
|
60 |
+
)
|
61 |
+
);
|
62 |
+
|
63 |
+
$dslc_plugin_options['dslc_plugin_options_cpt_slugs'] = array(
|
64 |
+
|
65 |
+
'title' => __( 'Slugs', 'live-composer-page-builder' ),
|
66 |
+
'options' => array(
|
67 |
+
|
68 |
+
'with_front' => array(
|
69 |
+
'label' => __( 'With Front', 'live-composer-page-builder' ),
|
70 |
+
'descr' => __( 'Prepend the permalink structure with the front base. ( example: if your permalink structure is /blog/, then your links will be: disabled -> /project-view/, enabled -> /blog/project-view/ ).', 'live-composer-page-builder' ),
|
71 |
+
'std' => 'enabled',
|
72 |
+
'type' => 'select',
|
73 |
+
'choices' => array(
|
74 |
+
array(
|
75 |
+
'label' => 'Enabled',
|
76 |
+
'value' => 'enabled',
|
77 |
+
),
|
78 |
+
array(
|
79 |
+
'label' => 'Disabled',
|
80 |
+
'value' => 'disabled',
|
81 |
+
)
|
82 |
+
)
|
83 |
+
),
|
84 |
+
|
85 |
+
'projects_slug' => array(
|
86 |
+
'label' => __( '<strong>Project</strong> Slug', 'live-composer-page-builder' ),
|
87 |
+
'std' => 'project-view',
|
88 |
+
'type' => 'text'
|
89 |
+
),
|
90 |
+
'projects_cats_slug' => array(
|
91 |
+
'label' => __( '<strong>Projects</strong> Category Slug', 'live-composer-page-builder' ),
|
92 |
+
'std' => 'dslc_projects_cats',
|
93 |
+
'type' => 'text'
|
94 |
+
),
|
95 |
+
|
96 |
+
'galleries_slug' => array(
|
97 |
+
'label' => __( '<strong>Gallery</strong> Slug', 'live-composer-page-builder' ),
|
98 |
+
'std' => 'gallery-view',
|
99 |
+
'type' => 'text'
|
100 |
+
),
|
101 |
+
'galleries_cats_slug' => array(
|
102 |
+
'label' => __( '<strong>Galleries</strong> Category Slug', 'live-composer-page-builder' ),
|
103 |
+
'std' => 'dslc_galleries_cats',
|
104 |
+
'type' => 'text'
|
105 |
+
),
|
106 |
+
|
107 |
+
'downloads_slug' => array(
|
108 |
+
'label' => __( '<strong>Download</strong> Slug', 'live-composer-page-builder' ),
|
109 |
+
'std' => 'download-view',
|
110 |
+
'type' => 'text'
|
111 |
+
),
|
112 |
+
'downloads_cats_slug' => array(
|
113 |
+
'label' => __( '<strong>Downloads</strong> Categories Slug', 'live-composer-page-builder' ),
|
114 |
+
'std' => 'dslc_downloads_cat',
|
115 |
+
'type' => 'text'
|
116 |
+
),
|
117 |
+
'downloads_tags_slug' => array(
|
118 |
+
'label' => __( '<strong>Downloads</strong> Tags Slug', 'live-composer-page-builder' ),
|
119 |
+
'std' => 'dslc_downloads_tag',
|
120 |
+
'type' => 'text'
|
121 |
+
),
|
122 |
+
|
123 |
+
'staff_slug' => array(
|
124 |
+
'label' => __( '<strong>Staff</strong> Slug', 'live-composer-page-builder' ),
|
125 |
+
'std' => 'staff-view',
|
126 |
+
'type' => 'text'
|
127 |
+
),
|
128 |
+
'staff_cats_slug' => array(
|
129 |
+
'label' => __( '<strong>Staff</strong> Categories Slug', 'live-composer-page-builder' ),
|
130 |
+
'std' => 'dslc_staff_cats',
|
131 |
+
'type' => 'text'
|
132 |
+
),
|
133 |
+
|
134 |
+
'partners_slug' => array(
|
135 |
+
'label' => __( '<strong>Partner</strong> Slug', 'live-composer-page-builder' ),
|
136 |
+
'std' => 'partner-view',
|
137 |
+
'type' => 'text'
|
138 |
+
),
|
139 |
+
'partners_cats_slug' => array(
|
140 |
+
'label' => __( '<strong>Partners</strong> Categories Slug', 'live-composer-page-builder' ),
|
141 |
+
'std' => 'dslc_partners_cats',
|
142 |
+
'type' => 'text'
|
143 |
+
),
|
144 |
+
|
145 |
+
'testimonials_slug' => array(
|
146 |
+
'label' => __( '<strong>Testimonials</strong> Slug', 'live-composer-page-builder' ),
|
147 |
+
'std' => 'testimonial-view',
|
148 |
+
'type' => 'text'
|
149 |
+
),
|
150 |
+
'testimonials_cats_slug' => array(
|
151 |
+
'label' => __( '<strong>Testimonials</strong> Categories Slug', 'live-composer-page-builder' ),
|
152 |
+
'std' => 'dslc_testimonials_cats',
|
153 |
+
'type' => 'text'
|
154 |
+
),
|
155 |
+
|
156 |
+
|
157 |
+
)
|
158 |
+
|
159 |
+
);
|
160 |
+
|
161 |
+
/**
|
162 |
+
* Feature Control
|
163 |
+
*/
|
164 |
+
|
165 |
+
function dslc_feature_control_settings() {
|
166 |
+
|
167 |
+
global $dslc_var_modules;
|
168 |
+
global $dslc_plugin_options;
|
169 |
+
|
170 |
+
$module_opts_array = array();
|
171 |
+
|
172 |
+
foreach ( $dslc_var_modules as $module ) {
|
173 |
+
|
174 |
+
$module_opts_array[ $module['id'] ] = array(
|
175 |
+
'label' => '"' . $module['title'] . '" <small>module</small>',
|
176 |
+
'std' => 'enabled',
|
177 |
+
'type' => 'select',
|
178 |
+
'choices' => array(
|
179 |
+
array(
|
180 |
+
'label' => __( '✔ Enabled', 'live-composer-page-builder' ),
|
181 |
+
'value' => 'enabled'
|
182 |
+
),
|
183 |
+
array(
|
184 |
+
'label' => __( '✖ Disabled', 'live-composer-page-builder' ),
|
185 |
+
'value' => 'disabled'
|
186 |
+
)
|
187 |
+
)
|
188 |
+
);
|
189 |
+
|
190 |
+
}
|
191 |
+
|
192 |
+
$dslc_plugin_options['dslc_plugin_options_features'] = array(
|
193 |
+
'title' => __( 'Features Control', 'live-composer-page-builder' ),
|
194 |
+
'options' => $module_opts_array
|
195 |
+
);
|
196 |
+
|
197 |
+
} add_action( 'dslc_hook_register_modules', 'dslc_feature_control_settings', 999 );
|
198 |
+
|
199 |
+
function dslc_feature_control_unregister() {
|
200 |
+
|
201 |
+
global $dslc_var_modules;
|
202 |
+
$features = dslc_get_options( 'dslc_plugin_options_features' );
|
203 |
+
|
204 |
+
foreach ( $dslc_var_modules as $module ) {
|
205 |
+
if ( isset( $features[ $module['id'] ] ) && $features[ $module['id'] ] == 'disabled' ) {
|
206 |
+
dslc_unregister_module( $module['id'] );
|
207 |
+
}
|
208 |
+
}
|
209 |
+
|
210 |
+
|
211 |
+
} add_action( 'dslc_hook_unregister_modules', 'dslc_feature_control_unregister', 999 );
|
212 |
+
|
213 |
+
/**
|
214 |
+
* Register Other Options
|
215 |
+
*
|
216 |
+
* @since 1.0
|
217 |
+
*/
|
218 |
+
|
219 |
+
function dslc_plugin_opts_other() {
|
220 |
+
|
221 |
+
global $dslc_plugin_options;
|
222 |
+
|
223 |
+
$dslc_plugin_options['dslc_plugin_options_other'] = array(
|
224 |
+
'title' => __( 'Other', 'live-composer-page-builder' ),
|
225 |
+
'options' => array(
|
226 |
+
'lc_editor_type' => array(
|
227 |
+
'label' => __( 'Text Editor Type', 'live-composer-page-builder' ),
|
228 |
+
'std' => 'both',
|
229 |
+
'type' => 'select',
|
230 |
+
'descr' => __( 'Choose if you want both the Visual and HTML mode for the editor or only Visual.', 'live-composer-page-builder' ),
|
231 |
+
'choices' => array(
|
232 |
+
array(
|
233 |
+
'label' => 'Visual and HTML',
|
234 |
+
'value' => 'both',
|
235 |
+
),
|
236 |
+
array(
|
237 |
+
'label' => 'Visual Only',
|
238 |
+
'value' => 'visual',
|
239 |
+
),
|
240 |
+
)
|
241 |
+
),
|
242 |
+
'lc_default_opts_section' => array(
|
243 |
+
'label' => __( 'Default Options Section', 'live-composer-page-builder' ),
|
244 |
+
'std' => 'functionality',
|
245 |
+
'type' => 'select',
|
246 |
+
'descr' => __( 'Choose which options section is active by default ( when you click to edit a module and the options show up ).', 'live-composer-page-builder' ),
|
247 |
+
'choices' => array(
|
248 |
+
array(
|
249 |
+
'label' => 'Functionality',
|
250 |
+
'value' => 'functionality',
|
251 |
+
),
|
252 |
+
array(
|
253 |
+
'label' => 'Styling',
|
254 |
+
'value' => 'styling',
|
255 |
+
),
|
256 |
+
)
|
257 |
+
),
|
258 |
+
'lc_numeric_opt_type' => array(
|
259 |
+
'label' => __( 'Numeric Option Type', 'live-composer-page-builder' ),
|
260 |
+
'std' => 'slider',
|
261 |
+
'type' => 'select',
|
262 |
+
'descr' => __( 'Choose the type of option used for numeric options.', 'live-composer-page-builder' ),
|
263 |
+
'choices' => array(
|
264 |
+
array(
|
265 |
+
'label' => 'Slider',
|
266 |
+
'value' => 'slider',
|
267 |
+
),
|
268 |
+
array(
|
269 |
+
'label' => 'Field',
|
270 |
+
'value' => 'field',
|
271 |
+
),
|
272 |
+
)
|
273 |
+
),
|
274 |
+
'lc_module_listing_order' => array(
|
275 |
+
'label' => __( 'Modules Listing Order', 'live-composer-page-builder' ),
|
276 |
+
'std' => 'original',
|
277 |
+
'type' => 'select',
|
278 |
+
'descr' => __( 'Choose how the modules should be ordered in the listing ( when in builder mode ).', 'live-composer-page-builder' ),
|
279 |
+
'choices' => array(
|
280 |
+
array(
|
281 |
+
'label' => 'Original',
|
282 |
+
'value' => 'original',
|
283 |
+
),
|
284 |
+
array(
|
285 |
+
'label' => 'Alphabetic',
|
286 |
+
'value' => 'alphabetic',
|
287 |
+
),
|
288 |
+
)
|
289 |
+
),
|
290 |
+
'lc_module_activate_button_pos' => array(
|
291 |
+
'label' => __( '"Activate Editor" Position', 'live-composer-page-builder' ),
|
292 |
+
'std' => 'right',
|
293 |
+
'type' => 'select',
|
294 |
+
'descr' => __( 'Choose the position of the "Activate Editor" button.', 'live-composer-page-builder' ),
|
295 |
+
'choices' => array(
|
296 |
+
array(
|
297 |
+
'label' => 'Left',
|
298 |
+
'value' => 'left',
|
299 |
+
),
|
300 |
+
array(
|
301 |
+
'label' => 'Right',
|
302 |
+
'value' => 'right',
|
303 |
+
),
|
304 |
+
)
|
305 |
+
),
|
306 |
+
)
|
307 |
+
);
|
308 |
+
|
309 |
} add_action( 'dslc_hook_register_options', 'dslc_plugin_opts_other', 50 );
|
includes/plugin-options-framework/js/main.js
CHANGED
@@ -1,85 +1,291 @@
|
|
1 |
-
jQuery(document).ready(function(){
|
2 |
-
|
3 |
-
function dslc_plugin_opts_generate_list_code( dslcTarget ) {
|
4 |
-
|
5 |
-
// Vars
|
6 |
-
var dslcTitle,
|
7 |
-
dslcCodeInput = jQuery( '.dslca-plugin-opts-list-code', dslcTarget ),
|
8 |
-
dslcCode = '',
|
9 |
-
duplicateFound = false;
|
10 |
-
|
11 |
-
|
12 |
-
// Populate array with all the names in the list
|
13 |
-
var names = [];
|
14 |
-
jQuery( '.dslca-plugin-opts-list-item', dslcTarget ).each( function(){
|
15 |
-
if ( jQuery.inArray( jQuery(this).find('.dslca-plugin-opts-list-title').text(), names ) !== -1 ) {
|
16 |
-
duplicateFound = true;
|
17 |
-
} else {
|
18 |
-
names.push( jQuery(this).find('.dslca-plugin-opts-list-title').text() );
|
19 |
-
}
|
20 |
-
});
|
21 |
-
|
22 |
-
console.log( duplicateFound );
|
23 |
-
|
24 |
-
// If there are duplicates show the error message, otherwise hide
|
25 |
-
if ( duplicateFound ) {
|
26 |
-
jQuery('.dslca-plugin-opts-list-error').show();
|
27 |
-
} else {
|
28 |
-
jQuery('.dslca-plugin-opts-list-error').hide();
|
29 |
-
}
|
30 |
-
|
31 |
-
// Go through each
|
32 |
-
jQuery( '.dslca-plugin-opts-list-item', dslcTarget ).each( function(){
|
33 |
-
|
34 |
-
dslcTitle = jQuery(this).find('.dslca-plugin-opts-list-title').text();
|
35 |
-
dslcCode += dslcTitle + ','
|
36 |
-
|
37 |
-
});
|
38 |
-
|
39 |
-
dslcCodeInput.val( dslcCode );
|
40 |
-
|
41 |
-
}
|
42 |
-
|
43 |
-
jQuery('.dslca-plugin-opts-list-add-hook').click( function(e){
|
44 |
-
|
45 |
-
e.preventDefault();
|
46 |
-
|
47 |
-
var dslcWrapper = jQuery(this).closest('.dslca-plugin-opts-list-wrap');
|
48 |
-
var dslcTarget = dslcWrapper.find('.dslca-plugin-opts-list');
|
49 |
-
|
50 |
-
jQuery('<div class="dslca-plugin-opts-list-item"><span class="dslca-plugin-opts-list-title" contenteditable>Click to edit</span><a href="#" class="dslca-plugin-opts-list-delete-hook">delete</a></div>').appendTo( dslcTarget );
|
51 |
-
|
52 |
-
dslc_plugin_opts_generate_list_code( dslcWrapper );
|
53 |
-
|
54 |
-
});
|
55 |
-
|
56 |
-
jQuery(document).on( 'click', '.dslca-plugin-opts-list-delete-hook', function(e){
|
57 |
-
|
58 |
-
e.preventDefault();
|
59 |
-
|
60 |
-
var dslcWrapper = jQuery(this).closest('.dslca-plugin-opts-list-wrap');
|
61 |
-
var dslcTarget = jQuery(this).closest('.dslca-plugin-opts-list-item');
|
62 |
-
|
63 |
-
dslcTarget.remove();
|
64 |
-
|
65 |
-
dslc_plugin_opts_generate_list_code( dslcWrapper );
|
66 |
-
|
67 |
-
});
|
68 |
-
|
69 |
-
jQuery(document).on( 'blur', '.dslca-plugin-opts-list-title', function() {
|
70 |
-
|
71 |
-
var dslcWrapper = jQuery(this).closest('.dslca-plugin-opts-list-wrap');
|
72 |
-
dslc_plugin_opts_generate_list_code( dslcWrapper );
|
73 |
-
|
74 |
-
});
|
75 |
-
|
76 |
-
jQuery(document).on( 'keypress', '.dslca-plugin-opts-list-title', function(e) {
|
77 |
-
|
78 |
-
if(e.keyCode==13){
|
79 |
-
jQuery(this).trigger('blur');
|
80 |
-
e.preventDefault();
|
81 |
-
}
|
82 |
-
|
83 |
-
});
|
84 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
85 |
});
|
1 |
+
jQuery(document).ready(function(){
|
2 |
+
|
3 |
+
function dslc_plugin_opts_generate_list_code( dslcTarget ) {
|
4 |
+
|
5 |
+
// Vars
|
6 |
+
var dslcTitle,
|
7 |
+
dslcCodeInput = jQuery( '.dslca-plugin-opts-list-code', dslcTarget ),
|
8 |
+
dslcCode = '',
|
9 |
+
duplicateFound = false;
|
10 |
+
|
11 |
+
|
12 |
+
// Populate array with all the names in the list
|
13 |
+
var names = [];
|
14 |
+
jQuery( '.dslca-plugin-opts-list-item', dslcTarget ).each( function(){
|
15 |
+
if ( jQuery.inArray( jQuery(this).find('.dslca-plugin-opts-list-title').text(), names ) !== -1 ) {
|
16 |
+
duplicateFound = true;
|
17 |
+
} else {
|
18 |
+
names.push( jQuery(this).find('.dslca-plugin-opts-list-title').text() );
|
19 |
+
}
|
20 |
+
});
|
21 |
+
|
22 |
+
console.log( duplicateFound );
|
23 |
+
|
24 |
+
// If there are duplicates show the error message, otherwise hide
|
25 |
+
if ( duplicateFound ) {
|
26 |
+
jQuery('.dslca-plugin-opts-list-error').show();
|
27 |
+
} else {
|
28 |
+
jQuery('.dslca-plugin-opts-list-error').hide();
|
29 |
+
}
|
30 |
+
|
31 |
+
// Go through each
|
32 |
+
jQuery( '.dslca-plugin-opts-list-item', dslcTarget ).each( function(){
|
33 |
+
|
34 |
+
dslcTitle = jQuery(this).find('.dslca-plugin-opts-list-title').text();
|
35 |
+
dslcCode += dslcTitle + ','
|
36 |
+
|
37 |
+
});
|
38 |
+
|
39 |
+
dslcCodeInput.val( dslcCode );
|
40 |
+
|
41 |
+
}
|
42 |
+
|
43 |
+
jQuery('.dslca-plugin-opts-list-add-hook').click( function(e){
|
44 |
+
|
45 |
+
e.preventDefault();
|
46 |
+
|
47 |
+
var dslcWrapper = jQuery(this).closest('.dslca-plugin-opts-list-wrap');
|
48 |
+
var dslcTarget = dslcWrapper.find('.dslca-plugin-opts-list');
|
49 |
+
|
50 |
+
jQuery('<div class="dslca-plugin-opts-list-item"><span class="dslca-plugin-opts-list-title" contenteditable>Click to edit</span><a href="#" class="dslca-plugin-opts-list-delete-hook">delete</a></div>').appendTo( dslcTarget );
|
51 |
+
|
52 |
+
dslc_plugin_opts_generate_list_code( dslcWrapper );
|
53 |
+
|
54 |
+
});
|
55 |
+
|
56 |
+
jQuery(document).on( 'click', '.dslca-plugin-opts-list-delete-hook', function(e){
|
57 |
+
|
58 |
+
e.preventDefault();
|
59 |
+
|
60 |
+
var dslcWrapper = jQuery(this).closest('.dslca-plugin-opts-list-wrap');
|
61 |
+
var dslcTarget = jQuery(this).closest('.dslca-plugin-opts-list-item');
|
62 |
+
|
63 |
+
dslcTarget.remove();
|
64 |
+
|
65 |
+
dslc_plugin_opts_generate_list_code( dslcWrapper );
|
66 |
+
|
67 |
+
});
|
68 |
+
|
69 |
+
jQuery(document).on( 'blur', '.dslca-plugin-opts-list-title', function() {
|
70 |
+
|
71 |
+
var dslcWrapper = jQuery(this).closest('.dslca-plugin-opts-list-wrap');
|
72 |
+
dslc_plugin_opts_generate_list_code( dslcWrapper );
|
73 |
+
|
74 |
+
});
|
75 |
+
|
76 |
+
jQuery(document).on( 'keypress', '.dslca-plugin-opts-list-title', function(e) {
|
77 |
+
|
78 |
+
if(e.keyCode==13){
|
79 |
+
jQuery(this).trigger('blur');
|
80 |
+
e.preventDefault();
|
81 |
+
}
|
82 |
+
|
83 |
+
});
|
84 |
+
|
85 |
+
/*
|
86 |
+
* Active Campaign
|
87 |
+
*/
|
88 |
+
|
89 |
+
jQuery('.activecampaign_form').submit(function(){
|
90 |
+
var email = jQuery('#dslc_activecampaign_email').val();
|
91 |
+
var name = jQuery('#dslc_activecampaign_name').val();
|
92 |
+
|
93 |
+
jQuery.ajax({
|
94 |
+
type: "POST",
|
95 |
+
data: {
|
96 |
+
email: email,
|
97 |
+
name: name,
|
98 |
+
security: dlscajax,
|
99 |
+
action: 'dslc_activecampaign'
|
100 |
+
},
|
101 |
+
url: ajaxurl
|
102 |
+
});
|
103 |
+
});
|
104 |
+
|
105 |
+
if ( jQuery(".activecampaign_form").length ) {
|
106 |
+
|
107 |
+
window._show_thank_you = function(id, message) {
|
108 |
+
var form = document.getElementById('_form_' + id + '_'), thank_you = form.getElementsByClassName('_form-thank-you')[0];
|
109 |
+
form.getElementsByClassName('_form-content')[0].style.visibility = 'hidden';
|
110 |
+
thank_you.innerHTML = message;
|
111 |
+
//thank_you.style.display = 'block';
|
112 |
+
thank_you.classList.add("add_thank_you");
|
113 |
+
};
|
114 |
+
window._show_error = function(id, message, html) {
|
115 |
+
var form = document.getElementById('_form_' + id + '_'), err = document.createElement('div'), button = form.getElementsByTagName('button')[0];
|
116 |
+
err.innerHTML = message;
|
117 |
+
err.className = '_error-inner _form_error _no_arrow';
|
118 |
+
var wrapper = document.createElement('div');
|
119 |
+
wrapper.className = '_form-inner';
|
120 |
+
wrapper.appendChild(err);
|
121 |
+
button.parentNode.insertBefore(wrapper, button);
|
122 |
+
if (html) {
|
123 |
+
var div = document.createElement('div');
|
124 |
+
div.className = '_error-html';
|
125 |
+
div.innerHTML = html;
|
126 |
+
err.appendChild(div);
|
127 |
+
}
|
128 |
+
};
|
129 |
+
window._load_script = function(url, callback) {
|
130 |
+
var head = document.getElementsByTagName('head')[0], script = document.createElement('script'), r = false;
|
131 |
+
script.type = 'text/javascript';
|
132 |
+
script.src = url;
|
133 |
+
if (callback) {
|
134 |
+
script.onload = script.onreadystatechange = function() {
|
135 |
+
if (!r && (!this.readyState || this.readyState == 'complete')) {
|
136 |
+
r = true;
|
137 |
+
callback();
|
138 |
+
}
|
139 |
+
};
|
140 |
+
}
|
141 |
+
head.appendChild(script);
|
142 |
+
};
|
143 |
+
|
144 |
+
(function() {
|
145 |
+
var getCookie = function(name) {
|
146 |
+
var match = document.cookie.match(new RegExp('(^|; )' + name + '=([^;]+)'));
|
147 |
+
return match ? match[2] : null;
|
148 |
+
}
|
149 |
+
var setCookie = function(name, value) {
|
150 |
+
var now = new Date();
|
151 |
+
var time = now.getTime();
|
152 |
+
var expireTime = time + 1000 * 60 * 60 * 24 * 365;
|
153 |
+
now.setTime(expireTime);
|
154 |
+
document.cookie = name + '=' + value + '; expires=' + now + ';path=/';
|
155 |
+
}
|
156 |
+
var addEvent = function(element, event, func) {
|
157 |
+
if (element.addEventListener) {
|
158 |
+
element.addEventListener(event, func);
|
159 |
+
} else {
|
160 |
+
var oldFunc = element['on' + event];
|
161 |
+
element['on' + event] = function() {
|
162 |
+
oldFunc.apply(this, arguments);
|
163 |
+
func.apply(this, arguments);
|
164 |
+
};
|
165 |
+
}
|
166 |
+
}
|
167 |
+
|
168 |
+
var _removed = false;
|
169 |
+
var form_to_submit = document.getElementById('_form_11_');
|
170 |
+
var allInputs = form_to_submit.querySelectorAll('input, select'), tooltips = [], submitted = false;
|
171 |
+
var remove_tooltips = function() {
|
172 |
+
for (var i = 0; i < tooltips.length; i++) {
|
173 |
+
tooltips[i].tip.parentNode.removeChild(tooltips[i].tip);
|
174 |
+
}
|
175 |
+
tooltips = [];
|
176 |
+
};
|
177 |
+
var remove_tooltip = function(elem) {
|
178 |
+
for (var i = 0; i < tooltips.length; i++) {
|
179 |
+
if (tooltips[i].elem === elem) {
|
180 |
+
tooltips[i].tip.parentNode.removeChild(tooltips[i].tip);
|
181 |
+
tooltips.splice(i, 1);
|
182 |
+
return;
|
183 |
+
}
|
184 |
+
}
|
185 |
+
};
|
186 |
+
var create_tooltip = function(elem, text) {
|
187 |
+
var tooltip = document.createElement('div'), arrow = document.createElement('div'), inner = document.createElement('div'), new_tooltip = {};
|
188 |
+
if (elem.type != 'radio' && elem.type != 'checkbox') {
|
189 |
+
tooltip.className = '_error';
|
190 |
+
arrow.className = '_error-arrow';
|
191 |
+
inner.className = '_error-inner';
|
192 |
+
inner.innerHTML = text;
|
193 |
+
tooltip.appendChild(arrow);
|
194 |
+
tooltip.appendChild(inner);
|
195 |
+
elem.parentNode.appendChild(tooltip);
|
196 |
+
} else {
|
197 |
+
tooltip.className = '_error-inner _no_arrow';
|
198 |
+
tooltip.innerHTML = text;
|
199 |
+
elem.parentNode.insertBefore(tooltip, elem);
|
200 |
+
new_tooltip.no_arrow = true;
|
201 |
+
}
|
202 |
+
new_tooltip.tip = tooltip;
|
203 |
+
new_tooltip.elem = elem;
|
204 |
+
tooltips.push(new_tooltip);
|
205 |
+
return new_tooltip;
|
206 |
+
};
|
207 |
+
var resize_tooltip = function(tooltip) {
|
208 |
+
var rect = tooltip.elem.getBoundingClientRect();
|
209 |
+
var doc = document.documentElement, scrollPosition = rect.top - ((window.pageYOffset || doc.scrollTop) - (doc.clientTop || 0));
|
210 |
+
if (scrollPosition < 40) {
|
211 |
+
tooltip.tip.className = tooltip.tip.className.replace(/ ?(_above|_below) ?/g, '') + ' _below';
|
212 |
+
} else {
|
213 |
+
tooltip.tip.className = tooltip.tip.className.replace(/ ?(_above|_below) ?/g, '') + ' _above';
|
214 |
+
}
|
215 |
+
};
|
216 |
+
var resize_tooltips = function() {
|
217 |
+
if (_removed) return;
|
218 |
+
for (var i = 0; i < tooltips.length; i++) {
|
219 |
+
if (!tooltips[i].no_arrow) resize_tooltip(tooltips[i]);
|
220 |
+
}
|
221 |
+
};
|
222 |
+
var validate_field = function(elem, remove) {
|
223 |
+
var tooltip = null, value = elem.value, no_error = true;
|
224 |
+
remove ? remove_tooltip(elem) : false;
|
225 |
+
if (elem.type != 'checkbox') elem.className = elem.className.replace(/ ?_has_error ?/g, '');
|
226 |
+
if (elem.getAttribute('required') !== null) {
|
227 |
+
if (value === undefined || value === null || value === '') {
|
228 |
+
elem.className = elem.className + ' _has_error';
|
229 |
+
no_error = false;
|
230 |
+
tooltip = create_tooltip(elem, "This field is required.");
|
231 |
+
}
|
232 |
+
}
|
233 |
+
if (no_error && elem.name == 'email') {
|
234 |
+
if (!value.match(/^[\+_a-z0-9-'&=]+(\.[\+_a-z0-9-']+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,})$/i)) {
|
235 |
+
elem.className = elem.className + ' _has_error';
|
236 |
+
no_error = false;
|
237 |
+
tooltip = create_tooltip(elem, "Enter a valid email address.");
|
238 |
+
}
|
239 |
+
}
|
240 |
+
tooltip ? resize_tooltip(tooltip) : false;
|
241 |
+
return no_error;
|
242 |
+
};
|
243 |
+
var needs_validate = function(el) {
|
244 |
+
return el.name == 'email' || el.getAttribute('required') !== null || (el.className ? /date_field/.test(el.className) : false);
|
245 |
+
};
|
246 |
+
var validate_form = function(e) {
|
247 |
+
var err = form_to_submit.getElementsByClassName('_form_error')[0], no_error = true;
|
248 |
+
err ? err.parentNode.removeChild(err) : false;
|
249 |
+
if (!submitted) {
|
250 |
+
submitted = true;
|
251 |
+
for (var i = 0, len = allInputs.length; i < len; i++) {
|
252 |
+
var input = allInputs[i];
|
253 |
+
if (needs_validate(input)) {
|
254 |
+
if (input.type == 'text') {
|
255 |
+
addEvent(input, 'input', function() {
|
256 |
+
validate_field(this, true);
|
257 |
+
});
|
258 |
+
}
|
259 |
+
}
|
260 |
+
}
|
261 |
+
}
|
262 |
+
remove_tooltips();
|
263 |
+
for (var i = 0, len = allInputs.length; i < len; i++) {
|
264 |
+
var elem = allInputs[i];
|
265 |
+
if (needs_validate(elem)) {
|
266 |
+
validate_field(elem) ? true : no_error = false;
|
267 |
+
}
|
268 |
+
}
|
269 |
+
if (!no_error && e) {
|
270 |
+
e.preventDefault();
|
271 |
+
}
|
272 |
+
resize_tooltips();
|
273 |
+
return no_error;
|
274 |
+
};
|
275 |
+
addEvent(window, 'resize', resize_tooltips);
|
276 |
+
addEvent(window, 'scroll', resize_tooltips);
|
277 |
+
var form_submit = function(e) {
|
278 |
+
e.preventDefault();
|
279 |
+
if (validate_form()) {
|
280 |
+
var serialized = serialize(document.getElementById('_form_11_'));
|
281 |
+
_load_script('https://lumbermandesigns.activehosted.com/proc.php?' + serialized + '&jsonp=true');
|
282 |
+
}
|
283 |
+
return false;
|
284 |
+
};
|
285 |
+
addEvent(form_to_submit, 'submit', form_submit);
|
286 |
+
_load_script("//d3rxaij56vjege.cloudfront.net/form-serialize/0.3/serialize.min.js");
|
287 |
+
})();
|
288 |
+
|
289 |
+
}
|
290 |
+
|
291 |
});
|
includes/plugin-options-framework/js/main.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
jQuery(document).ready(function(){function
|
1 |
+
jQuery(document).ready(function(){function a(a){var b,c=jQuery(".dslca-plugin-opts-list-code",a),d="",e=!1,f=[];jQuery(".dslca-plugin-opts-list-item",a).each(function(){-1!==jQuery.inArray(jQuery(this).find(".dslca-plugin-opts-list-title").text(),f)?e=!0:f.push(jQuery(this).find(".dslca-plugin-opts-list-title").text())}),console.log(e),e?jQuery(".dslca-plugin-opts-list-error").show():jQuery(".dslca-plugin-opts-list-error").hide(),jQuery(".dslca-plugin-opts-list-item",a).each(function(){b=jQuery(this).find(".dslca-plugin-opts-list-title").text(),d+=b+","}),c.val(d)}jQuery(".dslca-plugin-opts-list-add-hook").click(function(b){b.preventDefault();var c=jQuery(this).closest(".dslca-plugin-opts-list-wrap"),d=c.find(".dslca-plugin-opts-list");jQuery('<div class="dslca-plugin-opts-list-item"><span class="dslca-plugin-opts-list-title" contenteditable>Click to edit</span><a href="#" class="dslca-plugin-opts-list-delete-hook">delete</a></div>').appendTo(d),a(c)}),jQuery(document).on("click",".dslca-plugin-opts-list-delete-hook",function(b){b.preventDefault();var c=jQuery(this).closest(".dslca-plugin-opts-list-wrap"),d=jQuery(this).closest(".dslca-plugin-opts-list-item");d.remove(),a(c)}),jQuery(document).on("blur",".dslca-plugin-opts-list-title",function(){var b=jQuery(this).closest(".dslca-plugin-opts-list-wrap");a(b)}),jQuery(document).on("keypress",".dslca-plugin-opts-list-title",function(a){13==a.keyCode&&(jQuery(this).trigger("blur"),a.preventDefault())}),jQuery(".activecampaign_form").submit(function(){var a=jQuery("#dslc_activecampaign_email").val(),b=jQuery("#dslc_activecampaign_name").val();jQuery.ajax({type:"POST",data:{email:a,name:b,security:dlscajax,action:"dslc_activecampaign"},url:ajaxurl})}),jQuery(".activecampaign_form").length&&(window._show_thank_you=function(a,b){var c=document.getElementById("_form_"+a+"_"),d=c.getElementsByClassName("_form-thank-you")[0];c.getElementsByClassName("_form-content")[0].style.visibility="hidden",d.innerHTML=b,d.classList.add("add_thank_you")},window._show_error=function(a,b,c){var d=document.getElementById("_form_"+a+"_"),e=document.createElement("div"),f=d.getElementsByTagName("button")[0];e.innerHTML=b,e.className="_error-inner _form_error _no_arrow";var g=document.createElement("div");if(g.className="_form-inner",g.appendChild(e),f.parentNode.insertBefore(g,f),c){var h=document.createElement("div");h.className="_error-html",h.innerHTML=c,e.appendChild(h)}},window._load_script=function(a,b){var c=document.getElementsByTagName("head")[0],d=document.createElement("script"),e=!1;d.type="text/javascript",d.src=a,b&&(d.onload=d.onreadystatechange=function(){e||this.readyState&&"complete"!=this.readyState||(e=!0,b())}),c.appendChild(d)},function(){var c=function(a,b,c){if(a.addEventListener)a.addEventListener(b,c);else{var d=a["on"+b];a["on"+b]=function(){d.apply(this,arguments),c.apply(this,arguments)}}},d=!1,e=document.getElementById("_form_11_"),f=e.querySelectorAll("input, select"),g=[],h=!1,i=function(){for(var a=0;a<g.length;a++)g[a].tip.parentNode.removeChild(g[a].tip);g=[]},j=function(a){for(var b=0;b<g.length;b++)if(g[b].elem===a)return g[b].tip.parentNode.removeChild(g[b].tip),void g.splice(b,1)},k=function(a,b){var c=document.createElement("div"),d=document.createElement("div"),e=document.createElement("div"),f={};return"radio"!=a.type&&"checkbox"!=a.type?(c.className="_error",d.className="_error-arrow",e.className="_error-inner",e.innerHTML=b,c.appendChild(d),c.appendChild(e),a.parentNode.appendChild(c)):(c.className="_error-inner _no_arrow",c.innerHTML=b,a.parentNode.insertBefore(c,a),f.no_arrow=!0),f.tip=c,f.elem=a,g.push(f),f},l=function(a){var b=a.elem.getBoundingClientRect(),c=document.documentElement,d=b.top-((window.pageYOffset||c.scrollTop)-(c.clientTop||0));40>d?a.tip.className=a.tip.className.replace(/ ?(_above|_below) ?/g,"")+" _below":a.tip.className=a.tip.className.replace(/ ?(_above|_below) ?/g,"")+" _above"},m=function(){if(!d)for(var a=0;a<g.length;a++)g[a].no_arrow||l(g[a])},n=function(a,b){var c=null,d=a.value,e=!0;return b?j(a):!1,"checkbox"!=a.type&&(a.className=a.className.replace(/ ?_has_error ?/g,"")),null!==a.getAttribute("required")&&(void 0===d||null===d||""===d)&&(a.className=a.className+" _has_error",e=!1,c=k(a,"This field is required.")),e&&"email"==a.name&&(d.match(/^[\+_a-z0-9-'&=]+(\.[\+_a-z0-9-']+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,})$/i)||(a.className=a.className+" _has_error",e=!1,c=k(a,"Enter a valid email address."))),c?l(c):!1,e},o=function(a){return"email"==a.name||null!==a.getAttribute("required")||(a.className?/date_field/.test(a.className):!1)},p=function(a){var b=e.getElementsByClassName("_form_error")[0],d=!0;if(b?b.parentNode.removeChild(b):!1,!h){h=!0;for(var g=0,j=f.length;j>g;g++){var k=f[g];o(k)&&"text"==k.type&&c(k,"input",function(){n(this,!0)})}}i();for(var g=0,j=f.length;j>g;g++){var l=f[g];o(l)&&(n(l)?!0:d=!1)}return!d&&a&&a.preventDefault(),m(),d};c(window,"resize",m),c(window,"scroll",m);var q=function(a){if(a.preventDefault(),p()){var b=serialize(document.getElementById("_form_11_"));_load_script("https://lumbermandesigns.activehosted.com/proc.php?"+b+"&jsonp=true")}return!1};c(e,"su
|