├── .gitignore ├── LICENSE ├── README.md ├── assets ├── css │ ├── elementor-blue-skin.css │ ├── elementor-dark-skin.css │ ├── elementor-dgrunge-skin.css │ ├── elementor-gred-skin.css │ ├── elementor-lgrunge-skin.css │ ├── elementor-purple-skin.css │ ├── elementor-red-skin.css │ ├── font-awesome.min.css │ ├── granular-dashboard.min.css │ ├── granular-editor-bar.min.css │ └── granular-onion-skin.min.css ├── font-awesome │ ├── HELP-US-OUT.txt │ ├── css │ │ ├── font-awesome.css │ │ └── font-awesome.min.css │ ├── fonts │ │ ├── FontAwesome.otf │ │ ├── fontawesome-webfont.eot │ │ ├── fontawesome-webfont.svg │ │ ├── fontawesome-webfont.ttf │ │ ├── fontawesome-webfont.woff │ │ └── fontawesome-webfont.woff2 │ ├── less │ │ ├── animated.less │ │ ├── bordered-pulled.less │ │ ├── core.less │ │ ├── fixed-width.less │ │ ├── font-awesome.less │ │ ├── icons.less │ │ ├── larger.less │ │ ├── list.less │ │ ├── mixins.less │ │ ├── path.less │ │ ├── rotated-flipped.less │ │ ├── screen-reader.less │ │ ├── stacked.less │ │ └── variables.less │ └── scss │ │ ├── _animated.scss │ │ ├── _bordered-pulled.scss │ │ ├── _core.scss │ │ ├── _fixed-width.scss │ │ ├── _icons.scss │ │ ├── _larger.scss │ │ ├── _list.scss │ │ ├── _mixins.scss │ │ ├── _path.scss │ │ ├── _rotated-flipped.scss │ │ ├── _screen-reader.scss │ │ ├── _stacked.scss │ │ ├── _variables.scss │ │ └── font-awesome.scss └── js │ ├── granular-dashboard.min.js │ ├── granular-editor.js │ ├── granular-editor.min.js │ ├── jarallax.js │ ├── jarallax.min.js │ ├── jquery.paroller.js │ ├── particles.js │ └── particles.min.js ├── base ├── base-widget.php └── module-base.php ├── granular-controls-elementor.php ├── includes ├── granular-functions.php └── modules-manager.php ├── modules ├── delayed-content │ └── module.php ├── granular-bar │ └── module.php ├── granular-parallax │ └── module.php ├── granular-particles │ └── module.php └── scheduled-content │ └── module.php ├── plugin.php ├── readme.txt └── settings ├── class.settings-api.php └── settings.php /.gitignore: -------------------------------------------------------------------------------- 1 | *.log 2 | wp-config.php 3 | wp-content/advanced-cache.php 4 | wp-content/backup-db/ 5 | wp-content/backups/ 6 | wp-content/blogs.dir/ 7 | wp-content/cache/ 8 | wp-content/upgrade/ 9 | wp-content/uploads/ 10 | wp-content/wp-cache-config.php 11 | wp-content/plugins/hello.php 12 | 13 | /.htaccess 14 | /license.txt 15 | /readme.html 16 | /sitemap.xml 17 | /sitemap.xml.gz 18 | 19 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | GNU GENERAL PUBLIC LICENSE 2 | Version 2, June 1991 3 | 4 | Copyright (C) 1989, 1991 Free Software Foundation, Inc., 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 | 294 | Copyright (C) 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 | , 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: -------------------------------------------------------------------------------- 1 | # Granular Controls For Elementor 2 | Take control of your favourite page builder's elements to design better websites and landing pages + extras 3 | -------------------------------------------------------------------------------- /assets/css/elementor-blue-skin.css: -------------------------------------------------------------------------------- 1 | /* BODY */ 2 | .elementor-panel#elementor-panel, 3 | .elementor-panel .elementor-control { 4 | background: #0175af; 5 | color: #f4f4f4; 6 | } 7 | /* MAIN ELEMENT */ 8 | .elementor-panel .elementor-element { 9 | background-color: rgba(0,0,0,0.1); 10 | } 11 | 12 | .elementor-panel .elementor-control-type-structure .elementor-control-structure-title:before, 13 | .elementor-panel .elementor-control-type-structure .elementor-control-structure-more-presets-title:before { 14 | background-color: #181c21; 15 | } 16 | 17 | .elementor-panel .elementor-control-type-structure .elementor-control-structure-title:after, 18 | .elementor-panel .elementor-control-type-structure .elementor-control-structure-more-presets-title:after { 19 | background-color: #3b3b3b; 20 | } 21 | 22 | .elementor-panel .elementor-control-type-structure .elementor-control-structure-title, 23 | .elementor-panel .elementor-control-type-structure .elementor-control-structure-more-presets-title { 24 | color: #ccc; 25 | } 26 | 27 | .elementor-panel .elementor-control-type-structure .elementor-control-structure-preset { 28 | border: 1px solid #3b3b3b; 29 | } 30 | 31 | .elementor-panel .elementor-control-type-structure .elementor-control-structure-preset path { 32 | fill: #181c21; 33 | } 34 | 35 | .elementor-panel .elementor-control-type-switcher .elementor-switch-label { 36 | background: #434551; 37 | } 38 | 39 | .elementor-panel .elementor-control-type-switcher .elementor-switch-input:checked ~ .elementor-switch-label { 40 | background: #808080; 41 | } 42 | 43 | .elementor-panel .elementor-responsive-switcher { 44 | background-color: transparent; 45 | } 46 | 47 | .elementor-panel .elementor-responsive-switcher { 48 | -webkit-border-radius: 3px; 49 | border-radius: 3px; 50 | } 51 | 52 | .elementor-device-mobile .elementor-panel .elementor-responsive-switcher-mobile, 53 | .elementor-device-tablet .elementor-panel .elementor-responsive-switcher-tablet { 54 | background-color: #666;; 55 | } 56 | 57 | /* NAV PANEL */ 58 | .elementor-panel .elementor-panel-navigation { 59 | background-color: #08567c; 60 | } 61 | .elementor-panel .elementor-panel-navigation .elementor-panel-navigation-tab a { 62 | color: #c8c8c8; 63 | } 64 | 65 | .elementor-panel .elementor-panel-navigation .elementor-panel-navigation-tab.active, 66 | .elementor-panel .elementor-panel-navigation .elementor-panel-navigation-tab.elementor-active { 67 | background-image: -webkit-gradient(linear,left top,left bottom,from(#ffffff1a),to(#ffffff1a)); 68 | background-image: -webkit-linear-gradient(top,#ffffff1a,#ffffff1a); 69 | background-image: -o-linear-gradient(top,#ffffff1a,#ffffff1a); 70 | background-image: linear-gradient(180deg,#ffffff1a,#ffffff1a); 71 | border-bottom: 3px solid #08567c; 72 | } 73 | 74 | input#elementor-panel-elements-search-input:focus { 75 | background-color: hsla(200, 88%, 26%, 0.7) !important; 76 | } 77 | 78 | /* ANIMATION SELECTOR */ 79 | .select2-container--default .select2-selection--single { 80 | background-color: #23282d; 81 | border: 1px solid #565656; 82 | } 83 | .select2-container--default .select2-selection--single .select2-selection__rendered { 84 | color: #ccc; 85 | } 86 | .select2-dropdown { 87 | background-color: #3f4347; 88 | border: 1px solid #565656; 89 | } 90 | .select2-container--default .select2-search--dropdown .select2-search__field { 91 | color: #ccc; 92 | } 93 | .select2-results__group, 94 | .select2-results__option { 95 | color: #ccc; 96 | } 97 | .select2-container--default .select2-results__option[aria-selected="true"] { 98 | background-color: #e0e0e0 ; 99 | color: #333; 100 | } 101 | .select2-container--default .select2-results__option--highlighted[aria-selected="true"]{ 102 | background-color: #e0e0e0 ; 103 | color: #333; 104 | } 105 | .select2-container--default .select2-results__option--highlighted { 106 | background-color: #595959; 107 | color: #fff; 108 | } 109 | .elementor-panel .elementor-control-type-dimensions .elementor-link-dimensions.unlinked { 110 | background-color: #bfbfbf; 111 | border: 1px solid #565656; 112 | } 113 | .elementor-panel .elementor-control-type-dimensions .elementor-link-dimensions:not(.unlinked) { 114 | background-color: #444; 115 | border: 1px solid #565656; 116 | } 117 | .elementor-panel .elementor-choices input:not(:checked) + .elementor-choices-label { 118 | background-color: #0175af; 119 | 120 | } 121 | .elementor-panel .elementor-choices input:checked + .elementor-choices-label { 122 | background-color: #7d7d7d; 123 | color: #ccc; 124 | } 125 | 126 | .elementor-panel .elementor-control.elementor-control-separator-before:before { 127 | background-color: #181c21; 128 | color: #ccc; 129 | } 130 | 131 | /* COLOR SELECTOR */ 132 | .elementor-panel .wp-picker-clear.button, .elementor-panel .wp-picker-default.button { 133 | background-color: #08567c; 134 | } 135 | .elementor-panel .wp-picker-container.wp-picker-active { 136 | background-color: #2e3235; 137 | border: solid #fff0; 138 | } 139 | .iris-border { 140 | background-color: #fff0; 141 | } 142 | 143 | #elementor-mode-switcher, 144 | body.elementor-editor-preview #elementor-mode-switcher { 145 | background-color: #08567c; 146 | } 147 | 148 | #elementor-mode-switcher:hover { 149 | background-color: #3380aa; 150 | } 151 | 152 | .elementor-panel #elementor-panel-header { 153 | background-color: #08567c; 154 | } 155 | 156 | .elementor-panel .elementor-element .icon, 157 | .elementor-panel .elementor-element .title, 158 | .elementor-panel .elementor-element:hover .icon, 159 | .elementor-panel .elementor-element:hover .title, 160 | .elementor-panel .elementor-panel-heading-toggle, 161 | .elementor-panel .elementor-panel-heading-title, 162 | .elementor-input-style, 163 | .elementor-panel input, 164 | .elementor-panel select, 165 | .elementor-panel textarea { 166 | color: #f4f4f4; 167 | } 168 | 169 | .elementor-panel select { 170 | -moz-appearance: none; 171 | text-indent: 0.01px; 172 | text-overflow: ""; 173 | } 174 | 175 | .elementor-panel option { 176 | color: #333; 177 | } 178 | 179 | .elementor-panel .elementor-panel-heading { 180 | border-bottom: 1px solid #3b3b3b; 181 | } 182 | 183 | .elementor-panel .elementor-control.elementor-control-separator-default:before { 184 | background-color: #3b3b3b; 185 | } 186 | 187 | .elementor-panel .elementor-slider { 188 | background-color: #4d4d4d; 189 | } 190 | 191 | .elementor-panel .elementor-slider .ui-slider-handle { 192 | background-color: #9f9f9f; 193 | } 194 | 195 | input[disabled] { 196 | background-color: #535353; 197 | color: #d5d5d5; 198 | } 199 | 200 | .elementor-input-style:not(:focus), 201 | .elementor-panel input:not(:focus), 202 | .elementor-panel select:not(:focus), 203 | .elementor-panel textarea:not(:focus) { 204 | border-color: #565656; 205 | } 206 | 207 | .elementor-input-style:focus, 208 | .elementor-panel select:focus, 209 | .elementor-panel textarea:focus, 210 | .elementor-panel input:focus { 211 | border-color: #666; 212 | } 213 | 214 | /* SETTINGS MENU */ 215 | .elementor-panel .elementor-panel-menu-item:not(:hover), 216 | .elementor-panel .elementor-panel-scheme-buttons, 217 | .elementor-panel .elementor-panel-box { 218 | background-color: transparent; 219 | } 220 | 221 | /* FOTTER PANEL */ 222 | .elementor-panel #elementor-panel-footer { 223 | background-color: #08567c; 224 | } 225 | 226 | .elementor-panel .elementor-panel-footer-tool { 227 | color: #f4f4f4; 228 | } 229 | 230 | .elementor-button.elementor-button-success:not([disabled]), .elementor-panel .elementor-button#elementor-panel-saver-publish:not([disabled]) { 231 | background-color: #f4f4f4; 232 | color: #556068; 233 | } 234 | 235 | .elementor-panel #elementor-panel-saver-save-options { 236 | border-left-color: #08567c; 237 | } 238 | 239 | .elementor-panel .elementor-controls-popover { 240 | background-color: #08567c; 241 | } 242 | 243 | /* v2 Related Styles */ 244 | #elementor-theme-builder-conditions__publish { 245 | background-color: #a4afb7; 246 | } 247 | #elementor-theme-builder-conditions__publish:hover { 248 | background-color: #1f1f26; 249 | } 250 | 251 | /* Granular Controls additions */ 252 | .elementor-panel .panel-elements-category-title { 253 | background-color: rgba(8,86,124,0.07); 254 | color: #cccccc; 255 | } 256 | 257 | #granular-top-bar { 258 | background-color: #08567c; 259 | color: #f4f4f4; 260 | } 261 | 262 | #granular-top-bar .exit-to-dashboard { 263 | background-color: #0175af; 264 | color: #f4f4f4; 265 | } 266 | 267 | #granular-top-bar .view-live-page { 268 | background-color: #0175af; 269 | color: #f4f4f4; 270 | } 271 | 272 | .eicon-edd-single:before, 273 | .eicon-designer-edd:before, 274 | .eicon-designer-scroll:before, 275 | .eicon-designer-frameit:before, 276 | .eicon-designer-preview:before, 277 | .eicon-designer-designfolio:before { 278 | color: #ffffff; 279 | } -------------------------------------------------------------------------------- /assets/css/elementor-dark-skin.css: -------------------------------------------------------------------------------- 1 | /* BODY */ 2 | .elementor-panel#elementor-panel, 3 | .elementor-panel .elementor-control { 4 | background: #23282d; 5 | color: #c6c6c6; 6 | } 7 | 8 | /* MAIN ELEMENT */ 9 | .elementor-panel .elementor-element { 10 | background-color: rgba(255,255,255,0.07); 11 | } 12 | 13 | .elementor-panel .elementor-control-type-structure .elementor-control-structure-title:before, 14 | .elementor-panel .elementor-control-type-structure .elementor-control-structure-more-presets-title:before { 15 | background-color: #181c21; 16 | } 17 | 18 | .elementor-panel .elementor-control-type-structure .elementor-control-structure-title:after, 19 | .elementor-panel .elementor-control-type-structure .elementor-control-structure-more-presets-title:after { 20 | background-color: #3b3b3b; 21 | } 22 | 23 | .elementor-panel .elementor-control-type-structure .elementor-control-structure-title, 24 | .elementor-panel .elementor-control-type-structure .elementor-control-structure-more-presets-title { 25 | color: #ccc; 26 | } 27 | 28 | .elementor-panel .elementor-control-type-structure .elementor-control-structure-preset { 29 | border: 1px solid #3b3b3b; 30 | } 31 | 32 | .elementor-panel .elementor-control-type-structure .elementor-control-structure-preset path { 33 | fill: #181c21; 34 | } 35 | 36 | .elementor-panel .elementor-control-type-switcher .elementor-switch-label { 37 | background: #434551; 38 | } 39 | 40 | .elementor-panel .elementor-control-type-switcher .elementor-switch-input:checked ~ .elementor-switch-label { 41 | background: #808080; 42 | } 43 | 44 | .elementor-panel .elementor-responsive-switcher { 45 | background-color: transparent; 46 | } 47 | 48 | .elementor-panel .elementor-responsive-switcher { 49 | -webkit-border-radius: 3px; 50 | border-radius: 3px; 51 | } 52 | 53 | .elementor-device-mobile .elementor-panel .elementor-responsive-switcher-mobile, 54 | .elementor-device-tablet .elementor-panel .elementor-responsive-switcher-tablet { 55 | background-color: #666; 56 | } 57 | 58 | /* NAV PANEL */ 59 | .elementor-panel .elementor-panel-navigation { 60 | background-color: #1f1f26; 61 | } 62 | .elementor-panel .elementor-panel-navigation .elementor-panel-navigation-tab a { 63 | color: #c8c8c8; 64 | } 65 | .elementor-panel .elementor-panel-navigation .elementor-panel-navigation-tab.active, 66 | .elementor-panel .elementor-panel-navigation .elementor-panel-navigation-tab.elementor-active { 67 | background-image: -webkit-gradient(linear,left top,left bottom,from(#ffffff1a),to(#ffffff1a)); 68 | background-image: -webkit-linear-gradient(top,#ffffff1a,#ffffff1a); 69 | background-image: -o-linear-gradient(top,#ffffff1a,#ffffff1a); 70 | background-image: linear-gradient(180deg,#ffffff1a,#ffffff1a); 71 | border-bottom: 3px solid #898989; 72 | } 73 | 74 | input#elementor-panel-elements-search-input:focus { 75 | background-color: hsla(0, 0%, 10.2%, 0.7) !important; 76 | } 77 | 78 | /* ANIMATION SELECTOR */ 79 | .select2-container--default .select2-selection--single { 80 | background-color: #23282d; 81 | border: 1px solid #565656 !important; 82 | } 83 | .select2-container--default .select2-selection--single .select2-selection__rendered { 84 | color: #ccc; 85 | } 86 | .select2-dropdown { 87 | background-color: #3f4347; 88 | border: 1px solid #565656 !important; 89 | } 90 | .select2-container--default .select2-search--dropdown .select2-search__field { 91 | color: #ccc; 92 | } 93 | .select2-results__group, 94 | .select2-results__option { 95 | color: #ccc; 96 | } 97 | .select2-container--default .select2-results__option[aria-selected="true"] { 98 | background-color: #e0e0e0; 99 | color: #333; 100 | } 101 | .select2-container--default .select2-results__option--highlighted[aria-selected="true"]{ 102 | background-color: #e0e0e0 !important; 103 | color: #333; 104 | } 105 | .select2-container--default .select2-results__option--highlighted { 106 | background-color: #595959 !important; 107 | color: #fff; 108 | } 109 | .elementor-panel .elementor-control-type-dimensions .elementor-link-dimensions.unlinked { 110 | background-color: #bfbfbf; 111 | border: 1px solid #565656; 112 | } 113 | .elementor-panel .elementor-control-type-dimensions .elementor-link-dimensions:not(.unlinked) { 114 | background-color: #444; 115 | border: 1px solid #565656; 116 | } 117 | .elementor-panel .elementor-choices input:not(:checked) + .elementor-choices-label { 118 | background-color: #32373e; 119 | 120 | } 121 | .elementor-panel .elementor-choices input:checked + .elementor-choices-label { 122 | background-color: #7d7d7d; 123 | color: #ccc; 124 | } 125 | 126 | .elementor-panel .elementor-control.elementor-control-separator-after:after { 127 | display: none; 128 | } 129 | .elementor-panel .elementor-control.elementor-control-separator-before:before { 130 | background-color: #181c21; 131 | color: #ccc; 132 | } 133 | 134 | .elementor-panel .elementor-choices { 135 | background-color: #565656; 136 | } 137 | 138 | /* COLOR SELECTOR */ 139 | .elementor-panel .wp-picker-clear.button, .elementor-panel .wp-picker-default.button { 140 | background-color: #4a4f54; 141 | } 142 | .elementor-panel .wp-picker-container.wp-picker-active { 143 | background-color: #23282d; 144 | border: solid #fff0; 145 | } 146 | .iris-border { 147 | background-color: #fff0; 148 | } 149 | 150 | #elementor-mode-switcher, 151 | body.elementor-editor-preview #elementor-mode-switcher { 152 | background-color: #23282d; 153 | } 154 | #elementor-mode-switcher:hover { 155 | background-color: #4a4f54; 156 | } 157 | 158 | .elementor-panel #elementor-panel-header { 159 | background-color: #4a4f54; 160 | } 161 | 162 | .elementor-panel .elementor-element .icon, 163 | .elementor-panel .elementor-element .title, 164 | .elementor-panel .elementor-element:hover .icon, 165 | .elementor-panel .elementor-element:hover .title, 166 | .elementor-panel .elementor-panel-heading-toggle, 167 | .elementor-panel .elementor-panel-heading-title, 168 | .elementor-input-style, 169 | .elementor-panel input, 170 | .elementor-panel select, 171 | .elementor-panel textarea { 172 | color: #f4f4f4; 173 | } 174 | 175 | .elementor-panel select { 176 | -moz-appearance: none; 177 | text-indent: 0.01px; 178 | text-overflow: ""; 179 | } 180 | 181 | .elementor-panel option { 182 | color: #333; 183 | } 184 | 185 | .elementor-panel .elementor-panel-heading { 186 | border-bottom: 1px solid #3b3b3b; 187 | } 188 | 189 | .elementor-panel .elementor-control.elementor-control-separator-default:before { 190 | background-color: #3b3b3b; 191 | } 192 | 193 | .elementor-panel .elementor-slider { 194 | background-color: #4d4d4d; 195 | } 196 | 197 | .elementor-panel .elementor-slider .ui-slider-handle { 198 | background-color: #9f9f9f; 199 | } 200 | 201 | input[disabled] { 202 | background-color: #535353; 203 | color: #d5d5d5; 204 | } 205 | 206 | .elementor-input-style:not(:focus), 207 | .elementor-panel input:not(:focus), 208 | .elementor-panel select:not(:focus), 209 | .elementor-panel textarea:not(:focus) { 210 | border-color: #565656; 211 | } 212 | 213 | .elementor-input-style:focus, 214 | .elementor-panel select:focus, 215 | .elementor-panel textarea:focus, 216 | .elementor-panel input:focus { 217 | border-color: #666666; 218 | } 219 | 220 | .elementor-panel .elementor-panel-scheme-color-system-items, 221 | .elementor-panel .elementor-panel-scheme-color-system-items:hover { 222 | border: none; 223 | } 224 | 225 | /* SETTINGS MENU */ 226 | .elementor-panel .elementor-panel-menu-item:hover, 227 | .elementor-panel .elementor-panel-menu-item:not(:hover), 228 | .elementor-panel .elementor-panel-scheme-buttons, 229 | .elementor-panel .elementor-panel-box { 230 | background-color: transparent; 231 | } 232 | 233 | /* CUSTOM STYLES EDITOR */ 234 | .ace-tm .ace_scroller { 235 | background-color: #eee; 236 | color: #454242; 237 | } 238 | .elementor-panel .elementor-panel-footer-sub-menu-wrapper { 239 | z-index: 4; 240 | } 241 | .elementor-panel .elementor-control-type-popover_toggle .elementor-control-popover-toggle-toggle:checked + .elementor-control-popover-toggle-toggle-label { 242 | color: #ccc; 243 | } 244 | .elementor-panel .elementor-control-type-popover_toggle .elementor-control-popover-toggle-toggle-label { 245 | border: 1px solid #565656; 246 | } 247 | .elementor-panel .elementor-controls-popover:before { 248 | border-bottom-color: #23282d; 249 | } 250 | .elementor-panel .elementor-controls-popover { 251 | background-color: #23282d; 252 | } 253 | .elementor-panel .elementor-controls-popover { 254 | -webkit-box-shadow: 0 0 25px rgba(0, 0, 0, 0.45); 255 | box-shadow: 0 0 25px rgba(0, 0, 0, 0.45); 256 | } 257 | .elementor-button.elementor-button-success:not([disabled]), .elementor-panel .elementor-button#elementor-panel-saver-publish:not([disabled]) { 258 | background-color: #f4f4f4; 259 | color: #556068; 260 | } 261 | .select2-container--default .select2-selection--multiple { 262 | background-color: #23282d; 263 | border: 1px solid #565656; 264 | } 265 | 266 | .select2-container--default .select2-selection--multiple .select2-selection__choice { 267 | background-color: #3a3a3a; 268 | border: 1px solid #565656; 269 | } 270 | .elementor-panel .select2-container.select2-container--focus .select2-selection--multiple, 271 | .elementor-panel .select2-container.select2-container--focus .select2-selection--single, 272 | .elementor-panel .select2-container.select2-container--open .select2-selection--multiple, 273 | .elementor-panel .select2-container.select2-container--open .select2-selection--single { 274 | border-color: #565656; 275 | } 276 | .elementor-panel .select2-container:not(.select2-container--open):not(.select2-container--focus) .select2-selection--multiple, 277 | .elementor-panel .select2-container:not(.select2-container--open):not(.select2-container--focus) .select2-selection--single { 278 | border-color: #565656; 279 | } 280 | 281 | /* v2 related Styles */ 282 | #elementor-theme-builder-conditions__publish { 283 | background-color: #a4afb7; 284 | } 285 | #elementor-theme-builder-conditions__publish:hover { 286 | background-color: #1f1f26; 287 | } 288 | /* Granular Controls additions */ 289 | .elementor-panel .panel-elements-category-title { 290 | background-color: rgba(255,255,255,0.07); 291 | color: #cccccc; 292 | } 293 | 294 | #granular-top-bar { 295 | background-color: #4a4f54; 296 | color: #ffffff; 297 | } 298 | 299 | #granular-top-bar .exit-to-dashboard { 300 | background-color: #1f1f26; 301 | color: #ffffff; 302 | } 303 | 304 | #granular-top-bar .view-live-page { 305 | background-color: #1f1f26; 306 | color: #ffffff; 307 | } 308 | 309 | .eicon-edd-single:before, 310 | .eicon-designer-edd:before, 311 | .eicon-designer-scroll:before, 312 | .eicon-designer-frameit:before, 313 | .eicon-designer-preview:before, 314 | .eicon-designer-designfolio:before { 315 | color: #ffffff; 316 | } -------------------------------------------------------------------------------- /assets/css/elementor-dgrunge-skin.css: -------------------------------------------------------------------------------- 1 | /* BODY */ 2 | .elementor-panel#elementor-panel, 3 | .elementor-panel .elementor-control { 4 | background: #aa7b1d; 5 | color: #f4f4f4; 6 | } 7 | /* MAIN ELEMENT */ 8 | .elementor-panel .elementor-element { 9 | background-color: rgba(0,0,0,0.1); 10 | } 11 | 12 | .elementor-panel .elementor-control-type-structure .elementor-control-structure-title:before, 13 | .elementor-panel .elementor-control-type-structure .elementor-control-structure-more-presets-title:before { 14 | background-color: #181c21; 15 | } 16 | 17 | .elementor-panel .elementor-control-type-structure .elementor-control-structure-title:after, 18 | .elementor-panel .elementor-control-type-structure .elementor-control-structure-more-presets-title:after { 19 | background-color: #3b3b3b; 20 | } 21 | 22 | .elementor-panel .elementor-control-type-structure .elementor-control-structure-title, 23 | .elementor-panel .elementor-control-type-structure .elementor-control-structure-more-presets-title { 24 | color: #ccc; 25 | } 26 | 27 | .elementor-panel .elementor-control-type-structure .elementor-control-structure-preset { 28 | border: 1px solid #3b3b3b; 29 | } 30 | 31 | .elementor-panel .elementor-control-type-structure .elementor-control-structure-preset path { 32 | fill: #181c21; 33 | } 34 | 35 | .elementor-panel .elementor-control-type-switcher .elementor-switch-label { 36 | background: #434551; 37 | } 38 | 39 | .elementor-panel .elementor-control-type-switcher .elementor-switch-input:checked ~ .elementor-switch-label { 40 | background: #808080; 41 | } 42 | 43 | .elementor-panel .elementor-responsive-switcher { 44 | background-color: transparent; 45 | } 46 | 47 | .elementor-panel .elementor-responsive-switcher { 48 | -webkit-border-radius: 3px; 49 | border-radius: 3px; 50 | } 51 | 52 | .elementor-device-mobile .elementor-panel .elementor-responsive-switcher-mobile, 53 | .elementor-device-tablet .elementor-panel .elementor-responsive-switcher-tablet { 54 | background-color: #666; 55 | } 56 | 57 | /* NAV PANEL */ 58 | .elementor-panel .elementor-panel-navigation { 59 | background-color: #7a5512; 60 | } 61 | .elementor-panel .elementor-panel-navigation .elementor-panel-navigation-tab a { 62 | color: #c8c8c8; 63 | } 64 | .elementor-panel .elementor-panel-navigation .elementor-panel-navigation-tab.active, 65 | .elementor-panel .elementor-panel-navigation .elementor-panel-navigation-tab.elementor-active { 66 | background-image: -webkit-gradient(linear,left top,left bottom,from(#ffffff1a),to(#ffffff1a)); 67 | background-image: -webkit-linear-gradient(top,#ffffff1a,#ffffff1a); 68 | background-image: -o-linear-gradient(top,#ffffff1a,#ffffff1a); 69 | background-image: linear-gradient(180deg,#ffffff1a,#ffffff1a); 70 | border-bottom: 3px solid #7a5512; 71 | } 72 | 73 | input#elementor-panel-elements-search-input:focus { 74 | background-color: hsla(39, 74%, 27%, 0.7) !important; 75 | } 76 | 77 | /* ANIMATION SELECTOR */ 78 | .select2-container--default .select2-selection--single { 79 | background-color: #23282d; 80 | border: 1px solid #565656; 81 | } 82 | .select2-container--default .select2-selection--single .select2-selection__rendered { 83 | color: #ccc; 84 | } 85 | .select2-dropdown { 86 | background-color: #3f4347; 87 | border: 1px solid #565656; 88 | } 89 | .select2-container--default .select2-search--dropdown .select2-search__field { 90 | color: #ccc; 91 | } 92 | .select2-results__group, 93 | .select2-results__option { 94 | color: #ccc; 95 | } 96 | .select2-container--default .select2-results__option[aria-selected="true"] { 97 | background-color: #e0e0e0 ; 98 | color: #333; 99 | } 100 | .select2-container--default .select2-results__option--highlighted[aria-selected="true"]{ 101 | background-color: #e0e0e0 ; 102 | color: #333; 103 | } 104 | .select2-container--default .select2-results__option--highlighted { 105 | background-color: #595959; 106 | color: #fff; 107 | } 108 | .elementor-panel .elementor-control-type-dimensions .elementor-link-dimensions.unlinked { 109 | background-color: #bfbfbf; 110 | border: 1px solid #565656; 111 | } 112 | .elementor-panel .elementor-control-type-dimensions .elementor-link-dimensions:not(.unlinked) { 113 | background-color: #444; 114 | border: 1px solid #565656; 115 | } 116 | .elementor-panel .elementor-choices input:not(:checked) + .elementor-choices-label { 117 | background-color: #aa7b1d; 118 | 119 | } 120 | .elementor-panel .elementor-choices input:checked + .elementor-choices-label { 121 | background-color: #7d7d7d; 122 | color: #ccc; 123 | } 124 | 125 | .elementor-panel .elementor-control.elementor-control-separator-before:before { 126 | background-color: #181c21; 127 | color: #ccc; 128 | } 129 | 130 | /* COLOR SELECTOR */ 131 | .elementor-panel .wp-picker-clear.button, .elementor-panel .wp-picker-default.button { 132 | background-color: #7a5512; 133 | } 134 | .elementor-panel .wp-picker-container.wp-picker-active { 135 | background-color: #2e3235; 136 | border: solid #fff0; 137 | } 138 | .iris-border { 139 | background-color: #fff0; 140 | } 141 | 142 | #elementor-mode-switcher, 143 | body.elementor-editor-preview #elementor-mode-switcher { 144 | background-color: #7a5512; 145 | } 146 | 147 | #elementor-mode-switcher:hover { 148 | background-color: #aa7b1d; 149 | } 150 | 151 | .elementor-panel #elementor-panel-header { 152 | background-color: #7a5512; 153 | } 154 | 155 | .elementor-input-style, 156 | .elementor-panel input, 157 | .elementor-panel select, 158 | .elementor-panel textarea, 159 | .elementor-panel .elementor-element .icon, 160 | .elementor-panel .elementor-element .title, 161 | .elementor-panel .elementor-element:hover .icon, 162 | .elementor-panel .elementor-element:hover .title, 163 | .elementor-panel .elementor-panel-heading-toggle, 164 | .elementor-panel .elementor-panel-heading-title, 165 | .elementor-panel .elementor-control-type-dimensions .elementor-control-dimension-label, 166 | .elementor-panel .elementor-control-type-popover_toggle .elementor-control-popover-toggle-reset-label { 167 | color: #3b3b3b; 168 | } 169 | .elementor-panel select { 170 | -moz-appearance: none; 171 | text-indent: 0.01px; 172 | text-overflow: ""; 173 | } 174 | .elementor-panel option { 175 | color: #333; 176 | } 177 | .elementor-panel .elementor-panel-heading { 178 | border-bottom: 1px solid #3b3b3b; 179 | } 180 | .elementor-panel .elementor-control.elementor-control-separator-default:before { 181 | background-color: #3b3b3b; 182 | } 183 | .elementor-panel .elementor-slider { 184 | background-color: #4d4d4d; 185 | } 186 | .elementor-panel .elementor-slider .ui-slider-handle { 187 | background-color: #9f9f9f; 188 | } 189 | input[disabled] { 190 | background-color: #535353; 191 | color: #d5d5d5; 192 | } 193 | .elementor-input-style:not(:focus), 194 | .elementor-panel input:not(:focus), 195 | .elementor-panel select:not(:focus), 196 | .elementor-panel textarea:not(:focus) { 197 | border-color: #565656; 198 | } 199 | .elementor-input-style:focus, 200 | .elementor-panel select:focus, 201 | .elementor-panel textarea:focus, 202 | .elementor-panel input:focus { 203 | border-color: #666666; 204 | } 205 | .elementor-panel .elementor-control-type-tab.elementor-tab-active { 206 | background-color: #ceb584; 207 | } 208 | .elementor-panel .elementor-control-type-tab { 209 | border-color: #ceb584; 210 | } 211 | .elementor-panel .elementor-control-type-tab:first-child { 212 | border-left-color: #ceb584; 213 | } 214 | .elementor-panel .elementor-control-type-dimensions li .elementor-link-dimensions, 215 | .elementor-panel .elementor-control-type-dimensions li input { 216 | border-color: #bca478; 217 | border-left-color: #bca478; 218 | } 219 | .elementor-panel .elementor-choices input:not(:checked) + .elementor-choices-label { 220 | color: #3b3b3b; 221 | } 222 | .elementor-panel .elementor-control-type-url .elementor-input[data-setting="url"]:not(:focus) + .elementor-control-url-more, 223 | .elementor-panel .elementor-control-type-url input[type="url"]:not(:focus) + .elementor-control-url-more { 224 | border-color: #3b3b3b; 225 | } 226 | .elementor-panel .wp-picker-container.wp-picker-active { 227 | background-color: #bca478; 228 | border: solid #bca478; 229 | } 230 | /* SETTINGS MENU */ 231 | .elementor-panel .elementor-panel-menu-item:not(:hover), 232 | .elementor-panel .elementor-panel-scheme-buttons, 233 | .elementor-panel .elementor-panel-box { 234 | background-color: transparent; 235 | } 236 | 237 | /* FOTTER PANEL */ 238 | .elementor-panel #elementor-panel-footer { 239 | background-color: #7a5512; 240 | } 241 | 242 | .elementor-panel .elementor-panel-footer-tool { 243 | color: #f4f4f4; 244 | } 245 | 246 | .elementor-button.elementor-button-success:not([disabled]), .elementor-panel .elementor-button#elementor-panel-saver-publish:not([disabled]) { 247 | background-color: #f4f4f4; 248 | color: #556068; 249 | } 250 | 251 | .elementor-panel #elementor-panel-saver-save-options { 252 | border-left-color: #7a5512; 253 | } 254 | .elementor-panel .elementor-controls-popover { 255 | background-color: #7a5512; 256 | } 257 | /* v2 Related Styles */ 258 | #elementor-theme-builder-conditions__publish { 259 | background-color: #a4afb7; 260 | } 261 | #elementor-theme-builder-conditions__publish:hover { 262 | background-color: #1f1f26; 263 | } 264 | 265 | .elementor-panel .panel-elements-category-title { 266 | background-color: rgba(122,85,18,0.07); 267 | color: #cccccc; 268 | } 269 | 270 | #granular-top-bar { 271 | background-color: #7a5512; 272 | color: #f4f4f4; 273 | } 274 | 275 | #granular-top-bar .exit-to-dashboard { 276 | background-color: #aa7b1d; 277 | color: #f4f4f4; 278 | } 279 | 280 | #granular-top-bar .view-live-page { 281 | background-color: #aa7b1d; 282 | color: #f4f4f4; 283 | } 284 | 285 | .eicon-edd-single:before, 286 | .eicon-designer-edd:before, 287 | .eicon-designer-scroll:before, 288 | .eicon-designer-frameit:before, 289 | .eicon-designer-preview:before, 290 | .eicon-designer-designfolio:before { 291 | color: #ffffff; 292 | } -------------------------------------------------------------------------------- /assets/css/elementor-gred-skin.css: -------------------------------------------------------------------------------- 1 | /* BODY */ 2 | .elementor-panel#elementor-panel, 3 | .elementor-panel .elementor-control { 4 | background: #590013; 5 | color: #f4f4f4; 6 | } 7 | /* MAIN ELEMENT */ 8 | .elementor-panel .elementor-element { 9 | background-color: rgba(0,0,0,0.1); 10 | } 11 | 12 | .elementor-panel .elementor-control-type-structure .elementor-control-structure-title:before, 13 | .elementor-panel .elementor-control-type-structure .elementor-control-structure-more-presets-title:before { 14 | background-color: #181c21; 15 | } 16 | 17 | .elementor-panel .elementor-control-type-structure .elementor-control-structure-title:after, 18 | .elementor-panel .elementor-control-type-structure .elementor-control-structure-more-presets-title:after { 19 | background-color: #3b3b3b; 20 | } 21 | 22 | .elementor-panel .elementor-control-type-structure .elementor-control-structure-title, 23 | .elementor-panel .elementor-control-type-structure .elementor-control-structure-more-presets-title { 24 | color: #ccc; 25 | } 26 | 27 | .elementor-panel .elementor-control-type-structure .elementor-control-structure-preset { 28 | border: 1px solid #3b3b3b; 29 | } 30 | 31 | .elementor-panel .elementor-control-type-structure .elementor-control-structure-preset path { 32 | fill: #181c21; 33 | } 34 | 35 | .elementor-panel .elementor-control-type-switcher .elementor-switch-label { 36 | background: #434551; 37 | } 38 | 39 | .elementor-panel .elementor-control-type-switcher .elementor-switch-input:checked ~ .elementor-switch-label { 40 | background: #808080; 41 | } 42 | 43 | .elementor-panel .elementor-responsive-switcher { 44 | background-color: transparent; 45 | } 46 | 47 | .elementor-panel .elementor-responsive-switcher { 48 | -webkit-border-radius: 3px; 49 | border-radius: 3px; 50 | } 51 | 52 | .elementor-device-mobile .elementor-panel .elementor-responsive-switcher-mobile, 53 | .elementor-device-tablet .elementor-panel .elementor-responsive-switcher-tablet { 54 | background-color: #666;; 55 | } 56 | 57 | /* NAV PANEL */ 58 | .elementor-panel .elementor-panel-navigation { 59 | background-color: #590013; 60 | } 61 | .elementor-panel .elementor-panel-navigation .elementor-panel-navigation-tab a { 62 | color: #c8c8c8;; 63 | } 64 | .elementor-panel .elementor-panel-navigation .elementor-panel-navigation-tab.active, 65 | .elementor-panel .elementor-panel-navigation .elementor-panel-navigation-tab.elementor-active { 66 | background-image: -webkit-gradient(linear,left top,left bottom,from(#ffffff1a),to(#ffffff1a)); 67 | background-image: -webkit-linear-gradient(top,#ffffff1a,#ffffff1a); 68 | background-image: -o-linear-gradient(top,#ffffff1a,#ffffff1a); 69 | background-image: linear-gradient(180deg,#ffffff1a,#ffffff1a); 70 | border-bottom: 3px solid #300010; 71 | } 72 | 73 | input#elementor-panel-elements-search-input:focus { 74 | background-color: hsla(340, 100%, 9%, 0.7) !important; 75 | } 76 | 77 | /* ANIMATION SELECTOR */ 78 | .select2-container--default .select2-selection--single { 79 | background-color: #23282d; 80 | border: 1px solid #565656; 81 | } 82 | .select2-container--default .select2-selection--single .select2-selection__rendered { 83 | color: #ccc; 84 | } 85 | .select2-dropdown { 86 | background-color: #3f4347; 87 | border: 1px solid #565656; 88 | } 89 | .select2-container--default .select2-search--dropdown .select2-search__field { 90 | color: #ccc; 91 | } 92 | .select2-results__group, 93 | .select2-results__option { 94 | color: #ccc; 95 | } 96 | .select2-container--default .select2-results__option[aria-selected="true"] { 97 | background-color: #e0e0e0 ; 98 | color: #333; 99 | } 100 | .select2-container--default .select2-results__option--highlighted[aria-selected="true"]{ 101 | background-color: #e0e0e0 ; 102 | color: #333; 103 | } 104 | .select2-container--default .select2-results__option--highlighted { 105 | background-color: #595959; 106 | color: #fff; 107 | } 108 | .elementor-panel .elementor-control-type-dimensions .elementor-link-dimensions.unlinked { 109 | background-color: #bfbfbf; 110 | border: 1px solid #565656; 111 | } 112 | .elementor-panel .elementor-control-type-dimensions .elementor-link-dimensions:not(.unlinked) { 113 | background-color: #444; 114 | border: 1px solid #565656; 115 | } 116 | .elementor-panel .elementor-choices input:not(:checked) + .elementor-choices-label { 117 | background-color: #590013; 118 | 119 | } 120 | .elementor-panel .elementor-choices input:checked + .elementor-choices-label { 121 | background-color: #7d7d7d; 122 | color: #ccc; 123 | } 124 | 125 | .elementor-panel .elementor-control.elementor-control-separator-before:before { 126 | background-color: #181c21; 127 | color: #ccc; 128 | } 129 | 130 | /* COLOR SELECTOR */ 131 | .elementor-panel .wp-picker-clear.button, .elementor-panel .wp-picker-default.button { 132 | background-color: #300010; 133 | } 134 | .elementor-panel .wp-picker-container.wp-picker-active { 135 | background-color: #2e3235; 136 | border: solid #fff0; 137 | } 138 | .iris-border { 139 | background-color: #fff0; 140 | } 141 | 142 | #elementor-mode-switcher, 143 | body.elementor-editor-preview #elementor-mode-switcher { 144 | background-color: #300010; 145 | } 146 | 147 | #elementor-mode-switcher:hover { 148 | background-color: #bf0505; 149 | } 150 | 151 | .elementor-panel #elementor-panel-header { 152 | background-color: #300010; 153 | } 154 | 155 | .elementor-panel .elementor-element .icon, 156 | .elementor-panel .elementor-element .title, 157 | .elementor-panel .elementor-element:hover .icon, 158 | .elementor-panel .elementor-element:hover .title, 159 | .elementor-panel .elementor-panel-heading-toggle, 160 | .elementor-panel .elementor-panel-heading-title, 161 | .elementor-input-style, 162 | .elementor-panel input, 163 | .elementor-panel select, 164 | .elementor-panel textarea { 165 | color: #f4f4f4; 166 | } 167 | 168 | .elementor-panel select { 169 | -moz-appearance: none; 170 | text-indent: 0.01px; 171 | text-overflow: ""; 172 | } 173 | 174 | .elementor-panel option { 175 | color: #333; 176 | } 177 | 178 | .elementor-panel .elementor-panel-heading { 179 | border-bottom: 1px solid #3b3b3b; 180 | } 181 | 182 | .elementor-panel .elementor-control.elementor-control-separator-default:before { 183 | background-color: #3b3b3b; 184 | } 185 | 186 | .elementor-panel .elementor-slider { 187 | background-color: #4d4d4d; 188 | } 189 | 190 | .elementor-panel .elementor-slider .ui-slider-handle { 191 | background-color: #9f9f9f; 192 | } 193 | 194 | input[disabled] { 195 | background-color: #535353; 196 | color: #d5d5d5; 197 | } 198 | 199 | .elementor-input-style:not(:focus), 200 | .elementor-panel input:not(:focus), 201 | .elementor-panel select:not(:focus), 202 | .elementor-panel textarea:not(:focus) { 203 | border-color: #565656; 204 | } 205 | 206 | .elementor-input-style:focus, 207 | .elementor-panel select:focus, 208 | .elementor-panel textarea:focus, 209 | .elementor-panel input:focus { 210 | border-color: #666; 211 | } 212 | 213 | 214 | /* SETTINGS MENU */ 215 | .elementor-panel .elementor-panel-menu-item:not(:hover), 216 | .elementor-panel .elementor-panel-scheme-buttons, 217 | .elementor-panel .elementor-panel-box { 218 | background-color: transparent; 219 | } 220 | 221 | /* FOTTER PANEL */ 222 | .elementor-panel #elementor-panel-footer { 223 | background-color: #300010; 224 | } 225 | 226 | .elementor-panel .elementor-panel-footer-tool { 227 | color: #f4f4f4; 228 | } 229 | 230 | .elementor-panel #elementor-panel-footer-save .elementor-button { 231 | background-color: #f4f4f4; 232 | color: #556068; 233 | } 234 | 235 | .elementor-button.elementor-button-success:not([disabled]), .elementor-panel .elementor-button#elementor-panel-saver-publish:not([disabled]) { 236 | background-color: #f4f4f4; 237 | color: #556068; 238 | } 239 | 240 | .elementor-panel #elementor-panel-saver-save-options { 241 | border-left-color: #300010; 242 | } 243 | .elementor-panel .elementor-controls-popover { 244 | background-color: #300010; 245 | } 246 | /* v2 Related Styles */ 247 | #elementor-theme-builder-conditions__publish { 248 | background-color: #a4afb7; 249 | } 250 | #elementor-theme-builder-conditions__publish:hover { 251 | background-color: #1f1f26; 252 | } 253 | 254 | .elementor-panel .panel-elements-category-title { 255 | background-color: rgba(48,0,16,0.07); 256 | color: #cccccc; 257 | } 258 | 259 | #granular-top-bar { 260 | background-color: #300010; 261 | color: #f4f4f4; 262 | } 263 | 264 | #granular-top-bar .exit-to-dashboard { 265 | background-color: #590013; 266 | color: #f4f4f4; 267 | } 268 | 269 | #granular-top-bar .view-live-page { 270 | background-color: #590013; 271 | color: #f4f4f4; 272 | } 273 | 274 | .eicon-edd-single:before, 275 | .eicon-designer-edd:before, 276 | .eicon-designer-scroll:before, 277 | .eicon-designer-frameit:before, 278 | .eicon-designer-preview:before, 279 | .eicon-designer-designfolio:before { 280 | color: #ffffff; 281 | } -------------------------------------------------------------------------------- /assets/css/elementor-lgrunge-skin.css: -------------------------------------------------------------------------------- 1 | /* BODY */ 2 | .elementor-panel#elementor-panel, 3 | .elementor-panel .elementor-control { 4 | background: #dcc9a1; 5 | color: #3b3b3b; 6 | 7 | } 8 | 9 | /* MAIN ELEMENT */ 10 | .elementor-panel .elementor-element { 11 | background-color: rgba(0,0,0,0.1); 12 | } 13 | 14 | .elementor-panel .elementor-control-type-structure .elementor-control-structure-title:before, 15 | .elementor-panel .elementor-control-type-structure .elementor-control-structure-more-presets-title:before { 16 | background-color: #181c21; 17 | } 18 | 19 | .elementor-panel .elementor-control-type-structure .elementor-control-structure-title:after, 20 | .elementor-panel .elementor-control-type-structure .elementor-control-structure-more-presets-title:after { 21 | background-color: #3b3b3b; 22 | } 23 | 24 | .elementor-panel .elementor-control-type-structure .elementor-control-structure-title, 25 | .elementor-panel .elementor-control-type-structure .elementor-control-structure-more-presets-title { 26 | color: #ccc; 27 | } 28 | 29 | .elementor-panel .elementor-control-type-structure .elementor-control-structure-preset { 30 | border: 1px solid #3b3b3b; 31 | } 32 | 33 | .elementor-panel .elementor-control-type-structure .elementor-control-structure-preset path { 34 | fill: #181c21; 35 | } 36 | 37 | .elementor-panel .elementor-control-type-switcher .elementor-switch-label { 38 | background: #434551; 39 | } 40 | 41 | .elementor-panel .elementor-control-type-switcher .elementor-switch-input:checked ~ .elementor-switch-label { 42 | background: #808080; 43 | } 44 | 45 | .elementor-panel .elementor-responsive-switcher { 46 | background-color: transparent; 47 | } 48 | 49 | .elementor-panel .elementor-responsive-switcher { 50 | -webkit-border-radius: 3px; 51 | border-radius: 3px; 52 | } 53 | 54 | .elementor-device-mobile .elementor-panel .elementor-responsive-switcher-mobile, 55 | .elementor-device-tablet .elementor-panel .elementor-responsive-switcher-tablet { 56 | background-color: #666; 57 | } 58 | 59 | /* NAV PANEL */ 60 | .elementor-panel .elementor-panel-navigation { 61 | background-color: #ceb584; 62 | } 63 | .elementor-panel .elementor-panel-navigation .elementor-panel-navigation-tab a { 64 | color: #6d7882; 65 | } 66 | .elementor-panel .elementor-panel-navigation .elementor-panel-navigation-tab.active, 67 | .elementor-panel .elementor-panel-navigation .elementor-panel-navigation-tab.elementor-active { 68 | background-image: -webkit-gradient(linear,left top,left bottom,from(#ffffff1a),to(#ffffff1a)); 69 | background-image: -webkit-linear-gradient(top,#ffffff1a,#ffffff1a); 70 | background-image: -o-linear-gradient(top,#ffffff1a,#ffffff1a); 71 | background-image: linear-gradient(180deg,#ffffff1a,#ffffff1a); 72 | border-bottom: 3px solid #ceb584; 73 | } 74 | 75 | input#elementor-panel-elements-search-input:focus { 76 | background-color: hsla(41, 46%, 75%, 0.7) !important; 77 | } 78 | 79 | /* ANIMATION SELECTOR */ 80 | .select2-container--default .select2-selection--single { 81 | background-color: #23282d; 82 | border: 1px solid #565656; 83 | } 84 | .select2-container--default .select2-selection--single .select2-selection__rendered { 85 | color: #ccc; 86 | } 87 | .select2-dropdown { 88 | background-color: #3f4347; 89 | border: 1px solid #565656; 90 | } 91 | .select2-container--default .select2-search--dropdown .select2-search__field { 92 | color: #ccc; 93 | } 94 | .select2-results__group, 95 | .select2-results__option { 96 | color: #ccc; 97 | } 98 | .select2-container--default .select2-results__option[aria-selected="true"] { 99 | background-color: #e0e0e0 ; 100 | color: #333; 101 | } 102 | .select2-container--default .select2-results__option--highlighted[aria-selected="true"]{ 103 | background-color: #e0e0e0 ; 104 | color: #333; 105 | } 106 | .select2-container--default .select2-results__option--highlighted { 107 | background-color: #595959; 108 | color: #fff; 109 | } 110 | .elementor-panel .elementor-control-type-dimensions .elementor-link-dimensions.unlinked { 111 | background-color: #bfbfbf; 112 | border: 1px solid #565656; 113 | } 114 | .elementor-panel .elementor-control-type-dimensions .elementor-link-dimensions:not(.unlinked) { 115 | background-color: #ceb584; 116 | border: 1px solid #ceb584; 117 | } 118 | .elementor-panel .elementor-choices input:not(:checked) + .elementor-choices-label { 119 | background-color: #dcc9a1; 120 | 121 | } 122 | .elementor-panel .elementor-choices input:checked + .elementor-choices-label { 123 | background-color: #7d7d7d; 124 | color: #ccc; 125 | } 126 | 127 | .elementor-panel .elementor-control.elementor-control-separator-before:before { 128 | background-color: #181c21; 129 | color: #ccc; 130 | } 131 | 132 | /* COLOR SELECTOR */ 133 | .elementor-panel .wp-picker-clear.button, .elementor-panel .wp-picker-default.button { 134 | background-color: #ceb584; 135 | height: 30px; 136 | } 137 | .elementor-panel .wp-picker-container.wp-picker-active { 138 | background-color: #2e3235; 139 | border: solid #fff0; 140 | } 141 | .iris-border { 142 | background-color: #fff0; 143 | } 144 | 145 | #elementor-mode-switcher, 146 | body.elementor-editor-preview #elementor-mode-switcher { 147 | background-color: #ceb584; 148 | } 149 | 150 | #elementor-mode-switcher:hover { 151 | background-color: #dcc9a1; 152 | } 153 | 154 | .elementor-panel #elementor-panel-header { 155 | background-color: #ceb584; 156 | } 157 | 158 | .elementor-input-style, 159 | .elementor-panel input, 160 | .elementor-panel select, 161 | .elementor-panel textarea, 162 | .elementor-panel .elementor-element .icon, 163 | .elementor-panel .elementor-element .title, 164 | .elementor-panel .elementor-element:hover .icon, 165 | .elementor-panel .elementor-element:hover .title, 166 | .elementor-panel .elementor-panel-heading-toggle, 167 | .elementor-panel .elementor-panel-heading-title, 168 | .elementor-panel .elementor-control-type-dimensions .elementor-control-dimension-label, 169 | .elementor-panel .elementor-control-type-popover_toggle .elementor-control-popover-toggle-reset-label { 170 | color: #3b3b3b; 171 | } 172 | .elementor-panel select { 173 | -moz-appearance: none; 174 | text-indent: 0.01px; 175 | text-overflow: ""; 176 | } 177 | .elementor-panel option { 178 | color: #333; 179 | } 180 | .elementor-panel .elementor-panel-heading { 181 | border-bottom: 1px solid #3b3b3b; 182 | } 183 | .elementor-panel .elementor-control.elementor-control-separator-default:before { 184 | background-color: #3b3b3b; 185 | } 186 | .elementor-panel .elementor-slider { 187 | background-color: #4d4d4d; 188 | } 189 | .elementor-panel .elementor-slider .ui-slider-handle { 190 | background-color: #9f9f9f; 191 | } 192 | input[disabled] { 193 | background-color: #535353; 194 | color: #d5d5d5; 195 | } 196 | .elementor-input-style:not(:focus), 197 | .elementor-panel input:not(:focus), 198 | .elementor-panel select:not(:focus), 199 | .elementor-panel textarea:not(:focus) { 200 | border-color: #565656; 201 | } 202 | .elementor-input-style:focus, 203 | .elementor-panel select:focus, 204 | .elementor-panel textarea:focus, 205 | .elementor-panel input:focus { 206 | border-color: #666666; 207 | } 208 | .elementor-panel .elementor-control-type-tab.elementor-tab-active { 209 | background-color: #ceb584; 210 | } 211 | .elementor-panel .elementor-control-type-tab { 212 | border-color: #ceb584; 213 | } 214 | .elementor-panel .elementor-control-type-tab:first-child { 215 | border-left-color: #ceb584; 216 | } 217 | .elementor-panel .elementor-control-type-dimensions li .elementor-link-dimensions, 218 | .elementor-panel .elementor-control-type-dimensions li input { 219 | border-color: #bca478; 220 | border-left-color: #bca478; 221 | } 222 | .elementor-panel .elementor-choices input:not(:checked) + .elementor-choices-label { 223 | color: #3b3b3b; 224 | } 225 | .elementor-panel .elementor-control-type-url .elementor-input[data-setting="url"]:not(:focus) + .elementor-control-url-more, 226 | .elementor-panel .elementor-control-type-url input[type="url"]:not(:focus) + .elementor-control-url-more { 227 | border-color: #3b3b3b; 228 | } 229 | .elementor-panel .wp-picker-container.wp-picker-active { 230 | background-color: #bca478; 231 | border: solid #bca478; 232 | } 233 | /* SETTINGS MENU */ 234 | .elementor-panel .elementor-panel-menu-item:not(:hover), 235 | .elementor-panel .elementor-panel-scheme-buttons, 236 | .elementor-panel .elementor-panel-box { 237 | background-color: transparent; 238 | } 239 | 240 | /* FOTTER PANEL */ 241 | .elementor-panel #elementor-panel-footer { 242 | background-color: #ceb584; 243 | } 244 | 245 | .elementor-panel .elementor-panel-footer-tool { 246 | color: #f4f4f4; 247 | } 248 | 249 | .elementor-button.elementor-button-success:not([disabled]), .elementor-panel .elementor-button#elementor-panel-saver-publish:not([disabled]) { 250 | background-color: #f4f4f4; 251 | color: #556068; 252 | } 253 | 254 | .elementor-panel #elementor-panel-saver-save-options { 255 | border-left-color: #ceb584; 256 | } 257 | .elementor-panel .elementor-controls-popover { 258 | background-color: #ceb584; 259 | } 260 | /* v2 Related Styles */ 261 | #elementor-theme-builder-conditions__publish { 262 | background-color: #a4afb7; 263 | } 264 | #elementor-theme-builder-conditions__publish:hover { 265 | background-color: #1f1f26; 266 | } 267 | 268 | .elementor-panel .panel-elements-category-title { 269 | background-color: rgba(206,181,132,0.07); 270 | color: #3b3b3b; 271 | } 272 | 273 | #granular-top-bar { 274 | background-color: #ceb584; 275 | color: #f4f4f4; 276 | } 277 | 278 | #granular-top-bar .exit-to-dashboard { 279 | background-color: #dcc9a1; 280 | color: #f4f4f4; 281 | } 282 | 283 | #granular-top-bar .view-live-page { 284 | background-color: #dcc9a1; 285 | color: #f4f4f4; 286 | } 287 | 288 | .eicon-edd-single:before, 289 | .eicon-designer-edd:before, 290 | .eicon-designer-scroll:before, 291 | .eicon-designer-frameit:before, 292 | .eicon-designer-preview:before, 293 | .eicon-designer-designfolio:before { 294 | color: #ffffff; 295 | } -------------------------------------------------------------------------------- /assets/css/elementor-purple-skin.css: -------------------------------------------------------------------------------- 1 | /* BODY */ 2 | .elementor-panel#elementor-panel, 3 | .elementor-panel .elementor-control { 4 | background: #9e078c; 5 | color: #f4f4f4; 6 | 7 | } 8 | 9 | /* MAIN ELEMENT */ 10 | .elementor-panel .elementor-element { 11 | background-color: rgba(0,0,0,0.1); 12 | } 13 | 14 | .elementor-panel .elementor-control-type-structure .elementor-control-structure-title:before, 15 | .elementor-panel .elementor-control-type-structure .elementor-control-structure-more-presets-title:before { 16 | background-color: #181c21; 17 | } 18 | 19 | .elementor-panel .elementor-control-type-structure .elementor-control-structure-title:after, 20 | .elementor-panel .elementor-control-type-structure .elementor-control-structure-more-presets-title:after { 21 | background-color: #3b3b3b; 22 | } 23 | 24 | .elementor-panel .elementor-control-type-structure .elementor-control-structure-title, 25 | .elementor-panel .elementor-control-type-structure .elementor-control-structure-more-presets-title { 26 | color: #ccc; 27 | } 28 | 29 | .elementor-panel .elementor-control-type-structure .elementor-control-structure-preset { 30 | border: 1px solid #3b3b3b; 31 | } 32 | 33 | .elementor-panel .elementor-control-type-structure .elementor-control-structure-preset path { 34 | fill: #181c21; 35 | } 36 | 37 | .elementor-panel .elementor-control-type-switcher .elementor-switch-label { 38 | background: #434551; 39 | } 40 | 41 | .elementor-panel .elementor-control-type-switcher .elementor-switch-input:checked ~ .elementor-switch-label { 42 | background: #808080; 43 | } 44 | 45 | .elementor-panel .elementor-responsive-switcher { 46 | background-color: transparent; 47 | } 48 | 49 | .elementor-panel .elementor-responsive-switcher { 50 | -webkit-border-radius: 3px; 51 | border-radius: 3px; 52 | } 53 | 54 | .elementor-device-mobile .elementor-panel .elementor-responsive-switcher-mobile, 55 | .elementor-device-tablet .elementor-panel .elementor-responsive-switcher-tablet { 56 | background-color: #666;; 57 | } 58 | 59 | /* NAV PANEL */ 60 | .elementor-panel .elementor-panel-navigation { 61 | background-color: #9e078c; 62 | } 63 | .elementor-panel .elementor-panel-navigation .elementor-panel-navigation-tab a { 64 | color: #c8c8c8;; 65 | } 66 | .elementor-panel .elementor-panel-navigation .elementor-panel-navigation-tab.active, 67 | .elementor-panel .elementor-panel-navigation .elementor-panel-navigation-tab.elementor-active { 68 | background-image: -webkit-gradient(linear,left top,left bottom,from(#ffffff1a),to(#ffffff1a)); 69 | background-image: -webkit-linear-gradient(top,#ffffff1a,#ffffff1a); 70 | background-image: -o-linear-gradient(top,#ffffff1a,#ffffff1a); 71 | background-image: linear-gradient(180deg,#ffffff1a,#ffffff1a); 72 | border-bottom: 3px solid #890077; 73 | } 74 | 75 | input#elementor-panel-elements-search-input:focus { 76 | background-color: hsla(308, 100%, 27%, 0.7) !important; 77 | } 78 | 79 | /* ANIMATION SELECTOR */ 80 | .select2-container--default .select2-selection--single { 81 | background-color: #23282d; 82 | border: 1px solid #565656; 83 | } 84 | .select2-container--default .select2-selection--single .select2-selection__rendered { 85 | color: #ccc; 86 | } 87 | .select2-dropdown { 88 | background-color: #3f4347; 89 | border: 1px solid #565656; 90 | } 91 | .select2-container--default .select2-search--dropdown .select2-search__field { 92 | color: #ccc; 93 | } 94 | .select2-results__group, 95 | .select2-results__option { 96 | color: #ccc; 97 | } 98 | .select2-container--default .select2-results__option[aria-selected="true"] { 99 | background-color: #e0e0e0 ; 100 | color: #333; 101 | } 102 | .select2-container--default .select2-results__option--highlighted[aria-selected="true"]{ 103 | background-color: #e0e0e0 ; 104 | color: #333; 105 | } 106 | .select2-container--default .select2-results__option--highlighted { 107 | background-color: #595959; 108 | color: #fff; 109 | } 110 | .elementor-panel .elementor-control-type-dimensions .elementor-link-dimensions.unlinked { 111 | background-color: #bfbfbf; 112 | border: 1px solid #565656; 113 | } 114 | .elementor-panel .elementor-control-type-dimensions .elementor-link-dimensions:not(.unlinked) { 115 | background-color: #444; 116 | border: 1px solid #565656; 117 | } 118 | .elementor-panel .elementor-choices input:not(:checked) + .elementor-choices-label { 119 | background-color: #9e078c; 120 | 121 | } 122 | .elementor-panel .elementor-choices input:checked + .elementor-choices-label { 123 | background-color: #7d7d7d; 124 | color: #ccc; 125 | } 126 | 127 | .elementor-panel .elementor-control.elementor-control-separator-before:before { 128 | background-color: #181c21; 129 | color: #ccc; 130 | } 131 | 132 | /* COLOR SELECTOR */ 133 | .elementor-panel .wp-picker-clear.button, .elementor-panel .wp-picker-default.button { 134 | background-color: #890077; 135 | } 136 | .elementor-panel .wp-picker-container.wp-picker-active { 137 | background-color: #2e3235; 138 | border: solid #fff0; 139 | } 140 | .iris-border { 141 | background-color: #fff0; 142 | } 143 | 144 | #elementor-mode-switcher, 145 | body.elementor-editor-preview #elementor-mode-switcher { 146 | background-color: #890077; 147 | } 148 | 149 | #elementor-mode-switcher:hover { 150 | background-color: #aa0394; 151 | } 152 | 153 | .elementor-panel #elementor-panel-header { 154 | background-color: #890077; 155 | } 156 | 157 | .elementor-panel .elementor-element .icon, 158 | .elementor-panel .elementor-element .title, 159 | .elementor-panel .elementor-element:hover .icon, 160 | .elementor-panel .elementor-element:hover .title, 161 | .elementor-panel .elementor-panel-heading-toggle, 162 | .elementor-panel .elementor-panel-heading-title, 163 | .elementor-input-style, 164 | .elementor-panel input, 165 | .elementor-panel select, 166 | .elementor-panel textarea { 167 | color: #f4f4f4; 168 | } 169 | 170 | .elementor-panel select { 171 | -moz-appearance: none; 172 | text-indent: 0.01px; 173 | text-overflow: ""; 174 | } 175 | 176 | .elementor-panel option { 177 | color: #333; 178 | } 179 | 180 | .elementor-panel .elementor-panel-heading { 181 | border-bottom: 1px solid #3b3b3b; 182 | } 183 | 184 | .elementor-panel .elementor-control.elementor-control-separator-default:before { 185 | background-color: #3b3b3b; 186 | } 187 | 188 | .elementor-panel .elementor-slider { 189 | background-color: #4d4d4d; 190 | } 191 | 192 | .elementor-panel .elementor-slider .ui-slider-handle { 193 | background-color: #9f9f9f; 194 | } 195 | 196 | input[disabled] { 197 | background-color: #535353; 198 | color: #d5d5d5; 199 | } 200 | 201 | .elementor-input-style:not(:focus), 202 | .elementor-panel input:not(:focus), 203 | .elementor-panel select:not(:focus), 204 | .elementor-panel textarea:not(:focus) { 205 | border-color: #565656; 206 | } 207 | 208 | .elementor-input-style:focus, 209 | .elementor-panel select:focus, 210 | .elementor-panel textarea:focus, 211 | .elementor-panel input:focus { 212 | border-color: #666; 213 | } 214 | 215 | 216 | /* SETTINGS MENU */ 217 | .elementor-panel .elementor-panel-menu-item:not(:hover), 218 | .elementor-panel .elementor-panel-scheme-buttons, 219 | .elementor-panel .elementor-panel-box { 220 | background-color: transparent; 221 | } 222 | 223 | /* FOTTER PANEL */ 224 | .elementor-panel #elementor-panel-footer { 225 | background-color: #890077; 226 | } 227 | 228 | .elementor-panel .elementor-panel-footer-tool { 229 | color: #f4f4f4; 230 | } 231 | 232 | .elementor-button.elementor-button-success:not([disabled]), .elementor-panel .elementor-button#elementor-panel-saver-publish:not([disabled]) { 233 | background-color: #f4f4f4; 234 | color: #556068; 235 | } 236 | 237 | .elementor-panel #elementor-panel-saver-save-options { 238 | border-left-color: #890077; 239 | } 240 | .elementor-panel .elementor-controls-popover { 241 | background-color: #890077; 242 | } 243 | 244 | /* v2 Related Styles */ 245 | #elementor-theme-builder-conditions__publish { 246 | background-color: #a4afb7; 247 | } 248 | #elementor-theme-builder-conditions__publish:hover { 249 | background-color: #1f1f26; 250 | } 251 | 252 | .elementor-panel .panel-elements-category-title { 253 | background-color: rgba(137,0,119,0.07); 254 | color: #cccccc; 255 | } 256 | 257 | #granular-top-bar { 258 | background-color: #890077; 259 | color: #f4f4f4; 260 | } 261 | 262 | #granular-top-bar .exit-to-dashboard { 263 | background-color: #9e078c; 264 | color: #f4f4f4; 265 | } 266 | 267 | #granular-top-bar .view-live-page { 268 | background-color: #9e078c; 269 | color: #f4f4f4; 270 | } 271 | 272 | .eicon-edd-single:before, 273 | .eicon-designer-edd:before, 274 | .eicon-designer-scroll:before, 275 | .eicon-designer-frameit:before, 276 | .eicon-designer-preview:before, 277 | .eicon-designer-designfolio:before { 278 | color: #ffffff; 279 | } -------------------------------------------------------------------------------- /assets/css/elementor-red-skin.css: -------------------------------------------------------------------------------- 1 | /* BODY */ 2 | .elementor-panel#elementor-panel, 3 | .elementor-panel .elementor-control { 4 | background: #a50000; 5 | color: #f4f4f4; 6 | 7 | } 8 | 9 | /* MAIN ELEMENT */ 10 | .elementor-panel .elementor-element { 11 | background-color: rgba(0,0,0,0.1); 12 | } 13 | 14 | .elementor-panel .elementor-control-type-structure .elementor-control-structure-title:before, 15 | .elementor-panel .elementor-control-type-structure .elementor-control-structure-more-presets-title:before { 16 | background-color: #181c21; 17 | } 18 | 19 | .elementor-panel .elementor-control-type-structure .elementor-control-structure-title:after, 20 | .elementor-panel .elementor-control-type-structure .elementor-control-structure-more-presets-title:after { 21 | background-color: #3b3b3b; 22 | } 23 | 24 | .elementor-panel .elementor-control-type-structure .elementor-control-structure-title, 25 | .elementor-panel .elementor-control-type-structure .elementor-control-structure-more-presets-title { 26 | color: #ccc; 27 | } 28 | 29 | .elementor-panel .elementor-control-type-structure .elementor-control-structure-preset { 30 | border: 1px solid #3b3b3b; 31 | } 32 | 33 | .elementor-panel .elementor-control-type-structure .elementor-control-structure-preset path { 34 | fill: #181c21; 35 | } 36 | 37 | .elementor-panel .elementor-control-type-switcher .elementor-switch-label { 38 | background: #434551; 39 | } 40 | 41 | .elementor-panel .elementor-control-type-switcher .elementor-switch-input:checked ~ .elementor-switch-label { 42 | background: #808080; 43 | } 44 | 45 | .elementor-panel .elementor-responsive-switcher { 46 | background-color: transparent; 47 | } 48 | 49 | .elementor-panel .elementor-responsive-switcher { 50 | -webkit-border-radius: 3px; 51 | border-radius: 3px; 52 | } 53 | 54 | .elementor-device-mobile .elementor-panel .elementor-responsive-switcher-mobile, 55 | .elementor-device-tablet .elementor-panel .elementor-responsive-switcher-tablet { 56 | background-color: #666;; 57 | } 58 | 59 | /* NAV PANEL */ 60 | .elementor-panel .elementor-panel-navigation { 61 | background-color: #a50000; 62 | } 63 | .elementor-panel .elementor-panel-navigation .elementor-panel-navigation-tab a { 64 | color: #c8c8c8;; 65 | } 66 | .elementor-panel .elementor-panel-navigation .elementor-panel-navigation-tab.active, 67 | .elementor-panel .elementor-panel-navigation .elementor-panel-navigation-tab.elementor-active { 68 | background-image: -webkit-gradient(linear,left top,left bottom,from(#ffffff1a),to(#ffffff1a)); 69 | background-image: -webkit-linear-gradient(top,#ffffff1a,#ffffff1a); 70 | background-image: -o-linear-gradient(top,#ffffff1a,#ffffff1a); 71 | background-image: linear-gradient(180deg,#ffffff1a,#ffffff1a); 72 | border-bottom: 3px solid #8c0202; 73 | } 74 | 75 | input#elementor-panel-elements-search-input:focus { 76 | background-color: hsla(0, 97%, 28%, 0.7) !important; 77 | } 78 | 79 | /* ANIMATION SELECTOR */ 80 | .select2-container--default .select2-selection--single { 81 | background-color: #23282d; 82 | border: 1px solid #565656; 83 | } 84 | .select2-container--default .select2-selection--single .select2-selection__rendered { 85 | color: #ccc; 86 | } 87 | .select2-dropdown { 88 | background-color: #3f4347; 89 | border: 1px solid #565656; 90 | } 91 | .select2-container--default .select2-search--dropdown .select2-search__field { 92 | color: #ccc; 93 | } 94 | .select2-results__group, 95 | .select2-results__option { 96 | color: #ccc; 97 | } 98 | .select2-container--default .select2-results__option[aria-selected="true"] { 99 | background-color: #e0e0e0 ; 100 | color: #333; 101 | } 102 | .select2-container--default .select2-results__option--highlighted[aria-selected="true"]{ 103 | background-color: #e0e0e0 ; 104 | color: #333; 105 | } 106 | .select2-container--default .select2-results__option--highlighted { 107 | background-color: #595959; 108 | color: #fff; 109 | } 110 | .elementor-panel .elementor-control-type-dimensions .elementor-link-dimensions.unlinked { 111 | background-color: #bfbfbf; 112 | border: 1px solid #565656; 113 | } 114 | .elementor-panel .elementor-control-type-dimensions .elementor-link-dimensions:not(.unlinked) { 115 | background-color: #444; 116 | border: 1px solid #565656; 117 | } 118 | .elementor-panel .elementor-choices input:not(:checked) + .elementor-choices-label { 119 | background-color: #a50000; 120 | 121 | } 122 | .elementor-panel .elementor-choices input:checked + .elementor-choices-label { 123 | background-color: #7d7d7d; 124 | color: #ccc; 125 | } 126 | 127 | .elementor-panel .elementor-control.elementor-control-separator-before:before { 128 | background-color: #181c21; 129 | color: #ccc; 130 | } 131 | 132 | /* COLOR SELECTOR */ 133 | .elementor-panel .wp-picker-clear.button, .elementor-panel .wp-picker-default.button { 134 | background-color: #8c0202; 135 | } 136 | .elementor-panel .wp-picker-container.wp-picker-active { 137 | background-color: #2e3235; 138 | border: solid #fff0; 139 | } 140 | .iris-border { 141 | background-color: #fff0; 142 | } 143 | 144 | #elementor-mode-switcher, 145 | body.elementor-editor-preview #elementor-mode-switcher { 146 | background-color: #8c0202; 147 | } 148 | 149 | #elementor-mode-switcher:hover { 150 | background-color: #bf0505; 151 | } 152 | 153 | .elementor-panel #elementor-panel-header { 154 | background-color: #8c0202; 155 | } 156 | 157 | .elementor-panel .elementor-element .icon, 158 | .elementor-panel .elementor-element .title, 159 | .elementor-panel .elementor-element:hover .icon, 160 | .elementor-panel .elementor-element:hover .title, 161 | .elementor-panel .elementor-panel-heading-toggle, 162 | .elementor-panel .elementor-panel-heading-title, 163 | .elementor-input-style, 164 | .elementor-panel input, 165 | .elementor-panel select, 166 | .elementor-panel textarea { 167 | color: #f4f4f4; 168 | } 169 | 170 | .elementor-panel select { 171 | -moz-appearance: none; 172 | text-indent: 0.01px; 173 | text-overflow: ""; 174 | } 175 | 176 | .elementor-panel option { 177 | color: #333; 178 | } 179 | 180 | .elementor-panel .elementor-panel-heading { 181 | border-bottom: 1px solid #3b3b3b; 182 | } 183 | 184 | .elementor-panel .elementor-control.elementor-control-separator-default:before { 185 | background-color: #3b3b3b; 186 | } 187 | 188 | .elementor-panel .elementor-slider { 189 | background-color: #4d4d4d; 190 | } 191 | 192 | .elementor-panel .elementor-slider .ui-slider-handle { 193 | background-color: #9f9f9f; 194 | } 195 | 196 | input[disabled] { 197 | background-color: #535353; 198 | color: #d5d5d5; 199 | } 200 | 201 | .elementor-input-style:not(:focus), 202 | .elementor-panel input:not(:focus), 203 | .elementor-panel select:not(:focus), 204 | .elementor-panel textarea:not(:focus) { 205 | border-color: #565656; 206 | } 207 | 208 | .elementor-input-style:focus, 209 | .elementor-panel select:focus, 210 | .elementor-panel textarea:focus, 211 | .elementor-panel input:focus { 212 | border-color: #666; 213 | } 214 | /* SETTINGS MENU */ 215 | .elementor-panel .elementor-panel-menu-item:not(:hover), 216 | .elementor-panel .elementor-panel-scheme-buttons, 217 | .elementor-panel .elementor-panel-box { 218 | background-color: transparent; 219 | } 220 | 221 | /* FOTTER PANEL */ 222 | .elementor-panel #elementor-panel-footer { 223 | background-color: #8c0202; 224 | } 225 | 226 | .elementor-panel .elementor-panel-footer-tool { 227 | color: #f4f4f4; 228 | } 229 | 230 | .elementor-panel #elementor-panel-footer-save .elementor-button { 231 | background-color: #f4f4f4; 232 | color: #556068; 233 | } 234 | 235 | .elementor-button.elementor-button-success:not([disabled]), .elementor-panel .elementor-button#elementor-panel-saver-publish:not([disabled]) { 236 | background-color: #f4f4f4; 237 | color: #556068; 238 | } 239 | 240 | .elementor-panel #elementor-panel-saver-save-options { 241 | border-left-color: #8c0202; 242 | } 243 | .elementor-panel .elementor-controls-popover { 244 | background-color: #8c0202; 245 | } 246 | 247 | /* v2 Related Styles */ 248 | #elementor-theme-builder-conditions__publish { 249 | background-color: #a4afb7; 250 | } 251 | #elementor-theme-builder-conditions__publish:hover { 252 | background-color: #1f1f26; 253 | } 254 | 255 | .elementor-panel .panel-elements-category-title { 256 | background-color: rgba(140,2,2,0.07); 257 | color: #cccccc; 258 | } 259 | 260 | #granular-top-bar { 261 | background-color: #8c0202; 262 | color: #f4f4f4; 263 | } 264 | 265 | #granular-top-bar .exit-to-dashboard { 266 | background-color: #a50000; 267 | color: #f4f4f4; 268 | } 269 | 270 | #granular-top-bar .view-live-page { 271 | background-color: #a50000; 272 | color: #f4f4f4; 273 | } 274 | 275 | .eicon-edd-single:before, 276 | .eicon-designer-edd:before, 277 | .eicon-designer-scroll:before, 278 | .eicon-designer-frameit:before, 279 | .eicon-designer-preview:before, 280 | .eicon-designer-designfolio:before { 281 | color: #ffffff; 282 | } -------------------------------------------------------------------------------- /assets/css/granular-editor-bar.min.css: -------------------------------------------------------------------------------- 1 | #granular-top-bar { 2 | background-color: #b7084e; 3 | max-width: 600px; 4 | min-width: 130px; 5 | width: auto; 6 | height: 40px !important; 7 | color: #ffffff; 8 | position: -webkit-sticky; 9 | position: sticky; 10 | top: 100vh; 11 | left: 17.84vw; 12 | padding: 0; 13 | padding-right: 4px; 14 | z-index: 0; 15 | display: table; 16 | text-align: center; 17 | } 18 | 19 | body.elementor-editor-preview #granular-top-bar { 20 | display: none; 21 | } 22 | 23 | #granular-top-bar .left-btn, 24 | #granular-top-bar .right-btn, 25 | #granular-top-bar .view-live-page, 26 | #granular-top-bar .exit-to-dashboard { 27 | display: inline-block; 28 | padding: 10px 12px; 29 | border-radius: 3px; 30 | text-transform: uppercase; 31 | text-align: left; 32 | font-weight: 400; 33 | transition: background .3s ease, color .3s ease; 34 | } 35 | #granular-top-bar .left-btn, 36 | #granular-top-bar .right-btn { 37 | font-size: 16px; 38 | } 39 | 40 | #granular-top-bar .left-btn i { 41 | -webkit-transform: rotate(180deg); 42 | transform: rotate(180deg); 43 | } 44 | 45 | #granular-top-bar .exit-to-dashboard { 46 | background-color: #aa0346; 47 | color: #ffffff; 48 | }/* 49 | #granular-top-bar .exit-to-dashboard .granular-exit-point { 50 | margin-left: 8px; 51 | } 52 | /* 53 | #granular-top-bar .exit-to-dashboard i { 54 | margin-right: 8px; 55 | }*/ 56 | 57 | #granular-top-bar .view-live-page { 58 | background-color: #aa0346; 59 | color: #ffffff; 60 | }/* 61 | #granular-top-bar .view-live-page .granular-live-view { 62 | margin-right: 8px; 63 | } 64 | /* 65 | #granular-top-bar .view-live-page i { 66 | margin-left: 8px; 67 | }*/ 68 | .elementor-panel .panel-elements-category-title { 69 | margin: 5px 10px; 70 | padding: 15px 15px !important; 71 | background-color: #ffffff; 72 | color: #6d7882; 73 | border-radius: 3px; 74 | } -------------------------------------------------------------------------------- /assets/css/granular-onion-skin.min.css: -------------------------------------------------------------------------------- 1 | .elementor-editor-active .elementor:hover .elementor-section:not(:hover){opacity: 0.3;z-index: 0;}.elementor-editor-active .elementor-section:hover{z-index:1 !important;} -------------------------------------------------------------------------------- /assets/font-awesome/HELP-US-OUT.txt: -------------------------------------------------------------------------------- 1 | I hope you love Font Awesome. If you've found it useful, please do me a favor and check out my latest project, 2 | Fort Awesome (https://fortawesome.com). It makes it easy to put the perfect icons on your website. Choose from our awesome, 3 | comprehensive icon sets or copy and paste your own. 4 | 5 | Please. Check it out. 6 | 7 | -Dave Gandy 8 | -------------------------------------------------------------------------------- /assets/font-awesome/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/norewp/granular-controls-elementor/51ff9de3f3fd862f5b2767ea22b16390bdf132a4/assets/font-awesome/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /assets/font-awesome/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/norewp/granular-controls-elementor/51ff9de3f3fd862f5b2767ea22b16390bdf132a4/assets/font-awesome/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /assets/font-awesome/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/norewp/granular-controls-elementor/51ff9de3f3fd862f5b2767ea22b16390bdf132a4/assets/font-awesome/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /assets/font-awesome/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/norewp/granular-controls-elementor/51ff9de3f3fd862f5b2767ea22b16390bdf132a4/assets/font-awesome/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /assets/font-awesome/fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/norewp/granular-controls-elementor/51ff9de3f3fd862f5b2767ea22b16390bdf132a4/assets/font-awesome/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /assets/font-awesome/less/animated.less: -------------------------------------------------------------------------------- 1 | // Animated Icons 2 | // -------------------------- 3 | 4 | .@{fa-css-prefix}-spin { 5 | -webkit-animation: fa-spin 2s infinite linear; 6 | animation: fa-spin 2s infinite linear; 7 | } 8 | 9 | .@{fa-css-prefix}-pulse { 10 | -webkit-animation: fa-spin 1s infinite steps(8); 11 | animation: fa-spin 1s infinite steps(8); 12 | } 13 | 14 | @-webkit-keyframes fa-spin { 15 | 0% { 16 | -webkit-transform: rotate(0deg); 17 | transform: rotate(0deg); 18 | } 19 | 100% { 20 | -webkit-transform: rotate(359deg); 21 | transform: rotate(359deg); 22 | } 23 | } 24 | 25 | @keyframes fa-spin { 26 | 0% { 27 | -webkit-transform: rotate(0deg); 28 | transform: rotate(0deg); 29 | } 30 | 100% { 31 | -webkit-transform: rotate(359deg); 32 | transform: rotate(359deg); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /assets/font-awesome/less/bordered-pulled.less: -------------------------------------------------------------------------------- 1 | // Bordered & Pulled 2 | // ------------------------- 3 | 4 | .@{fa-css-prefix}-border { 5 | padding: .2em .25em .15em; 6 | border: solid .08em @fa-border-color; 7 | border-radius: .1em; 8 | } 9 | 10 | .@{fa-css-prefix}-pull-left { float: left; } 11 | .@{fa-css-prefix}-pull-right { float: right; } 12 | 13 | .@{fa-css-prefix} { 14 | &.@{fa-css-prefix}-pull-left { margin-right: .3em; } 15 | &.@{fa-css-prefix}-pull-right { margin-left: .3em; } 16 | } 17 | 18 | /* Deprecated as of 4.4.0 */ 19 | .pull-right { float: right; } 20 | .pull-left { float: left; } 21 | 22 | .@{fa-css-prefix} { 23 | &.pull-left { margin-right: .3em; } 24 | &.pull-right { margin-left: .3em; } 25 | } 26 | -------------------------------------------------------------------------------- /assets/font-awesome/less/core.less: -------------------------------------------------------------------------------- 1 | // Base Class Definition 2 | // ------------------------- 3 | 4 | .@{fa-css-prefix} { 5 | display: inline-block; 6 | font: normal normal normal @fa-font-size-base/@fa-line-height-base FontAwesome; // shortening font declaration 7 | font-size: inherit; // can't have font-size inherit on line above, so need to override 8 | text-rendering: auto; // optimizelegibility throws things off #1094 9 | -webkit-font-smoothing: antialiased; 10 | -moz-osx-font-smoothing: grayscale; 11 | 12 | } 13 | -------------------------------------------------------------------------------- /assets/font-awesome/less/fixed-width.less: -------------------------------------------------------------------------------- 1 | // Fixed Width Icons 2 | // ------------------------- 3 | .@{fa-css-prefix}-fw { 4 | width: (18em / 14); 5 | text-align: center; 6 | } 7 | -------------------------------------------------------------------------------- /assets/font-awesome/less/font-awesome.less: -------------------------------------------------------------------------------- 1 | /*! 2 | * Font Awesome 4.7.0 by @davegandy - http://fontawesome.io - @fontawesome 3 | * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) 4 | */ 5 | 6 | @import "variables.less"; 7 | @import "mixins.less"; 8 | @import "path.less"; 9 | @import "core.less"; 10 | @import "larger.less"; 11 | @import "fixed-width.less"; 12 | @import "list.less"; 13 | @import "bordered-pulled.less"; 14 | @import "animated.less"; 15 | @import "rotated-flipped.less"; 16 | @import "stacked.less"; 17 | @import "icons.less"; 18 | @import "screen-reader.less"; 19 | -------------------------------------------------------------------------------- /assets/font-awesome/less/larger.less: -------------------------------------------------------------------------------- 1 | // Icon Sizes 2 | // ------------------------- 3 | 4 | /* makes the font 33% larger relative to the icon container */ 5 | .@{fa-css-prefix}-lg { 6 | font-size: (4em / 3); 7 | line-height: (3em / 4); 8 | vertical-align: -15%; 9 | } 10 | .@{fa-css-prefix}-2x { font-size: 2em; } 11 | .@{fa-css-prefix}-3x { font-size: 3em; } 12 | .@{fa-css-prefix}-4x { font-size: 4em; } 13 | .@{fa-css-prefix}-5x { font-size: 5em; } 14 | -------------------------------------------------------------------------------- /assets/font-awesome/less/list.less: -------------------------------------------------------------------------------- 1 | // List Icons 2 | // ------------------------- 3 | 4 | .@{fa-css-prefix}-ul { 5 | padding-left: 0; 6 | margin-left: @fa-li-width; 7 | list-style-type: none; 8 | > li { position: relative; } 9 | } 10 | .@{fa-css-prefix}-li { 11 | position: absolute; 12 | left: -@fa-li-width; 13 | width: @fa-li-width; 14 | top: (2em / 14); 15 | text-align: center; 16 | &.@{fa-css-prefix}-lg { 17 | left: (-@fa-li-width + (4em / 14)); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /assets/font-awesome/less/mixins.less: -------------------------------------------------------------------------------- 1 | // Mixins 2 | // -------------------------- 3 | 4 | .fa-icon() { 5 | display: inline-block; 6 | font: normal normal normal @fa-font-size-base/@fa-line-height-base FontAwesome; // shortening font declaration 7 | font-size: inherit; // can't have font-size inherit on line above, so need to override 8 | text-rendering: auto; // optimizelegibility throws things off #1094 9 | -webkit-font-smoothing: antialiased; 10 | -moz-osx-font-smoothing: grayscale; 11 | 12 | } 13 | 14 | .fa-icon-rotate(@degrees, @rotation) { 15 | -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=@{rotation})"; 16 | -webkit-transform: rotate(@degrees); 17 | -ms-transform: rotate(@degrees); 18 | transform: rotate(@degrees); 19 | } 20 | 21 | .fa-icon-flip(@horiz, @vert, @rotation) { 22 | -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=@{rotation}, mirror=1)"; 23 | -webkit-transform: scale(@horiz, @vert); 24 | -ms-transform: scale(@horiz, @vert); 25 | transform: scale(@horiz, @vert); 26 | } 27 | 28 | 29 | // Only display content to screen readers. A la Bootstrap 4. 30 | // 31 | // See: http://a11yproject.com/posts/how-to-hide-content/ 32 | 33 | .sr-only() { 34 | position: absolute; 35 | width: 1px; 36 | height: 1px; 37 | padding: 0; 38 | margin: -1px; 39 | overflow: hidden; 40 | clip: rect(0,0,0,0); 41 | border: 0; 42 | } 43 | 44 | // Use in conjunction with .sr-only to only display content when it's focused. 45 | // 46 | // Useful for "Skip to main content" links; see http://www.w3.org/TR/2013/NOTE-WCAG20-TECHS-20130905/G1 47 | // 48 | // Credit: HTML5 Boilerplate 49 | 50 | .sr-only-focusable() { 51 | &:active, 52 | &:focus { 53 | position: static; 54 | width: auto; 55 | height: auto; 56 | margin: 0; 57 | overflow: visible; 58 | clip: auto; 59 | } 60 | } 61 | -------------------------------------------------------------------------------- /assets/font-awesome/less/path.less: -------------------------------------------------------------------------------- 1 | /* FONT PATH 2 | * -------------------------- */ 3 | 4 | @font-face { 5 | font-family: 'FontAwesome'; 6 | src: url('@{fa-font-path}/fontawesome-webfont.eot?v=@{fa-version}'); 7 | src: url('@{fa-font-path}/fontawesome-webfont.eot?#iefix&v=@{fa-version}') format('embedded-opentype'), 8 | url('@{fa-font-path}/fontawesome-webfont.woff2?v=@{fa-version}') format('woff2'), 9 | url('@{fa-font-path}/fontawesome-webfont.woff?v=@{fa-version}') format('woff'), 10 | url('@{fa-font-path}/fontawesome-webfont.ttf?v=@{fa-version}') format('truetype'), 11 | url('@{fa-font-path}/fontawesome-webfont.svg?v=@{fa-version}#fontawesomeregular') format('svg'); 12 | // src: url('@{fa-font-path}/FontAwesome.otf') format('opentype'); // used when developing fonts 13 | font-weight: normal; 14 | font-style: normal; 15 | } 16 | -------------------------------------------------------------------------------- /assets/font-awesome/less/rotated-flipped.less: -------------------------------------------------------------------------------- 1 | // Rotated & Flipped Icons 2 | // ------------------------- 3 | 4 | .@{fa-css-prefix}-rotate-90 { .fa-icon-rotate(90deg, 1); } 5 | .@{fa-css-prefix}-rotate-180 { .fa-icon-rotate(180deg, 2); } 6 | .@{fa-css-prefix}-rotate-270 { .fa-icon-rotate(270deg, 3); } 7 | 8 | .@{fa-css-prefix}-flip-horizontal { .fa-icon-flip(-1, 1, 0); } 9 | .@{fa-css-prefix}-flip-vertical { .fa-icon-flip(1, -1, 2); } 10 | 11 | // Hook for IE8-9 12 | // ------------------------- 13 | 14 | :root .@{fa-css-prefix}-rotate-90, 15 | :root .@{fa-css-prefix}-rotate-180, 16 | :root .@{fa-css-prefix}-rotate-270, 17 | :root .@{fa-css-prefix}-flip-horizontal, 18 | :root .@{fa-css-prefix}-flip-vertical { 19 | filter: none; 20 | } 21 | -------------------------------------------------------------------------------- /assets/font-awesome/less/screen-reader.less: -------------------------------------------------------------------------------- 1 | // Screen Readers 2 | // ------------------------- 3 | 4 | .sr-only { .sr-only(); } 5 | .sr-only-focusable { .sr-only-focusable(); } 6 | -------------------------------------------------------------------------------- /assets/font-awesome/less/stacked.less: -------------------------------------------------------------------------------- 1 | // Stacked Icons 2 | // ------------------------- 3 | 4 | .@{fa-css-prefix}-stack { 5 | position: relative; 6 | display: inline-block; 7 | width: 2em; 8 | height: 2em; 9 | line-height: 2em; 10 | vertical-align: middle; 11 | } 12 | .@{fa-css-prefix}-stack-1x, .@{fa-css-prefix}-stack-2x { 13 | position: absolute; 14 | left: 0; 15 | width: 100%; 16 | text-align: center; 17 | } 18 | .@{fa-css-prefix}-stack-1x { line-height: inherit; } 19 | .@{fa-css-prefix}-stack-2x { font-size: 2em; } 20 | .@{fa-css-prefix}-inverse { color: @fa-inverse; } 21 | -------------------------------------------------------------------------------- /assets/font-awesome/scss/_animated.scss: -------------------------------------------------------------------------------- 1 | // Spinning Icons 2 | // -------------------------- 3 | 4 | .#{$fa-css-prefix}-spin { 5 | -webkit-animation: fa-spin 2s infinite linear; 6 | animation: fa-spin 2s infinite linear; 7 | } 8 | 9 | .#{$fa-css-prefix}-pulse { 10 | -webkit-animation: fa-spin 1s infinite steps(8); 11 | animation: fa-spin 1s infinite steps(8); 12 | } 13 | 14 | @-webkit-keyframes fa-spin { 15 | 0% { 16 | -webkit-transform: rotate(0deg); 17 | transform: rotate(0deg); 18 | } 19 | 100% { 20 | -webkit-transform: rotate(359deg); 21 | transform: rotate(359deg); 22 | } 23 | } 24 | 25 | @keyframes fa-spin { 26 | 0% { 27 | -webkit-transform: rotate(0deg); 28 | transform: rotate(0deg); 29 | } 30 | 100% { 31 | -webkit-transform: rotate(359deg); 32 | transform: rotate(359deg); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /assets/font-awesome/scss/_bordered-pulled.scss: -------------------------------------------------------------------------------- 1 | // Bordered & Pulled 2 | // ------------------------- 3 | 4 | .#{$fa-css-prefix}-border { 5 | padding: .2em .25em .15em; 6 | border: solid .08em $fa-border-color; 7 | border-radius: .1em; 8 | } 9 | 10 | .#{$fa-css-prefix}-pull-left { float: left; } 11 | .#{$fa-css-prefix}-pull-right { float: right; } 12 | 13 | .#{$fa-css-prefix} { 14 | &.#{$fa-css-prefix}-pull-left { margin-right: .3em; } 15 | &.#{$fa-css-prefix}-pull-right { margin-left: .3em; } 16 | } 17 | 18 | /* Deprecated as of 4.4.0 */ 19 | .pull-right { float: right; } 20 | .pull-left { float: left; } 21 | 22 | .#{$fa-css-prefix} { 23 | &.pull-left { margin-right: .3em; } 24 | &.pull-right { margin-left: .3em; } 25 | } 26 | -------------------------------------------------------------------------------- /assets/font-awesome/scss/_core.scss: -------------------------------------------------------------------------------- 1 | // Base Class Definition 2 | // ------------------------- 3 | 4 | .#{$fa-css-prefix} { 5 | display: inline-block; 6 | font: normal normal normal #{$fa-font-size-base}/#{$fa-line-height-base} FontAwesome; // shortening font declaration 7 | font-size: inherit; // can't have font-size inherit on line above, so need to override 8 | text-rendering: auto; // optimizelegibility throws things off #1094 9 | -webkit-font-smoothing: antialiased; 10 | -moz-osx-font-smoothing: grayscale; 11 | 12 | } 13 | -------------------------------------------------------------------------------- /assets/font-awesome/scss/_fixed-width.scss: -------------------------------------------------------------------------------- 1 | // Fixed Width Icons 2 | // ------------------------- 3 | .#{$fa-css-prefix}-fw { 4 | width: (18em / 14); 5 | text-align: center; 6 | } 7 | -------------------------------------------------------------------------------- /assets/font-awesome/scss/_larger.scss: -------------------------------------------------------------------------------- 1 | // Icon Sizes 2 | // ------------------------- 3 | 4 | /* makes the font 33% larger relative to the icon container */ 5 | .#{$fa-css-prefix}-lg { 6 | font-size: (4em / 3); 7 | line-height: (3em / 4); 8 | vertical-align: -15%; 9 | } 10 | .#{$fa-css-prefix}-2x { font-size: 2em; } 11 | .#{$fa-css-prefix}-3x { font-size: 3em; } 12 | .#{$fa-css-prefix}-4x { font-size: 4em; } 13 | .#{$fa-css-prefix}-5x { font-size: 5em; } 14 | -------------------------------------------------------------------------------- /assets/font-awesome/scss/_list.scss: -------------------------------------------------------------------------------- 1 | // List Icons 2 | // ------------------------- 3 | 4 | .#{$fa-css-prefix}-ul { 5 | padding-left: 0; 6 | margin-left: $fa-li-width; 7 | list-style-type: none; 8 | > li { position: relative; } 9 | } 10 | .#{$fa-css-prefix}-li { 11 | position: absolute; 12 | left: -$fa-li-width; 13 | width: $fa-li-width; 14 | top: (2em / 14); 15 | text-align: center; 16 | &.#{$fa-css-prefix}-lg { 17 | left: -$fa-li-width + (4em / 14); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /assets/font-awesome/scss/_mixins.scss: -------------------------------------------------------------------------------- 1 | // Mixins 2 | // -------------------------- 3 | 4 | @mixin fa-icon() { 5 | display: inline-block; 6 | font: normal normal normal #{$fa-font-size-base}/#{$fa-line-height-base} FontAwesome; // shortening font declaration 7 | font-size: inherit; // can't have font-size inherit on line above, so need to override 8 | text-rendering: auto; // optimizelegibility throws things off #1094 9 | -webkit-font-smoothing: antialiased; 10 | -moz-osx-font-smoothing: grayscale; 11 | 12 | } 13 | 14 | @mixin fa-icon-rotate($degrees, $rotation) { 15 | -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=#{$rotation})"; 16 | -webkit-transform: rotate($degrees); 17 | -ms-transform: rotate($degrees); 18 | transform: rotate($degrees); 19 | } 20 | 21 | @mixin fa-icon-flip($horiz, $vert, $rotation) { 22 | -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=#{$rotation}, mirror=1)"; 23 | -webkit-transform: scale($horiz, $vert); 24 | -ms-transform: scale($horiz, $vert); 25 | transform: scale($horiz, $vert); 26 | } 27 | 28 | 29 | // Only display content to screen readers. A la Bootstrap 4. 30 | // 31 | // See: http://a11yproject.com/posts/how-to-hide-content/ 32 | 33 | @mixin sr-only { 34 | position: absolute; 35 | width: 1px; 36 | height: 1px; 37 | padding: 0; 38 | margin: -1px; 39 | overflow: hidden; 40 | clip: rect(0,0,0,0); 41 | border: 0; 42 | } 43 | 44 | // Use in conjunction with .sr-only to only display content when it's focused. 45 | // 46 | // Useful for "Skip to main content" links; see http://www.w3.org/TR/2013/NOTE-WCAG20-TECHS-20130905/G1 47 | // 48 | // Credit: HTML5 Boilerplate 49 | 50 | @mixin sr-only-focusable { 51 | &:active, 52 | &:focus { 53 | position: static; 54 | width: auto; 55 | height: auto; 56 | margin: 0; 57 | overflow: visible; 58 | clip: auto; 59 | } 60 | } 61 | -------------------------------------------------------------------------------- /assets/font-awesome/scss/_path.scss: -------------------------------------------------------------------------------- 1 | /* FONT PATH 2 | * -------------------------- */ 3 | 4 | @font-face { 5 | font-family: 'FontAwesome'; 6 | src: url('#{$fa-font-path}/fontawesome-webfont.eot?v=#{$fa-version}'); 7 | src: url('#{$fa-font-path}/fontawesome-webfont.eot?#iefix&v=#{$fa-version}') format('embedded-opentype'), 8 | url('#{$fa-font-path}/fontawesome-webfont.woff2?v=#{$fa-version}') format('woff2'), 9 | url('#{$fa-font-path}/fontawesome-webfont.woff?v=#{$fa-version}') format('woff'), 10 | url('#{$fa-font-path}/fontawesome-webfont.ttf?v=#{$fa-version}') format('truetype'), 11 | url('#{$fa-font-path}/fontawesome-webfont.svg?v=#{$fa-version}#fontawesomeregular') format('svg'); 12 | // src: url('#{$fa-font-path}/FontAwesome.otf') format('opentype'); // used when developing fonts 13 | font-weight: normal; 14 | font-style: normal; 15 | } 16 | -------------------------------------------------------------------------------- /assets/font-awesome/scss/_rotated-flipped.scss: -------------------------------------------------------------------------------- 1 | // Rotated & Flipped Icons 2 | // ------------------------- 3 | 4 | .#{$fa-css-prefix}-rotate-90 { @include fa-icon-rotate(90deg, 1); } 5 | .#{$fa-css-prefix}-rotate-180 { @include fa-icon-rotate(180deg, 2); } 6 | .#{$fa-css-prefix}-rotate-270 { @include fa-icon-rotate(270deg, 3); } 7 | 8 | .#{$fa-css-prefix}-flip-horizontal { @include fa-icon-flip(-1, 1, 0); } 9 | .#{$fa-css-prefix}-flip-vertical { @include fa-icon-flip(1, -1, 2); } 10 | 11 | // Hook for IE8-9 12 | // ------------------------- 13 | 14 | :root .#{$fa-css-prefix}-rotate-90, 15 | :root .#{$fa-css-prefix}-rotate-180, 16 | :root .#{$fa-css-prefix}-rotate-270, 17 | :root .#{$fa-css-prefix}-flip-horizontal, 18 | :root .#{$fa-css-prefix}-flip-vertical { 19 | filter: none; 20 | } 21 | -------------------------------------------------------------------------------- /assets/font-awesome/scss/_screen-reader.scss: -------------------------------------------------------------------------------- 1 | // Screen Readers 2 | // ------------------------- 3 | 4 | .sr-only { @include sr-only(); } 5 | .sr-only-focusable { @include sr-only-focusable(); } 6 | -------------------------------------------------------------------------------- /assets/font-awesome/scss/_stacked.scss: -------------------------------------------------------------------------------- 1 | // Stacked Icons 2 | // ------------------------- 3 | 4 | .#{$fa-css-prefix}-stack { 5 | position: relative; 6 | display: inline-block; 7 | width: 2em; 8 | height: 2em; 9 | line-height: 2em; 10 | vertical-align: middle; 11 | } 12 | .#{$fa-css-prefix}-stack-1x, .#{$fa-css-prefix}-stack-2x { 13 | position: absolute; 14 | left: 0; 15 | width: 100%; 16 | text-align: center; 17 | } 18 | .#{$fa-css-prefix}-stack-1x { line-height: inherit; } 19 | .#{$fa-css-prefix}-stack-2x { font-size: 2em; } 20 | .#{$fa-css-prefix}-inverse { color: $fa-inverse; } 21 | -------------------------------------------------------------------------------- /assets/font-awesome/scss/font-awesome.scss: -------------------------------------------------------------------------------- 1 | /*! 2 | * Font Awesome 4.7.0 by @davegandy - http://fontawesome.io - @fontawesome 3 | * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) 4 | */ 5 | 6 | @import "variables"; 7 | @import "mixins"; 8 | @import "path"; 9 | @import "core"; 10 | @import "larger"; 11 | @import "fixed-width"; 12 | @import "list"; 13 | @import "bordered-pulled"; 14 | @import "animated"; 15 | @import "rotated-flipped"; 16 | @import "stacked"; 17 | @import "icons"; 18 | @import "screen-reader"; 19 | -------------------------------------------------------------------------------- /assets/js/granular-editor.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/norewp/granular-controls-elementor/51ff9de3f3fd862f5b2767ea22b16390bdf132a4/assets/js/granular-editor.js -------------------------------------------------------------------------------- /assets/js/granular-editor.min.js: -------------------------------------------------------------------------------- 1 | window.onload = function(){ 2 | var sPositions = localStorage.positions || "{}", 3 | positions = JSON.parse(sPositions); 4 | $.each(positions, function (id, pos) { 5 | $("#" + id).css(pos) 6 | }); 7 | $(".left-btn").css("cursor", "move"); 8 | $(".left-btn").mousedown(function() { 9 | $("#elementor-preview").css("pointer-events", "none"); 10 | $(document).ready(function() { 11 | $("#granular-top-bar").draggable( { 12 | snap: "#elementor-preview, #elementor-preview-iframe", 13 | opacity: 0.7, 14 | addClasses: true, 15 | containment: "#elementor-preview", 16 | snapMode: "inner", 17 | snapTolerance: 25, 18 | edgeResistance: 2.4, 19 | stop: function (event, ui) { 20 | positions[this.id] = ui.position 21 | localStorage.positions = JSON.stringify(positions) 22 | } 23 | }); 24 | }); 25 | }); 26 | $(document).mouseup(function(){ 27 | if($("#elementor-preview").css("pointer-events")== "none") { 28 | $("#elementor-preview").css("pointer-events", "auto"); 29 | } 30 | }); 31 | } -------------------------------------------------------------------------------- /assets/js/jarallax.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Name : Just Another Parallax [Jarallax] 3 | * Version : 1.9.3 4 | * Author : nK 5 | * GitHub : https://github.com/nk-o/jarallax 6 | */ 7 | /*! Animated radial progressbar */ 8 | jQuery(document).on('elementor/render/granular_parallax',function(e){ 9 | !function(){"use strict";function e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function t(e,t,i){e.addEventListener(t,i)}function i(e){p=window.innerWidth||document.documentElement.clientWidth,d=window.innerHeight||document.documentElement.clientHeight,"object"!==("undefined"==typeof e?"undefined":a(e))||"load"!==e.type&&"DOMContentLoaded"!==e.type||(f=!0)}function n(){if(g.length){u=void 0!==window.pageYOffset?window.pageYOffset:(document.documentElement||document.body.parentNode||document.body).scrollTop;var e=f||!y||y.width!==p||y.height!==d,t=e||!y||y.y!==u;f=!1,(e||t)&&(g.forEach(function(i){e&&i.onResize(),t&&i.onScroll()}),y={width:p,height:d,y:u}),m(n)}}var o=function(){function e(e,t){for(var i=0;i-1,c=/iPad|iPhone|iPod/.test(l)&&!window.MSStream,m=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){setTimeout(e,1e3/60)},p=void 0,d=void 0,u=void 0,f=!1;i(),t(window,"resize",i),t(window,"orientationchange",i),t(window,"load",i),t(window,"DOMContentLoaded",i);var g=[],y=!1,h=0,v=function(){function t(i,n){e(this,t);var o=this;o.instanceID=h++,o.$item=i,o.defaults={type:"scroll",speed:.5,imgSrc:null,imgElement:".jarallax-img",imgSize:"cover",imgPosition:"50% 50%",imgRepeat:"no-repeat",keepImg:!1,elementInViewport:null,zIndex:-100,noAndroid:!1,noIos:!1,videoSrc:null,videoStartTime:0,videoEndTime:0,videoVolume:0,videoPlayOnlyVisible:!0,onScroll:null,onInit:null,onDestroy:null,onCoverImage:null};var r=o.$item.getAttribute("data-jarallax"),l=JSON.parse(r||"{}");r&&console.warn("Detected usage of deprecated data-jarallax JSON options, you should use pure data-attribute options. See info here - https://github.com/nk-o/jarallax/issues/53");var m=o.$item.dataset||{},p={};Object.keys(m).forEach(function(e){var t=e.substr(0,1).toLowerCase()+e.substr(1);t&&"undefined"!=typeof o.defaults[t]&&(p[t]=m[e])}),o.options=o.extend({},o.defaults,l,p,n),o.pureOptions=o.extend({},o.options),Object.keys(o.options).forEach(function(e){"true"===o.options[e]?o.options[e]=!0:"false"===o.options[e]&&(o.options[e]=!1)}),o.options.speed=Math.min(2,Math.max(-1,parseFloat(o.options.speed)));var d=o.options.elementInViewport;d&&"object"===("undefined"==typeof d?"undefined":a(d))&&"undefined"!=typeof d.length&&(d=d[0]),d instanceof Element||(d=null),o.options.elementInViewport=d,o.image={src:o.options.imgSrc||null,$container:null,useImgTag:!1,position:s||c?"absolute":"fixed"},o.initImg()&&o.canInitParallax()&&o.init()}return o(t,[{key:"css",value:function(e,t){return"string"==typeof t?window.getComputedStyle(e).getPropertyValue(t):(t.transform&&r&&(t[r]=t.transform),Object.keys(t).forEach(function(i){e.style[i]=t[i]}),e)}},{key:"extend",value:function(e){var t=arguments;return e=e||{},Object.keys(arguments).forEach(function(i){t[i]&&Object.keys(t[i]).forEach(function(n){e[n]=t[i][n]})}),e}},{key:"getWindowData",value:function(){return{width:p,height:d,y:u}}},{key:"initImg",value:function(){var e=this,t=e.options.imgElement;return t&&"string"==typeof t&&(t=e.$item.querySelector(t)),t instanceof Element||(t=null),t&&(e.options.keepImg?e.image.$item=t.cloneNode(!0):(e.image.$item=t,e.image.$itemParent=t.parentNode),e.image.useImgTag=!0),!!e.image.$item||(null===e.image.src&&(e.image.src=e.css(e.$item,"background-image").replace(/^url\(['"]?/g,"").replace(/['"]?\)$/g,"")),!(!e.image.src||"none"===e.image.src))}},{key:"canInitParallax",value:function(){return r&&!(s&&this.options.noAndroid)&&!(c&&this.options.noIos)}},{key:"init",value:function(){var e=this,t={position:"absolute",top:0,left:0,width:"100%",height:"100%",overflow:"hidden",pointerEvents:"none"},i={};if(!e.options.keepImg){var n=e.$item.getAttribute("style");if(n&&e.$item.setAttribute("data-jarallax-original-styles",n),e.image.useImgTag){var o=e.image.$item.getAttribute("style");o&&e.image.$item.setAttribute("data-jarallax-original-styles",o)}}if("static"===e.css(e.$item,"position")&&e.css(e.$item,{position:"relative"}),"auto"===e.css(e.$item,"z-index")&&e.css(e.$item,{zIndex:0}),e.image.$container=document.createElement("div"),e.css(e.image.$container,t),e.css(e.image.$container,{"z-index":e.options.zIndex}),e.image.$container.setAttribute("id","jarallax-container-"+e.instanceID),e.$item.appendChild(e.image.$container),e.image.useImgTag?i=e.extend({"object-fit":e.options.imgSize,"object-position":e.options.imgPosition,"font-family":"object-fit: "+e.options.imgSize+"; object-position: "+e.options.imgPosition+";","max-width":"none"},t,i):(e.image.$item=document.createElement("div"),i=e.extend({"background-position":e.options.imgPosition,"background-size":e.options.imgSize,"background-repeat":e.options.imgRepeat,"background-image":'url("'+e.image.src+'")'},t,i)),"opacity"!==e.options.type&&"scale"!==e.options.type&&"scale-opacity"!==e.options.type&&1!==e.options.speed||(e.image.position="absolute"),"fixed"===e.image.position)for(var a=0,r=e.$item;null!==r&&r!==document&&0===a;){var l=e.css(r,"-webkit-transform")||e.css(r,"-moz-transform")||e.css(r,"transform");l&&"none"!==l&&(a=1,e.image.position="absolute"),r=r.parentNode}i.position=e.image.position,e.css(e.image.$item,i),e.image.$container.appendChild(e.image.$item),e.coverImage(),e.clipContainer(),e.onScroll(!0),e.options.onInit&&e.options.onInit.call(e),"none"!==e.css(e.$item,"background-image")&&e.css(e.$item,{"background-image":"none"}),e.addToParallaxList()}},{key:"addToParallaxList",value:function(){g.push(this),1===g.length&&n()}},{key:"removeFromParallaxList",value:function(){var e=this;g.forEach(function(t,i){t.instanceID===e.instanceID&&g.splice(i,1)})}},{key:"destroy",value:function(){var e=this;e.removeFromParallaxList();var t=e.$item.getAttribute("data-jarallax-original-styles");if(e.$item.removeAttribute("data-jarallax-original-styles"),t?e.$item.setAttribute("style",t):e.$item.removeAttribute("style"),e.image.useImgTag){var i=e.image.$item.getAttribute("data-jarallax-original-styles");e.image.$item.removeAttribute("data-jarallax-original-styles"),i?e.image.$item.setAttribute("style",t):e.image.$item.removeAttribute("style"),e.image.$itemParent&&e.image.$itemParent.appendChild(e.image.$item)}e.$clipStyles&&e.$clipStyles.parentNode.removeChild(e.$clipStyles),e.image.$container&&e.image.$container.parentNode.removeChild(e.image.$container),e.options.onDestroy&&e.options.onDestroy.call(e),delete e.$item.jarallax}},{key:"clipContainer",value:function(){if("fixed"===this.image.position){var e=this,t=e.image.$container.getBoundingClientRect(),i=t.width,n=t.height;if(!e.$clipStyles){e.$clipStyles=document.createElement("style"),e.$clipStyles.setAttribute("type","text/css"),e.$clipStyles.setAttribute("id","jarallax-clip-"+e.instanceID);var o=document.head||document.getElementsByTagName("head")[0];o.appendChild(e.$clipStyles)}var a="#jarallax-container-"+e.instanceID+" {\n clip: rect(0 "+i+"px "+n+"px 0);\n clip: rect(0, "+i+"px, "+n+"px, 0);\n }";e.$clipStyles.styleSheet?e.$clipStyles.styleSheet.cssText=a:e.$clipStyles.innerHTML=a}}},{key:"coverImage",value:function(){var e=this,t=e.image.$container.getBoundingClientRect(),i=t.height,n=e.options.speed,o="scroll"===e.options.type||"scroll-opacity"===e.options.type,a=0,r=i,l=0;return o&&(a=n<0?n*Math.max(i,d):n*(i+d),n>1?r=Math.abs(a-d):n<0?r=a/n+Math.abs(a):r+=Math.abs(d-i)*(1-n),a/=2),e.parallaxScrollDistance=a,l=o?(d-r)/2:(i-r)/2,e.css(e.image.$item,{height:r+"px",marginTop:l+"px",left:"fixed"===e.image.position?t.left+"px":"0",width:t.width+"px"}),e.options.onCoverImage&&e.options.onCoverImage.call(e),{image:{height:r,marginTop:l},container:t}}},{key:"isVisible",value:function(){return this.isElementInViewport||!1}},{key:"onScroll",value:function(e){var t=this,i=t.$item.getBoundingClientRect(),n=i.top,o=i.height,a={},r=i;if(t.options.elementInViewport&&(r=t.options.elementInViewport.getBoundingClientRect()),t.isElementInViewport=r.bottom>=0&&r.right>=0&&r.top<=d&&r.left<=p,e||t.isElementInViewport){var l=Math.max(0,n),s=Math.max(0,o+n),c=Math.max(0,-n),m=Math.max(0,n+o-d),u=Math.max(0,o-(n+o-d)),f=Math.max(0,-n+d-o),g=1-2*(d-n)/(d+o),y=1;if(o-1}var pJS=function(e,a){var t=document.querySelector("#"+e+" > .particles-js-canvas-el");this.pJS={canvas:{el:t,w:t.offsetWidth,h:t.offsetHeight},particles:{number:{value:400,density:{enable:!0,value_area:800}},color:{value:"#fff"},shape:{type:"circle",stroke:{width:0,color:"#ff0000"},polygon:{nb_sides:5},image:{src:"",width:100,height:100}},opacity:{value:1,random:!1,anim:{enable:!1,speed:2,opacity_min:0,sync:!1}},size:{value:20,random:!1,anim:{enable:!1,speed:20,size_min:0,sync:!1}},line_linked:{enable:!0,distance:100,color:"#fff",opacity:1,width:1},move:{enable:!0,speed:2,direction:"none",random:!1,straight:!1,out_mode:"out",bounce:!1,attract:{enable:!1,rotateX:3e3,rotateY:3e3}},array:[]},interactivity:{detect_on:"canvas",events:{onhover:{enable:!0,mode:"grab"},onclick:{enable:!0,mode:"push"},resize:!0},modes:{grab:{distance:100,line_linked:{opacity:1}},bubble:{distance:200,size:80,duration:.4},repulse:{distance:200,duration:.4},push:{particles_nb:4},remove:{particles_nb:2}},mouse:{}},retina_detect:!1,fn:{interact:{},modes:{},vendors:{}},tmp:{}};var i=this.pJS;a&&Object.deepExtend(i,a),i.tmp.obj={size_value:i.particles.size.value,size_anim_speed:i.particles.size.anim.speed,move_speed:i.particles.move.speed,line_linked_distance:i.particles.line_linked.distance,line_linked_width:i.particles.line_linked.width,mode_grab_distance:i.interactivity.modes.grab.distance,mode_bubble_distance:i.interactivity.modes.bubble.distance,mode_bubble_size:i.interactivity.modes.bubble.size,mode_repulse_distance:i.interactivity.modes.repulse.distance},i.fn.retinaInit=function(){i.retina_detect&&window.devicePixelRatio>1?(i.canvas.pxratio=window.devicePixelRatio,i.tmp.retina=!0):(i.canvas.pxratio=1,i.tmp.retina=!1),i.canvas.w=i.canvas.el.offsetWidth*i.canvas.pxratio,i.canvas.h=i.canvas.el.offsetHeight*i.canvas.pxratio,i.particles.size.value=i.tmp.obj.size_value*i.canvas.pxratio,i.particles.size.anim.speed=i.tmp.obj.size_anim_speed*i.canvas.pxratio,i.particles.move.speed=i.tmp.obj.move_speed*i.canvas.pxratio,i.particles.line_linked.distance=i.tmp.obj.line_linked_distance*i.canvas.pxratio,i.interactivity.modes.grab.distance=i.tmp.obj.mode_grab_distance*i.canvas.pxratio,i.interactivity.modes.bubble.distance=i.tmp.obj.mode_bubble_distance*i.canvas.pxratio,i.particles.line_linked.width=i.tmp.obj.line_linked_width*i.canvas.pxratio,i.interactivity.modes.bubble.size=i.tmp.obj.mode_bubble_size*i.canvas.pxratio,i.interactivity.modes.repulse.distance=i.tmp.obj.mode_repulse_distance*i.canvas.pxratio},i.fn.canvasInit=function(){i.canvas.ctx=i.canvas.el.getContext("2d")},i.fn.canvasSize=function(){i.canvas.el.width=i.canvas.w,i.canvas.el.height=i.canvas.h,i&&i.interactivity.events.resize&&window.addEventListener("resize",function(){i.canvas.w=i.canvas.el.offsetWidth,i.canvas.h=i.canvas.el.offsetHeight,i.tmp.retina&&(i.canvas.w*=i.canvas.pxratio,i.canvas.h*=i.canvas.pxratio),i.canvas.el.width=i.canvas.w,i.canvas.el.height=i.canvas.h,i.particles.move.enable||(i.fn.particlesEmpty(),i.fn.particlesCreate(),i.fn.particlesDraw(),i.fn.vendors.densityAutoParticles()),i.fn.vendors.densityAutoParticles()})},i.fn.canvasPaint=function(){i.canvas.ctx.fillRect(0,0,i.canvas.w,i.canvas.h)},i.fn.canvasClear=function(){i.canvas.ctx.clearRect(0,0,i.canvas.w,i.canvas.h)},i.fn.particle=function(e,a,t){if(this.radius=(i.particles.size.random?Math.random():1)*i.particles.size.value,i.particles.size.anim.enable&&(this.size_status=!1,this.vs=i.particles.size.anim.speed/100,i.particles.size.anim.sync||(this.vs=this.vs*Math.random())),this.x=t?t.x:Math.random()*i.canvas.w,this.y=t?t.y:Math.random()*i.canvas.h,this.x>i.canvas.w-2*this.radius?this.x=this.x-this.radius:this.x<2*this.radius&&(this.x=this.x+this.radius),this.y>i.canvas.h-2*this.radius?this.y=this.y-this.radius:this.y<2*this.radius&&(this.y=this.y+this.radius),i.particles.move.bounce&&i.fn.vendors.checkOverlap(this,t),this.color={},"object"==typeof e.value)if(e.value instanceof Array){var s=e.value[Math.floor(Math.random()*i.particles.color.value.length)];this.color.rgb=hexToRgb(s)}else void 0!=e.value.r&&void 0!=e.value.g&&void 0!=e.value.b&&(this.color.rgb={r:e.value.r,g:e.value.g,b:e.value.b}),void 0!=e.value.h&&void 0!=e.value.s&&void 0!=e.value.l&&(this.color.hsl={h:e.value.h,s:e.value.s,l:e.value.l});else"random"==e.value?this.color.rgb={r:Math.floor(256*Math.random())+0,g:Math.floor(256*Math.random())+0,b:Math.floor(256*Math.random())+0}:"string"==typeof e.value&&(this.color=e,this.color.rgb=hexToRgb(this.color.value));this.opacity=(i.particles.opacity.random?Math.random():1)*i.particles.opacity.value,i.particles.opacity.anim.enable&&(this.opacity_status=!1,this.vo=i.particles.opacity.anim.speed/100,i.particles.opacity.anim.sync||(this.vo=this.vo*Math.random()));var n={};switch(i.particles.move.direction){case"top":n={x:0,y:-1};break;case"top-right":n={x:.5,y:-.5};break;case"right":n={x:1,y:-0};break;case"bottom-right":n={x:.5,y:.5};break;case"bottom":n={x:0,y:1};break;case"bottom-left":n={x:-.5,y:1};break;case"left":n={x:-1,y:0};break;case"top-left":n={x:-.5,y:-.5};break;default:n={x:0,y:0}}i.particles.move.straight?(this.vx=n.x,this.vy=n.y,i.particles.move.random&&(this.vx=this.vx*Math.random(),this.vy=this.vy*Math.random())):(this.vx=n.x+Math.random()-.5,this.vy=n.y+Math.random()-.5),this.vx_i=this.vx,this.vy_i=this.vy;var r=i.particles.shape.type;if("object"==typeof r){if(r instanceof Array){var c=r[Math.floor(Math.random()*r.length)];this.shape=c}}else this.shape=r;if("image"==this.shape){var o=i.particles.shape;this.img={src:o.image.src,ratio:o.image.width/o.image.height},this.img.ratio||(this.img.ratio=1),"svg"==i.tmp.img_type&&void 0!=i.tmp.source_svg&&(i.fn.vendors.createSvgImg(this),i.tmp.pushing&&(this.img.loaded=!1))}},i.fn.particle.prototype.draw=function(){function e(){i.canvas.ctx.drawImage(r,a.x-t,a.y-t,2*t,2*t/a.img.ratio)}var a=this;if(void 0!=a.radius_bubble)var t=a.radius_bubble;else var t=a.radius;if(void 0!=a.opacity_bubble)var s=a.opacity_bubble;else var s=a.opacity;if(a.color.rgb)var n="rgba("+a.color.rgb.r+","+a.color.rgb.g+","+a.color.rgb.b+","+s+")";else var n="hsla("+a.color.hsl.h+","+a.color.hsl.s+"%,"+a.color.hsl.l+"%,"+s+")";switch(i.canvas.ctx.fillStyle=n,i.canvas.ctx.beginPath(),a.shape){case"circle":i.canvas.ctx.arc(a.x,a.y,t,0,2*Math.PI,!1);break;case"edge":i.canvas.ctx.rect(a.x-t,a.y-t,2*t,2*t);break;case"triangle":i.fn.vendors.drawShape(i.canvas.ctx,a.x-t,a.y+t/1.66,2*t,3,2);break;case"polygon":i.fn.vendors.drawShape(i.canvas.ctx,a.x-t/(i.particles.shape.polygon.nb_sides/3.5),a.y-t/.76,2.66*t/(i.particles.shape.polygon.nb_sides/3),i.particles.shape.polygon.nb_sides,1);break;case"star":i.fn.vendors.drawShape(i.canvas.ctx,a.x-2*t/(i.particles.shape.polygon.nb_sides/4),a.y-t/1.52,2*t*2.66/(i.particles.shape.polygon.nb_sides/3),i.particles.shape.polygon.nb_sides,2);break;case"image":if("svg"==i.tmp.img_type)var r=a.img.obj;else var r=i.tmp.img_obj;r&&e()}i.canvas.ctx.closePath(),i.particles.shape.stroke.width>0&&(i.canvas.ctx.strokeStyle=i.particles.shape.stroke.color,i.canvas.ctx.lineWidth=i.particles.shape.stroke.width,i.canvas.ctx.stroke()),i.canvas.ctx.fill()},i.fn.particlesCreate=function(){for(var e=0;e=i.particles.opacity.value&&(a.opacity_status=!1),a.opacity+=a.vo):(a.opacity<=i.particles.opacity.anim.opacity_min&&(a.opacity_status=!0),a.opacity-=a.vo),a.opacity<0&&(a.opacity=0)),i.particles.size.anim.enable&&(1==a.size_status?(a.radius>=i.particles.size.value&&(a.size_status=!1),a.radius+=a.vs):(a.radius<=i.particles.size.anim.size_min&&(a.size_status=!0),a.radius-=a.vs),a.radius<0&&(a.radius=0)),"bounce"==i.particles.move.out_mode)var s={x_left:a.radius,x_right:i.canvas.w,y_top:a.radius,y_bottom:i.canvas.h};else var s={x_left:-a.radius,x_right:i.canvas.w+a.radius,y_top:-a.radius,y_bottom:i.canvas.h+a.radius};switch(a.x-a.radius>i.canvas.w?(a.x=s.x_left,a.y=Math.random()*i.canvas.h):a.x+a.radius<0&&(a.x=s.x_right,a.y=Math.random()*i.canvas.h),a.y-a.radius>i.canvas.h?(a.y=s.y_top,a.x=Math.random()*i.canvas.w):a.y+a.radius<0&&(a.y=s.y_bottom,a.x=Math.random()*i.canvas.w),i.particles.move.out_mode){case"bounce":a.x+a.radius>i.canvas.w?a.vx=-a.vx:a.x-a.radius<0&&(a.vx=-a.vx),a.y+a.radius>i.canvas.h?a.vy=-a.vy:a.y-a.radius<0&&(a.vy=-a.vy)}if(isInArray("grab",i.interactivity.events.onhover.mode)&&i.fn.modes.grabParticle(a),(isInArray("bubble",i.interactivity.events.onhover.mode)||isInArray("bubble",i.interactivity.events.onclick.mode))&&i.fn.modes.bubbleParticle(a),(isInArray("repulse",i.interactivity.events.onhover.mode)||isInArray("repulse",i.interactivity.events.onclick.mode))&&i.fn.modes.repulseParticle(a),i.particles.line_linked.enable||i.particles.move.attract.enable)for(var n=e+1;n0){var c=i.particles.line_linked.color_rgb_line;i.canvas.ctx.strokeStyle="rgba("+c.r+","+c.g+","+c.b+","+r+")",i.canvas.ctx.lineWidth=i.particles.line_linked.width,i.canvas.ctx.beginPath(),i.canvas.ctx.moveTo(e.x,e.y),i.canvas.ctx.lineTo(a.x,a.y),i.canvas.ctx.stroke(),i.canvas.ctx.closePath()}}},i.fn.interact.attractParticles=function(e,a){var t=e.x-a.x,s=e.y-a.y,n=Math.sqrt(t*t+s*s);if(n<=i.particles.line_linked.distance){var r=t/(1e3*i.particles.move.attract.rotateX),c=s/(1e3*i.particles.move.attract.rotateY);e.vx-=r,e.vy-=c,a.vx+=r,a.vy+=c}},i.fn.interact.bounceParticles=function(e,a){var t=e.x-a.x,i=e.y-a.y,s=Math.sqrt(t*t+i*i),n=e.radius+a.radius;n>=s&&(e.vx=-e.vx,e.vy=-e.vy,a.vx=-a.vx,a.vy=-a.vy)},i.fn.modes.pushParticles=function(e,a){i.tmp.pushing=!0;for(var t=0;e>t;t++)i.particles.array.push(new i.fn.particle(i.particles.color,i.particles.opacity.value,{x:a?a.pos_x:Math.random()*i.canvas.w,y:a?a.pos_y:Math.random()*i.canvas.h})),t==e-1&&(i.particles.move.enable||i.fn.particlesDraw(),i.tmp.pushing=!1)},i.fn.modes.removeParticles=function(e){i.particles.array.splice(0,e),i.particles.move.enable||i.fn.particlesDraw()},i.fn.modes.bubbleParticle=function(e){function a(){e.opacity_bubble=e.opacity,e.radius_bubble=e.radius}function t(a,t,s,n,c){if(a!=t)if(i.tmp.bubble_duration_end){if(void 0!=s){var o=n-p*(n-a)/i.interactivity.modes.bubble.duration,l=a-o;d=a+l,"size"==c&&(e.radius_bubble=d),"opacity"==c&&(e.opacity_bubble=d)}}else if(r<=i.interactivity.modes.bubble.distance){if(void 0!=s)var v=s;else var v=n;if(v!=a){var d=n-p*(n-a)/i.interactivity.modes.bubble.duration;"size"==c&&(e.radius_bubble=d),"opacity"==c&&(e.opacity_bubble=d)}}else"size"==c&&(e.radius_bubble=void 0),"opacity"==c&&(e.opacity_bubble=void 0)}if(i.interactivity.events.onhover.enable&&isInArray("bubble",i.interactivity.events.onhover.mode)){var s=e.x-i.interactivity.mouse.pos_x,n=e.y-i.interactivity.mouse.pos_y,r=Math.sqrt(s*s+n*n),c=1-r/i.interactivity.modes.bubble.distance;if(r<=i.interactivity.modes.bubble.distance){if(c>=0&&"mousemove"==i.interactivity.status){if(i.interactivity.modes.bubble.size!=i.particles.size.value)if(i.interactivity.modes.bubble.size>i.particles.size.value){var o=e.radius+i.interactivity.modes.bubble.size*c;o>=0&&(e.radius_bubble=o)}else{var l=e.radius-i.interactivity.modes.bubble.size,o=e.radius-l*c;o>0?e.radius_bubble=o:e.radius_bubble=0}if(i.interactivity.modes.bubble.opacity!=i.particles.opacity.value)if(i.interactivity.modes.bubble.opacity>i.particles.opacity.value){var v=i.interactivity.modes.bubble.opacity*c;v>e.opacity&&v<=i.interactivity.modes.bubble.opacity&&(e.opacity_bubble=v)}else{var v=e.opacity-(i.particles.opacity.value-i.interactivity.modes.bubble.opacity)*c;v=i.interactivity.modes.bubble.opacity&&(e.opacity_bubble=v)}}}else a();"mouseleave"==i.interactivity.status&&a()}else if(i.interactivity.events.onclick.enable&&isInArray("bubble",i.interactivity.events.onclick.mode)){if(i.tmp.bubble_clicking){var s=e.x-i.interactivity.mouse.click_pos_x,n=e.y-i.interactivity.mouse.click_pos_y,r=Math.sqrt(s*s+n*n),p=((new Date).getTime()-i.interactivity.mouse.click_time)/1e3;p>i.interactivity.modes.bubble.duration&&(i.tmp.bubble_duration_end=!0),p>2*i.interactivity.modes.bubble.duration&&(i.tmp.bubble_clicking=!1,i.tmp.bubble_duration_end=!1)}i.tmp.bubble_clicking&&(t(i.interactivity.modes.bubble.size,i.particles.size.value,e.radius_bubble,e.radius,"size"),t(i.interactivity.modes.bubble.opacity,i.particles.opacity.value,e.opacity_bubble,e.opacity,"opacity"))}},i.fn.modes.repulseParticle=function(e){function a(){var a=Math.atan2(d,p);if(e.vx=u*Math.cos(a),e.vy=u*Math.sin(a),"bounce"==i.particles.move.out_mode){var t={x:e.x+e.vx,y:e.y+e.vy};t.x+e.radius>i.canvas.w?e.vx=-e.vx:t.x-e.radius<0&&(e.vx=-e.vx),t.y+e.radius>i.canvas.h?e.vy=-e.vy:t.y-e.radius<0&&(e.vy=-e.vy)}}if(i.interactivity.events.onhover.enable&&isInArray("repulse",i.interactivity.events.onhover.mode)&&"mousemove"==i.interactivity.status){var t=e.x-i.interactivity.mouse.pos_x,s=e.y-i.interactivity.mouse.pos_y,n=Math.sqrt(t*t+s*s),r={x:t/n,y:s/n},c=i.interactivity.modes.repulse.distance,o=100,l=clamp(1/c*(-1*Math.pow(n/c,2)+1)*c*o,0,50),v={x:e.x+r.x*l,y:e.y+r.y*l};"bounce"==i.particles.move.out_mode?(v.x-e.radius>0&&v.x+e.radius0&&v.y+e.radius=m&&a()}else 0==i.tmp.repulse_clicking&&(e.vx=e.vx_i,e.vy=e.vy_i)},i.fn.modes.grabParticle=function(e){if(i.interactivity.events.onhover.enable&&"mousemove"==i.interactivity.status){var a=e.x-i.interactivity.mouse.pos_x,t=e.y-i.interactivity.mouse.pos_y,s=Math.sqrt(a*a+t*t);if(s<=i.interactivity.modes.grab.distance){var n=i.interactivity.modes.grab.line_linked.opacity-s/(1/i.interactivity.modes.grab.line_linked.opacity)/i.interactivity.modes.grab.distance;if(n>0){var r=i.particles.line_linked.color_rgb_line;i.canvas.ctx.strokeStyle="rgba("+r.r+","+r.g+","+r.b+","+n+")",i.canvas.ctx.lineWidth=i.particles.line_linked.width,i.canvas.ctx.beginPath(),i.canvas.ctx.moveTo(e.x,e.y),i.canvas.ctx.lineTo(i.interactivity.mouse.pos_x,i.interactivity.mouse.pos_y),i.canvas.ctx.stroke(),i.canvas.ctx.closePath()}}}},i.fn.vendors.eventsListeners=function(){"window"==i.interactivity.detect_on?i.interactivity.el=window:i.interactivity.el=i.canvas.el,(i.interactivity.events.onhover.enable||i.interactivity.events.onclick.enable)&&(i.interactivity.el.addEventListener("mousemove",function(e){if(i.interactivity.el==window)var a=e.clientX,t=e.clientY;else var a=e.offsetX||e.clientX,t=e.offsetY||e.clientY;i.interactivity.mouse.pos_x=a,i.interactivity.mouse.pos_y=t,i.tmp.retina&&(i.interactivity.mouse.pos_x*=i.canvas.pxratio,i.interactivity.mouse.pos_y*=i.canvas.pxratio),i.interactivity.status="mousemove"}),i.interactivity.el.addEventListener("mouseleave",function(e){i.interactivity.mouse.pos_x=null,i.interactivity.mouse.pos_y=null,i.interactivity.status="mouseleave"})),i.interactivity.events.onclick.enable&&i.interactivity.el.addEventListener("click",function(){if(i.interactivity.mouse.click_pos_x=i.interactivity.mouse.pos_x,i.interactivity.mouse.click_pos_y=i.interactivity.mouse.pos_y,i.interactivity.mouse.click_time=(new Date).getTime(),i.interactivity.events.onclick.enable)switch(i.interactivity.events.onclick.mode){case"push":i.particles.move.enable?i.fn.modes.pushParticles(i.interactivity.modes.push.particles_nb,i.interactivity.mouse):1==i.interactivity.modes.push.particles_nb?i.fn.modes.pushParticles(i.interactivity.modes.push.particles_nb,i.interactivity.mouse):i.interactivity.modes.push.particles_nb>1&&i.fn.modes.pushParticles(i.interactivity.modes.push.particles_nb);break;case"remove":i.fn.modes.removeParticles(i.interactivity.modes.remove.particles_nb);break;case"bubble":i.tmp.bubble_clicking=!0;break;case"repulse":i.tmp.repulse_clicking=!0,i.tmp.repulse_count=0,i.tmp.repulse_finish=!1,setTimeout(function(){i.tmp.repulse_clicking=!1},1e3*i.interactivity.modes.repulse.duration)}})},i.fn.vendors.densityAutoParticles=function(){if(i.particles.number.density.enable){var e=i.canvas.el.width*i.canvas.el.height/1e3;i.tmp.retina&&(e/=2*i.canvas.pxratio);var a=e*i.particles.number.value/i.particles.number.density.value_area,t=i.particles.array.length-a;0>t?i.fn.modes.pushParticles(Math.abs(t)):i.fn.modes.removeParticles(t)}},i.fn.vendors.checkOverlap=function(e,a){for(var t=0;tv;v++)e.lineTo(i,0),e.translate(i,0),e.rotate(l);e.fill(),e.restore()},i.fn.vendors.exportImg=function(){window.open(i.canvas.el.toDataURL("image/png"),"_blank")},i.fn.vendors.loadImg=function(e){if(i.tmp.img_error=void 0,""!=i.particles.shape.image.src)if("svg"==e){var a=new XMLHttpRequest;a.open("GET",i.particles.shape.image.src),a.onreadystatechange=function(e){4==a.readyState&&(200==a.status?(i.tmp.source_svg=e.currentTarget.response,i.fn.vendors.checkBeforeDraw()):(console.log("Error pJS - Image not found"),i.tmp.img_error=!0))},a.send()}else{var t=new Image;t.addEventListener("load",function(){i.tmp.img_obj=t,i.fn.vendors.checkBeforeDraw()}),t.src=i.particles.shape.image.src}else console.log("Error pJS - No image.src"),i.tmp.img_error=!0},i.fn.vendors.draw=function(){"image"==i.particles.shape.type?"svg"==i.tmp.img_type?i.tmp.count_svg>=i.particles.number.value?(i.fn.particlesDraw(),i.particles.move.enable?i.fn.drawAnimFrame=requestAnimFrame(i.fn.vendors.draw):cancelRequestAnimFrame(i.fn.drawAnimFrame)):i.tmp.img_error||(i.fn.drawAnimFrame=requestAnimFrame(i.fn.vendors.draw)):void 0!=i.tmp.img_obj?(i.fn.particlesDraw(),i.particles.move.enable?i.fn.drawAnimFrame=requestAnimFrame(i.fn.vendors.draw):cancelRequestAnimFrame(i.fn.drawAnimFrame)):i.tmp.img_error||(i.fn.drawAnimFrame=requestAnimFrame(i.fn.vendors.draw)):(i.fn.particlesDraw(),i.particles.move.enable?i.fn.drawAnimFrame=requestAnimFrame(i.fn.vendors.draw):cancelRequestAnimFrame(i.fn.drawAnimFrame))},i.fn.vendors.checkBeforeDraw=function(){"image"==i.particles.shape.type?"svg"==i.tmp.img_type&&void 0==i.tmp.source_svg?i.tmp.checkAnimFrame=requestAnimFrame(check):(cancelRequestAnimFrame(i.tmp.checkAnimFrame),i.tmp.img_error||(i.fn.vendors.init(),i.fn.vendors.draw())):(i.fn.vendors.init(),i.fn.vendors.draw())},i.fn.vendors.init=function(){i.fn.retinaInit(),i.fn.canvasInit(),i.fn.canvasSize(),i.fn.canvasPaint(),i.fn.particlesCreate(),i.fn.vendors.densityAutoParticles(),i.particles.line_linked.color_rgb_line=hexToRgb(i.particles.line_linked.color)},i.fn.vendors.start=function(){isInArray("image",i.particles.shape.type)?(i.tmp.img_type=i.particles.shape.image.src.substr(i.particles.shape.image.src.length-3),i.fn.vendors.loadImg(i.tmp.img_type)):i.fn.vendors.checkBeforeDraw()},i.fn.vendors.eventsListeners(),i.fn.vendors.start()};Object.deepExtend=function(e,a){for(var t in a)a[t]&&a[t].constructor&&a[t].constructor===Object?(e[t]=e[t]||{},arguments.callee(e[t],a[t])):e[t]=a[t];return e},window.requestAnimFrame=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)}}(),window.cancelRequestAnimFrame=function(){return window.cancelAnimationFrame||window.webkitCancelRequestAnimationFrame||window.mozCancelRequestAnimationFrame||window.oCancelRequestAnimationFrame||window.msCancelRequestAnimationFrame||clearTimeout}(),window.pJSDom=[],window.particlesJS=function(e,a){"string"!=typeof e&&(a=e,e="particles-js"),e||(e="particles-js");var t=document.getElementById(e),i="particles-js-canvas-el",s=t.getElementsByClassName(i);if(s.length)for(;s.length>0;)t.removeChild(s[0]);var n=document.createElement("canvas");n.className=i,n.style.width="100%",n.style.height="100%";var r=document.getElementById(e).appendChild(n);null!=r&&pJSDom.push(new pJS(e,a))},window.particlesJS.load=function(e,a,t){var i=new XMLHttpRequest;i.open("GET",a),i.onreadystatechange=function(a){if(4==i.readyState)if(200==i.status){var s=JSON.parse(a.currentTarget.response);window.particlesJS(e,s),t&&t()}else console.log("Error pJS - XMLHttpRequest status: "+i.status),console.log("Error pJS - File config not found")},i.send()}; -------------------------------------------------------------------------------- /base/base-widget.php: -------------------------------------------------------------------------------- 1 | get_name() . '/assets/'; 70 | } 71 | 72 | public function get_widgets() { 73 | return []; 74 | } 75 | 76 | public function __construct() { 77 | $this->reflection = new \ReflectionClass( $this ); 78 | 79 | add_action( 'elementor/widgets/widgets_registered', [ $this, 'init_widgets' ] ); 80 | } 81 | 82 | public function init_widgets() { 83 | $widget_manager = Plugin::elementor()->widgets_manager; 84 | 85 | foreach ( $this->get_widgets() as $widget ) { 86 | $class_name = $this->reflection->getNamespaceName() . '\Widgets\\' . $widget; 87 | $widget_manager->register_widget_type( new $class_name() ); 88 | } 89 | } 90 | 91 | public function add_component( $id, $instance ) { 92 | $this->components[ $id ] = $instance; 93 | } 94 | 95 | public function get_component( $id ) { 96 | if ( isset( $this->components[ $id ] ) ) { 97 | return $this->components[ $id ]; 98 | } 99 | 100 | return false; 101 | } 102 | } 103 | -------------------------------------------------------------------------------- /granular-controls-elementor.php: -------------------------------------------------------------------------------- 1 | =' ) ) { 42 | add_action( 'admin_notices', 'elementor_controls_fail_load_out_of_date' ); 43 | return; 44 | } 45 | 46 | $elementor_version_recommendation = '1.4.1'; 47 | if ( ! version_compare( ELEMENTOR_VERSION, $elementor_version_recommendation, '>=' ) ) { 48 | add_action( 'admin_notices', 'elementor_controls_admin_notice_upgrade_recommendation' ); 49 | } 50 | 51 | require( ELEMENTOR_CONTROLS_PATH . 'plugin.php' ); 52 | } 53 | add_action( 'plugins_loaded', 'elementor_controls_load_plugin' ); 54 | 55 | /** 56 | * Show in WP Dashboard notice about the plugin is not activated. 57 | * 58 | * @since 1.0.0 59 | * 60 | * @return void 61 | */ 62 | function elementor_controls_fail_load() { 63 | $screen = get_current_screen(); 64 | if ( isset( $screen->parent_file ) && 'plugins.php' === $screen->parent_file && 'update' === $screen->id ) { 65 | return; 66 | } 67 | 68 | $plugin = 'elementor/elementor.php'; 69 | 70 | if ( _is_elementor_installed() ) { 71 | if ( ! current_user_can( 'activate_plugins' ) ) { 72 | return; 73 | } 74 | 75 | $activation_url = wp_nonce_url( 'plugins.php?action=activate&plugin=' . $plugin . '&plugin_status=all&paged=1&s', 'activate-plugin_' . $plugin ); 76 | 77 | $message = '

' . __( 'Granular Controls not working because you need to activate the Elementor plugin.', 'granular-controls-for-elementor' ) . '

'; 78 | $message .= '

' . sprintf( '%s', $activation_url, __( 'Activate Elementor Now', 'granular-controls-for-elementor' ) ) . '

'; 79 | } else { 80 | if ( ! current_user_can( 'install_plugins' ) ) { 81 | return; 82 | } 83 | 84 | $install_url = wp_nonce_url( self_admin_url( 'update.php?action=install-plugin&plugin=elementor' ), 'install-plugin_elementor' ); 85 | 86 | $message = '

' . __( 'Granular Controls is not working because you need to install the Elementor plugin', 'granular-controls-for-elementor' ) . '

'; 87 | $message .= '

' . sprintf( '%s', $install_url, __( 'Install Elementor Now', 'granular-controls-for-elementor' ) ) . '

'; 88 | } 89 | 90 | echo '

' . $message . '

'; 91 | } 92 | 93 | function elementor_controls_fail_load_out_of_date() { 94 | if ( ! current_user_can( 'update_plugins' ) ) { 95 | return; 96 | } 97 | 98 | $file_path = 'elementor/elementor.php'; 99 | 100 | $upgrade_link = wp_nonce_url( self_admin_url( 'update.php?action=upgrade-plugin&plugin=' ) . $file_path, 'upgrade-plugin_' . $file_path ); 101 | $message = '

' . __( 'Granular Controls not working because you are using an old version of Elementor.', 'granular-controls-for-elementor' ) . '

'; 102 | $message .= '

' . sprintf( '%s', $upgrade_link, __( 'Update Elementor Now', 'granular-controls-for-elementor' ) ) . '

'; 103 | 104 | echo '
' . $message . '
'; 105 | } 106 | 107 | function elementor_controls_admin_notice_upgrade_recommendation() { 108 | if ( ! current_user_can( 'update_plugins' ) ) { 109 | return; 110 | } 111 | 112 | $file_path = 'elementor/elementor.php'; 113 | 114 | $upgrade_link = wp_nonce_url( self_admin_url( 'update.php?action=upgrade-plugin&plugin=' ) . $file_path, 'upgrade-plugin_' . $file_path ); 115 | $message = '

' . __( 'A new version of Elementor is available. For better performance and compatibility of Elementor Custom Controls, we recommend updating to the latest version.', 'granular-controls-for-elementor' ) . '

'; 116 | $message .= '

' . sprintf( '%s', $upgrade_link, __( 'Update Elementor Now', 'granular-controls-for-elementor' ) ) . '

'; 117 | 118 | echo '
' . $message . '
'; 119 | } 120 | 121 | if ( ! function_exists( '_is_elementor_installed' ) ) { 122 | 123 | function _is_elementor_installed() { 124 | $file_path = 'elementor/elementor.php'; 125 | $installed_plugins = get_plugins(); 126 | 127 | return isset( $installed_plugins[ $file_path ] ); 128 | } 129 | } 130 | 131 | /** 132 | * Get the value of a settings field 133 | * 134 | * @param string $option settings field name 135 | * @param string $section the section name this field belongs to 136 | * @param string $default default text if it's not found 137 | * @return mixed 138 | */ 139 | function granular_get_options( $option, $section, $default = '' ) { 140 | 141 | $options = get_option( $section ); 142 | 143 | if ( isset( $options[$option] ) ) { 144 | return $options[$option]; 145 | } 146 | 147 | return $default; 148 | } 149 | 150 | function elementor_dashboard_enqueue() { 151 | /* Get current page context */ 152 | global $pagenow; 153 | 154 | if( 'index.php' != $pagenow ){ 155 | return; 156 | } 157 | 158 | wp_enqueue_style( 'granular-dashboard-content', ELEMENTOR_CONTROLS_ASSETS_URL . 'css/granular-dashboard.min.css', false, '1.1', 'all' ); 159 | 160 | global $wp_styles, $is_IE; 161 | wp_enqueue_style( 'granular-font-awesome', ELEMENTOR_CONTROLS_ASSETS_URL . 'font-awesome/css/font-awesome.min.css', array(), '4.7.0' ); 162 | if ( $is_IE ) { 163 | wp_enqueue_style( 'granular-font-awesome-ie', '//maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome-ie7.min.css', array('granular-font-awesome'), '4.7.0' ); 164 | // Add IE conditional tags for IE 7 and older 165 | $wp_styles->add_data( 'granular-font-awesome-ie', 'conditional', 'lte IE 7' ); 166 | } 167 | 168 | wp_enqueue_script( 'granular-dashboard-content-js', ELEMENTOR_CONTROLS_ASSETS_URL . 'js/granular-dashboard.min.js', array( 'jquery' ), time(), true ); 169 | } 170 | $elementor_dash_on = granular_get_options( 'granular_elementor_dashboard_on', 'granular_advanced_settings', 'no' ); 171 | if ( 'yes' === $elementor_dash_on ) { 172 | remove_action( 'welcome_panel', 'wp_welcome_panel' ); 173 | add_action( 'admin_enqueue_scripts', 'elementor_dashboard_enqueue' ); 174 | } 175 | -------------------------------------------------------------------------------- /includes/granular-functions.php: -------------------------------------------------------------------------------- 1 | 17 | 23 | base == 'dashboard' ) { 29 | $panel_id = granular_get_options( 'granular_welcome_template_id', 'granular_advanced_settings', '' ); ?> 30 |
31 | 32 |

33 |
34 | 35 | 36 |
37 | frontend->get_builder_content_for_display( $panel_id );?> 38 |
39 | 40 |
41 | 42 |
43 | 52 | .elementor-panel .panel-elements-category-items{display: flex; flex-wrap: wrap; justify-content: flex-start;}.elementor-panel .elementor-element-wrapper{flex: 1 1 100px;} 53 | '; 54 | } 55 | 56 | public function enqueue_editor_skin_styles() { 57 | $suffix = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min'; 58 | $color = granular_get_options( 'granular_editor_skin', 'granular_editor_settings', '' ); 59 | 60 | wp_enqueue_style( 61 | 'elementor-editor-skin', 62 | ELEMENTOR_CONTROLS_ASSETS_URL . 'css/elementor-' . $color . '-skin.css', 63 | [], 64 | ELEMENTOR_CONTROLS_VERSION 65 | ); 66 | 67 | } 68 | 69 | //public function enqueue_onion_skin_styles() { 70 | // $suffix = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min'; 71 | 72 | // wp_enqueue_style( 73 | // 'granular-onion-skin', 74 | // ELEMENTOR_CONTROLS_ASSETS_URL . 'css/granular-onion-skin.min.css', 75 | // [], 76 | // ELEMENTOR_CONTROLS_VERSION 77 | // ); 78 | 79 | //} 80 | 81 | public function enqueue_welcome_panel_styles() { 82 | $suffix = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min'; 83 | $panel_id = granular_get_options( 'granular_welcome_template_id', 'granular_advanced_settings', '' ); 84 | wp_enqueue_style( 'granular-dashboard-page', esc_url( site_url().'/wp-content/uploads/elementor/css/post-' . $panel_id . '.css', false, '1.1', 'all' ) ); 85 | } 86 | 87 | private function functions_setup_hooks() { 88 | 89 | $accord_closed = granular_get_options( 'granular_accordion_off', 'granular_general_settings', 'no' ); 90 | if ( 'yes' === $accord_closed ) { 91 | add_action( 'wp_footer', [ $this, 'elementor_accordion_off' ], 99 ); 92 | } 93 | 94 | $dash_widget_off = granular_get_options( 'granular_dashboard_widget_off', 'granular_general_settings', 'no' ); 95 | if ( 'yes' === $dash_widget_off ) { 96 | add_action( 'wp_dashboard_setup', [ $this, 'disable_elementor_dashboard_overview_widget' ], 40 ); 97 | } 98 | 99 | $skin = granular_get_options( 'granular_editor_skin', 'granular_editor_settings', 'default' ); 100 | if ( ! empty ( $skin ) ) { 101 | add_action( 'elementor/editor/after_enqueue_styles', [ $this, 'enqueue_editor_skin_styles' ], 99 ); 102 | } 103 | 104 | $editor_hack_2 = granular_get_options( 'granular_editor_hack_2', 'granular_editor_settings', 'no' ); 105 | if ( 'yes' === $editor_hack_2 ) { 106 | add_action( 'elementor/editor/after_enqueue_styles', [ $this, 'db_ui_hack_2' ] ); 107 | } 108 | 109 | //$onion_skin_on = granular_get_options( 'granular_onion_skin_on', 'granular_editor_settings', 'no' ); 110 | //if ( 'yes' === $onion_skin_on ) { 111 | // add_action( 'elementor/editor/after_enqueue_styles', [ $this, 'enqueue_onion_skin_styles' ], 100 ); 112 | //} 113 | 114 | /* 115 | * Advanced Options 116 | */ 117 | $custom_panel = granular_get_options( 'granular_welcome_on', 'granular_advanced_settings', 'no' ); 118 | if ( 'yes' === $custom_panel ) { 119 | add_action( 'admin_notices', [ $this, 'granular_welcome_panel' ] ); 120 | add_action( 'admin_enqueue_scripts', [ $this, 'enqueue_welcome_panel_styles' ] ); 121 | } 122 | } 123 | 124 | public function __construct() { 125 | $this->functions_setup_hooks(); 126 | } 127 | } -------------------------------------------------------------------------------- /includes/modules-manager.php: -------------------------------------------------------------------------------- 1 | modules[ $module_name ] = $class_name::instance(); 35 | } 36 | } 37 | } 38 | 39 | /** 40 | * @param string $module_name 41 | * 42 | * @return Module_Base|Module_Base[] 43 | */ 44 | public function get_modules( $module_name ) { 45 | if ( $module_name ) { 46 | if ( isset( $this->modules[ $module_name ] ) ) { 47 | return $this->modules[ $module_name ]; 48 | } 49 | 50 | return null; 51 | } 52 | 53 | return $this->modules; 54 | } 55 | } 56 | -------------------------------------------------------------------------------- /modules/delayed-content/module.php: -------------------------------------------------------------------------------- 1 | add_actions(); 20 | } 21 | 22 | public function get_name() { 23 | return 'delayed-content'; 24 | } 25 | 26 | /** 27 | * @param $element Widget_Base 28 | * @param $section_id string 29 | * @param $args array 30 | */ 31 | public function register_controls( $element, $section_id, $args ) { 32 | static $sections = [ 33 | //'layout', /* Column */ 34 | 'section_layout', /* Section */ 35 | ]; 36 | 37 | if ( ! in_array( $section_id, $sections ) ) { 38 | return; 39 | } 40 | 41 | $element->start_controls_section( 42 | 'section_column_controls', 43 | [ 44 | 'label' => __( 'Delayed Content', 'granular-controls-for-elementor' ), 45 | 'tab' => Controls_Manager::TAB_LAYOUT, 46 | ] 47 | ); 48 | 49 | $element->add_control( 50 | 'column_controls_description', 51 | [ 52 | 'raw' => __( 'These controls only affect the Column/Section they are attached to!', 'granular-controls-for-elementor' ), 53 | 'type' => Controls_Manager::RAW_HTML, 54 | 'content_classes' => 'elementor-descriptor', 55 | ] 56 | ); 57 | 58 | $element->add_control( 59 | 'section_delay_on', 60 | [ 61 | 'label' => __( 'Delay Content?', 'granular-controls-for-elementor' ), 62 | 'type' => Controls_Manager::SWITCHER, 63 | 'default' => '', 64 | 'label_on' => 'Yes', 65 | 'label_off' => 'No', 66 | 'return_value' => 'yes', 67 | 'description' => __( 'Switch on to delay the contents of this column|section!.', 'granular-controls-for-elementor' ), 68 | ] 69 | ); 70 | 71 | $element->add_control( 72 | 'content_delay_time', 73 | [ 74 | 'label' => __( 'Delay Time', 'elementor' ), 75 | 'type' => Controls_Manager::TEXT, 76 | 'default' => '0.50', 77 | 'condition' => [ 78 | 'section_delay_on' => 'yes', 79 | ], 80 | 'description' => __( 'Set delay time in in minutes i.e 1 for 1 minute or 0.20 (60*0.2) for 12 seconds - default is 0.50 (30 seconds)!', 'granular-controls-for-elementor' ), 81 | ] 82 | ); 83 | 84 | $element->end_controls_section(); 85 | 86 | } 87 | 88 | public function before_render($element) { 89 | $settings = $element->get_settings(); 90 | 91 | if( $element->get_settings( 'section_delay_on' ) == 'yes' ) { 92 | $element->add_render_attribute( '_wrapper', 'id', 'delayed-content-' . $element->get_id() ); 93 | $element->add_render_attribute( '_wrapper', 'style', 'display:none' ); 94 | } 95 | } 96 | 97 | public function after_render($element) { 98 | $settings = $element->get_settings(); 99 | if( $element->get_settings( 'section_delay_on' ) == 'yes' ) { 100 | $time = $settings['content_delay_time']; 101 | ?> 102 | 103 | 113 | editor_bar_actions(); 22 | } 23 | } 24 | 25 | public function get_name() { 26 | return 'granular-bar'; 27 | } 28 | 29 | /** 30 | * @param $element Widget_Base 31 | * @param $section_id string 32 | * @param $args array 33 | */ 34 | public function register_controls( $element, $section_id, $args ) { 35 | static $sections = [ 36 | 'section_background', /* Section */ 37 | ]; 38 | 39 | if ( ! in_array( $section_id, $sections ) ) { 40 | return; 41 | } 42 | 43 | } 44 | 45 | protected function editor_bar_actions() { 46 | add_action( 'elementor/editor/after_enqueue_styles', [ $this, 'enqueue_editor_bar_styles' ] ); 47 | add_action( 'elementor/editor/after_enqueue_styles', [ $this, 'enqueue_editor_scripts' ] ); 48 | add_action( 'elementor/editor/footer', [ $this, 'granular_editor_bar'], 0 ); 49 | } 50 | 51 | public function granular_editor_bar($element) { 52 | global $post; 53 | $exit_strategy = granular_get_options( 'granular_editor_exit_point', 'granular_editor_settings', 'editor' ); 54 | $exit_target = granular_get_options( 'granular_editor_exit_target', 'granular_editor_settings', 'editor' ); 55 | $exit_name = granular_get_options( 'granular_editor_exit_name', 'granular_editor_settings', '' ); 56 | $live_name = granular_get_options( 'granular_editor_live_view_name', 'granular_editor_settings', '' ); 57 | $id = $post->ID; 58 | $live_view = esc_url( get_permalink( $id ) ); 59 | if ( 'dashboard' === $exit_strategy ) { 60 | $exit_point = esc_url( admin_url() ); 61 | } elseif ( 'editor' === $exit_strategy ) { 62 | $exit_point = esc_url( get_edit_post_link( $id ) ); 63 | } elseif ( 'type_pages' === $exit_strategy ) { 64 | $exit_point = esc_url( admin_url( 'edit.php?post_type=page' ) ); 65 | } elseif ( 'type_posts' === $exit_strategy ) { 66 | $exit_point = esc_url( admin_url( 'edit.php' ) ); 67 | } elseif ( 'type_lib' === $exit_strategy ) { 68 | $exit_point = esc_url( admin_url( 'edit.php?post_type=elementor_library' ) ); 69 | } elseif ( 'live' === $exit_strategy ) { 70 | $exit_point = esc_url( home_url( '/' ) ); 71 | } 72 | 73 | ?> 74 | 98 | add_actions(); 21 | } 22 | } 23 | 24 | public function get_name() { 25 | return 'granular-parallax'; 26 | } 27 | 28 | public function get_script_depends() { 29 | return [ 'granule-parallax-js' ]; 30 | } 31 | 32 | /** 33 | * @param $element Widget_Base 34 | * @param $section_id string 35 | * @param $args array 36 | */ 37 | public function register_controls( $element, $section_id, $args ) { 38 | static $sections = [ 39 | 'section_background', /* Section */ 40 | ]; 41 | 42 | if ( ! in_array( $section_id, $sections ) ) { 43 | return; 44 | } 45 | 46 | $element->add_control( 47 | 'granules_parallax_particles_notice', 48 | [ 49 | 'raw' => __( 'NOTICE: Please note that using both Parallax & Particles together on the same section may have side effects - use with care!', 'granular-controls-for-elementor' ), 50 | 'type' => Controls_Manager::RAW_HTML, 51 | 'content_classes' => 'elementor-descriptor', 52 | ] 53 | ); 54 | 55 | $element->add_control( 56 | 'section_parallax_on', 57 | [ 58 | 'label' => __( 'Enable Parallax', 'granular-controls-for-elementor' ), 59 | 'type' => Controls_Manager::SWITCHER, 60 | 'default' => '', 61 | 'label_on' => 'Yes', 62 | 'label_off' => 'No', 63 | 'return_value' => 'yes', 64 | 'description' => __( 'Enable to access extra controls.', 'granular-controls-for-elementor' ), 65 | ] 66 | ); 67 | 68 | $element->add_responsive_control( 69 | 'parallax_type', 70 | [ 71 | 'label' => __( 'Type', 'granular-controls-for-elementor' ), 72 | 'type' => Controls_Manager::SELECT, 73 | 'default' => 'scroll', 74 | 'options' => [ 75 | 'scroll' => __( 'Scroll', 'granular-controls-for-elementor' ), 76 | 'scroll-opacity' => __( 'Scroll + Opacity', 'granular-controls-for-elementor' ), 77 | 'opacity' => __( 'Opacity', 'granular-controls-for-elementor' ), 78 | 'scale' => __( 'Scale', 'granular-controls-for-elementor' ), 79 | 'scale-opacity' => __( 'Scale + Opacity', 'granular-controls-for-elementor' ), 80 | ], 81 | 'condition' => [ 82 | 'section_parallax_on' => 'yes', 83 | ], 84 | 'description' => __( 'Set the Parallax type needed - default is Scroll effect.', 'granular-controls-for-elementor' ), 85 | ] 86 | ); 87 | 88 | $element->add_control( 89 | 'granules_parallax_speed_notice', 90 | [ 91 | 'raw' => __( 'NOTICE: Speed has some caveats - the higher the speed the greater the zoom on the image. Negative speed values will also switch the direction of the movement on scroll!', 'granular-controls-for-elementor' ), 92 | 'type' => Controls_Manager::RAW_HTML, 93 | 'content_classes' => 'elementor-descriptor', 94 | 'condition' => [ 95 | 'section_parallax_on' => 'yes', 96 | ], 97 | ] 98 | ); 99 | 100 | $element->add_control( 101 | 'parallax_speed', 102 | [ 103 | 'label' => __( 'Speed', 'granular-controls-for-elementor' ), 104 | 'type' => Controls_Manager::NUMBER, 105 | 'default' => 1.2, 106 | 'description' => __( 'This should be set between -1 to a max of 2 - Decimal points must be used for fine controls.', 'granular-controls-for-elementor' ), 107 | 'condition' => [ 108 | 'section_parallax_on' => 'yes', 109 | ], 110 | ] 111 | ); 112 | 113 | $element->add_control( 114 | 'granules_parallax_mobile_notice', 115 | [ 116 | 'raw' => __( 'NOTICE: These options are untested and I would love to hear your feedback on them once you have tried them!', 'granular-controls-for-elementor' ), 117 | 'type' => Controls_Manager::RAW_HTML, 118 | 'content_classes' => 'elementor-descriptor', 119 | 'condition' => [ 120 | 'section_parallax_on' => 'yes', 121 | ], 122 | ] 123 | ); 124 | 125 | $element->add_control( 126 | 'android_support', 127 | [ 128 | 'label' => __( 'Android Support', 'granular-controls-for-elementor' ), 129 | 'type' => Controls_Manager::SELECT, 130 | 'default' => 'false', 131 | 'options' => [ 132 | 'false' => __( 'Enable', 'granular-controls-for-elementor' ), 133 | 'true' => __( 'Disable', 'granular-controls-for-elementor' ), 134 | ], 135 | 'condition' => [ 136 | 'section_parallax_on' => 'yes', 137 | ], 138 | 'description' => __( 'Enable support on Android devices.', 'granular-controls-for-elementor' ), 139 | ] 140 | ); 141 | 142 | $element->add_control( 143 | 'ios_support', 144 | [ 145 | 'label' => __( 'iOS Support', 'granular-controls-for-elementor' ), 146 | 'type' => Controls_Manager::SELECT, 147 | 'default' => 'false', 148 | 'options' => [ 149 | 'false' => __( 'Enable', 'granular-controls-for-elementor' ), 150 | 'true' => __( 'Disable', 'granular-controls-for-elementor' ), 151 | ], 152 | 'condition' => [ 153 | 'section_parallax_on' => 'yes', 154 | ], 155 | 'description' => __( 'Enable support on iOs devices.', 'granular-controls-for-elementor' ), 156 | ] 157 | ); 158 | 159 | } 160 | 161 | protected function add_actions() { 162 | add_action( 'elementor/element/before_section_end', [ $this, 'register_controls' ], 10, 3 ); 163 | add_action( 'elementor/frontend/element/after_render', [ $this, 'after_render'], 10, 1 ); 164 | 165 | add_action( 'wp_enqueue_scripts', [ $this, 'enqueue_scripts' ] ); 166 | } 167 | 168 | public function after_render($element) { 169 | $settings = $element->get_settings(); 170 | if( $element->get_settings( 'section_parallax_on' ) == 'yes' ) { 171 | $type = $settings['parallax_type']; 172 | $and_support = $settings['android_support']; 173 | $ios_support = $settings['ios_support']; 174 | $speed = $settings['parallax_speed']; 175 | 176 | ?> 177 | 199 | 200 | add_actions(); 21 | } 22 | } 23 | 24 | public function get_name() { 25 | return 'granular-particles'; 26 | } 27 | 28 | /** 29 | * @param $element Widget_Base 30 | * @param $section_id string 31 | * @param $args array 32 | */ 33 | public function register_controls( $element, $section_id, $args ) { 34 | static $sections = [ 35 | 'section_background', /* Section */ 36 | ]; 37 | 38 | if ( ! in_array( $section_id, $sections ) ) { 39 | return; 40 | } 41 | 42 | $element->add_control( 43 | 'section_particles_on', 44 | [ 45 | 'label' => __( 'Enable Particles', 'granular-controls-for-elementor' ), 46 | 'type' => Controls_Manager::SWITCHER, 47 | 'default' => '', 48 | 'label_on' => 'Yes', 49 | 'label_off' => 'No', 50 | 'return_value' => 'yes', 51 | 'description' => __( 'Switch on to enable & access Particles options! Note that currently particles are not visible in edit/preview mode & can only be viewed on the frontend.', 'granular-controls-for-elementor' ), 52 | ] 53 | ); 54 | 55 | $element->add_responsive_control( 56 | 'particles_custom_height', 57 | [ 58 | 'label' => __( 'Height', 'granular-controls-for-elementor' ), 59 | 'type' => Controls_Manager::NUMBER, 60 | 'condition' => [ 61 | 'section_particles_on' => 'yes', 62 | ], 63 | 'description' => __( 'Set this equal to the set Minimum Height of your section - default is 400px!', 'granular-controls-for-elementor' ), 64 | ] 65 | ); 66 | 67 | $element->add_control( 68 | 'section_particles_js', 69 | [ 70 | 'label' => __( 'Particles JSON', 'granular-controls-for-elementor' ), 71 | 'type' => Controls_Manager::TEXTAREA, 72 | 'condition' => [ 73 | 'section_particles_on' => 'yes', 74 | ], 75 | 'description' => __( 'Paste your particles JSON code here - Generate it from Here!', 'granular-controls-for-elementor' ), 76 | 'default' => '', 77 | ] 78 | ); 79 | 80 | } 81 | 82 | protected function add_actions() { 83 | add_action( 'elementor/element/before_section_end', [ $this, 'register_controls' ], 10, 3 ); 84 | add_action( 'elementor/frontend/element/before_render', [ $this, 'before_render'], 10, 1 ); 85 | add_action( 'elementor/frontend/element/after_render', [ $this, 'after_render'], 10, 1 ); 86 | 87 | add_action( 'wp_enqueue_scripts', [ $this, 'enqueue_scripts' ] ); 88 | add_action( 'elementor/editor/before_enqueue_scripts', [ $this, 'enqueue_scripts' ] ); 89 | } 90 | 91 | public function before_render($element) { 92 | $settings = $element->get_settings(); 93 | if( $element->get_settings( 'section_particles_on' ) == 'yes' ) { 94 | 95 | if ( empty( $settings['particles_custom_height'] ) ) { 96 | $height = '400'; 97 | } else { 98 | $height = $settings['particles_custom_height']; 99 | } 100 | 101 | $element->add_render_attribute( '_wrapper', 'id', 'granule-particles-' . $element->get_id() ); ?> 102 | 103 | get_settings(); 109 | if( $element->get_settings( 'section_particles_on' ) == 'yes' ) { 110 | if ( ! empty( $settings['section_particles_js'] ) ) { ?> 111 | 114 | default_particles_render($element); } 115 | } 116 | } 117 | 118 | protected function default_particles_render($element) { ?> 119 | 132 | add_actions(); 20 | } 21 | 22 | public function get_name() { 23 | return 'scheduled-controls'; 24 | } 25 | 26 | /** 27 | * @param $element Widget_Base 28 | * @param $section_id string 29 | * @param $args array 30 | */ 31 | public function register_controls( $element, $section_id, $args ) { 32 | static $sections = [ 33 | 'layout', /* Column */ 34 | 'section_layout', /* Section */ 35 | ]; 36 | 37 | if ( ! in_array( $section_id, $sections ) ) { 38 | return; 39 | } 40 | 41 | $element->start_controls_section( 42 | 'section_scheduled_controls', 43 | [ 44 | 'label' => __( 'Schedule Content', 'granular-controls-for-elementor' ), 45 | 'tab' => Controls_Manager::TAB_LAYOUT, 46 | ] 47 | ); 48 | 49 | $element->add_control( 50 | 'schedule_content_description', 51 | [ 52 | 'raw' => __( 'These controls only affect the Column|Section they are attached to!', 'granular-controls-for-elementor' ), 53 | 'type' => Controls_Manager::RAW_HTML, 54 | 'content_classes' => 'elementor-descriptor', 55 | ] 56 | ); 57 | 58 | $element->add_control( 59 | 'scheduled_content_on', 60 | [ 61 | 'label' => __( 'Schedule Content?', 'granular-controls-for-elementor' ), 62 | 'type' => Controls_Manager::SWITCHER, 63 | 'default' => '', 64 | 'label_on' => 'Yes', 65 | 'label_off' => 'No', 66 | 'return_value' => 'yes', 67 | 'description' => __( 'Switch on to schedule the contents of this column|section!.', 'granular-controls-for-elementor' ), 68 | ] 69 | ); 70 | 71 | $element->add_control( 72 | 'schedule_start_date', 73 | [ 74 | 'label' => __( 'Start Date', 'granular-controls-for-elementor' ), 75 | 'type' => Controls_Manager::DATE_TIME, 76 | 'default' => $this->current_date_time(), 77 | 'condition' => [ 78 | 'scheduled_content_on' => 'yes', 79 | ], 80 | 'description' => __( 'Set content display schedule start date!', 'granular-controls-for-elementor' ), 81 | ] 82 | ); 83 | 84 | $element->add_control( 85 | 'schedule_end_date', 86 | [ 87 | 'label' => __( 'End Date', 'granular-controls-for-elementor' ), 88 | 'type' => Controls_Manager::DATE_TIME, 89 | 'default' => '01/01/2019 00:00:00', 90 | 'condition' => [ 91 | 'scheduled_content_on' => 'yes', 92 | ], 93 | 'description' => __( 'Set content display schedule end date!', 'granular-controls-for-elementor' ), 94 | ] 95 | ); 96 | 97 | $element->end_controls_section(); 98 | 99 | } 100 | 101 | public function before_render($element) { 102 | $settings = $element->get_settings(); 103 | if( $element->get_settings( 'scheduled_content_on' ) == 'yes' ) { 104 | $element->add_render_attribute( '_wrapper', 'class', 'scheduled-content-' . $element->get_id() ); 105 | } 106 | } 107 | 108 | public function after_render($element) { 109 | $settings = $element->get_settings(); 110 | if( $element->get_settings( 'scheduled_content_on' ) == 'yes' ) { 111 | $start = $settings['schedule_start_date']; 112 | $end = $settings['schedule_end_date']; ?> 113 | 137 | _modules_manager = new Manager(); 130 | 131 | $elementor = Elementor\Plugin::$instance; 132 | 133 | // Add element category in panel 134 | $elementor->elements_manager->add_category( 135 | 'elementor-controls-elements', 136 | [ 137 | 'title' => __( 'Elementor Controls Elements', 'granular-controls-for-elementor' ), 138 | 'icon' => 'font', 139 | ], 140 | 1 141 | ); 142 | 143 | do_action( 'elementor_controls/init' ); 144 | } 145 | 146 | private function setup_hooks() { 147 | add_action( 'elementor/init', [ $this, 'elementor_controls_init' ] ); 148 | } 149 | 150 | /** 151 | * Plugin constructor. 152 | */ 153 | private function __construct() { 154 | spl_autoload_register( [ $this, 'autoload' ] ); 155 | 156 | $this->_includes(); 157 | 158 | $this->setup_hooks(); 159 | 160 | if ( is_admin() && current_user_can( 'activate_plugins' ) ) { 161 | new Granular_Controls_Settings_API(); 162 | } 163 | 164 | new Plugin_Functions(); 165 | 166 | } 167 | } 168 | 169 | if ( ! defined( 'ELEMENTOR_CONTROLS_TESTS' ) ) { 170 | // In tests we run the instance manually. 171 | Plugin::instance(); 172 | } -------------------------------------------------------------------------------- /readme.txt: -------------------------------------------------------------------------------- 1 | === Granular Controls For Elementor === 2 | Contributors: norewp, diggeddy, Alex Ischenko 3 | Donate link: https://www.paypal.me/NoreMarketing/5 4 | Tags: Elementor, Custom Controls, Accordion off, Delayed content, Editor Skins, UI Hacks, Elementor Parallax, Elementor Particles 5 | Requires at least: 4.6 6 | Tested up to: 4.9.4 7 | Stable tag: 1.0.5 8 | License: GPLv2 or later 9 | License URI: http://www.gnu.org/licenses/gpl-2.0.html 10 | 11 | Custom controls for Elementor Page Builder. 12 | 13 | == Description == 14 | 15 | https://www.youtube.com/watch?v=RMeiqS0q3zs 16 | 17 | WARNING: Semi breaking change in v1.0.2 - setting options have been added to switch Parallax & Particles on/off. With this update you'll need to turn these on via the settings page! 18 | 19 | Granular Controls for Elementor brings additional controls to the ever popular Elementor Page Builder plugin. 20 | 21 | This plugin gives you the options to set the Accordion's first tab to closed on page load, select a custom editor skin, set a specific section/column to appear after a certain time (Delayed content), 22 | schedule a section/column to be displayed during a given date period by setting the start and end date, plus much more to come. 23 | 24 | Featuring David Beckwith's (@diggeddy) Elementor UI hack: 25 | 26 | https://www.youtube.com/watch?v=s7TxNEXh7os 27 | 28 | = Features = 29 | * Keep all accordions closed on page load. 30 | * Turn off Elementor dashboard widget 31 | * Apply a preset color skin to the editor panel 32 | * Apply the Elementor UI hack #2 as seen in the video above. 33 | * Set any Section or Column to appear after a certain time - Delayed Content 34 | * Schedule visibility of any Section or column for a given time period (Days & Hours) - Scheduled Content 35 | * Parallax option for sections. Additional controls added. 36 | * Particles option for sections. 37 | * Elementor Library Templates as the Admin Dashboard Welcome Notice Page. 38 | * Draggable Editor Bar with 1 click exit to Dashboard + a View Live Page button that opens in a new tab. 39 | * Exit Point can now be set to the Dashboard, the current page/post/library edit screen, the pages list, posts list or library list. 40 | * Exit Point button text can now be changed to custom text. 41 | 42 | 43 | = Be a contributor = 44 | 45 | If you would like to become a contributer, suggest features and/or report bugs please visit our [Granular Controls for Elementor](https://github.com/norewp/granular-controls-elementor) repository on GitHub to let us know. 46 | 47 | 48 | == Installation == 49 | 50 | 1. Upload the plugin files to the `/wp-content/plugins/` directory, or install the plugin through the WordPress plugins screen directly. 51 | 2. Activate the plugin through the 'Plugins' screen in WordPress 52 | 3. Visit Elementor > Granular Controls to access the settings - other settings are accessible via the Editor and set on per page/section/column basis. 53 | 54 | == Screenshots == 55 | 56 | == FAQ == 57 | **I've switched Particles on and they overlay my content, how can I fix this?** 58 | 59 | To resolve this any widgets placed in the section will need a higher z-index - Go to the Advanced tab of each widget and set the z-index to 1 & save 60 | 61 | **I can no longer see the controls for Parallax and/or Particles, Why?** 62 | 63 | In order to avoid scripts being loaded on sites that are not using these options a setting control has been added where they can be switched on and off as needed - See Elementor > Granular Controls > Editor Options. 64 | 65 | **I do not see the Exit Bar in the Editor, how do I get access to it?** 66 | 67 | You can enable or disable the bar via the settings page - Visit Elementor > Granular Controls > Editor Options to activate it. 68 | 69 | **When I turn on the Admin Dashboard Page I loose my admin widgets too, what's wrong?** 70 | 71 | As the admin page is being modified this may happen on some sites but the widgets are not lost - simply click on the screen options and turn them on again. 72 | 73 | == Changelog == 74 | 75 | = 1.0.5 = 76 | * NEW: Added option to set custom text for the live view button. 77 | * NEW: Added option to exit to main site for the Exit Strategy button. 78 | * TWEAK: Both text fields for the Exit & Live view fields can be left empty to only show the Icons. 79 | * TWEAK: CSS adjustments to accommodate the above changes. 80 | * TWEAK: Adjusted color contrast on the Typography popover to make texts more legible. 81 | * TWEAK: Adjusted Publish button color for the new Conditional Popup introduced in Elementor v2. 82 | * TWEAKS: Minor code and CSS tweaks for better visibility on certain elements. 83 | 84 | = 1.0.4 = 85 | * TWEAK: Changed plugin textdoman to match the plugin slug in order to resolve the WordPress/GlotPress translation issue. 86 | * NEW: Added option to change the name of the Exit Point button to reflect the choice made for the exit point. 87 | * FIX: Safari issue with the Editor Bar not showing. 88 | * TWEAKS: CSS adjustments on editor skins for better focus & visibility. 89 | 90 | = 1.0.3 = 91 | * TWEAK: Editor Bar now remembers the last dragged to position 92 | * TWEAK: Changed Editor Bar's snapMode and containment to be inside the preview iframe - this avoids the bar being dragged out of the window and/or over the side panel. 93 | * TWEAK: Added additional exit points + option to set the target of the exit i.e same or new tab. 94 | * TWEAK: Parallax now has additional controls. 95 | * Minor code adjustments and tweaks 96 | 97 | 98 | = 1.0.2 = 99 | * NEW: Added option to enable a custom Editor Bar that includes the Exit to Dashboard button as well as the View the live page. The bar is draggable and therefore can be moved anywhere on the screen. 100 | * TWEAK: Escalated capability so that only administrators have access to the settings page. 101 | * TWEAK: Added settings options to turn on/off the Parallax & Particles in order to avoid loading the scripts when these are not being used. 102 | * TWEAKS: Minor adjustments to CSS rules in the skin files as well as some code clean up 103 | 104 | = 1.0.1 = 105 | * NEW: Added Parallax option to Sections - Editor > Section > Style > Background & switch parallax on. 106 | * NEW: Added Particles option to Sections - Editor > Section > Style > Background - switch particles on & configure as needed. 107 | * NEW: Added option to select an Elementor Library Template as the Admin Dashboard Welcome page - Elementor > Granular Controls > Advanced & configure the options. Initial implementation! 108 | 109 | = 1.0.0 = 110 | * Initial release -------------------------------------------------------------------------------- /settings/settings.php: -------------------------------------------------------------------------------- 1 | settings_api = new Granular_Settings_API; 17 | 18 | add_action( 'admin_init', array($this, 'admin_init') ); 19 | add_action( 'admin_menu', array($this, 'add_admin_menu'), 503 ); 20 | } 21 | 22 | function admin_init() { 23 | 24 | //set the settings 25 | $this->settings_api->set_sections( $this->get_settings_sections() ); 26 | $this->settings_api->set_fields( $this->get_settings_fields() ); 27 | 28 | //initialize settings 29 | $this->settings_api->admin_init(); 30 | } 31 | 32 | function add_admin_menu() { 33 | add_submenu_page( 34 | Elementor\Settings::PAGE_ID, 35 | __( 'Granular Controls', 'granular-controls-for-elementor' ), 36 | __( 'Granular Controls', 'granular-controls-for-elementor' ), 37 | 'delete_posts', 38 | 'granular_controls', 39 | array($this, 'granular_settings_page' ) ); 40 | } 41 | 42 | function get_settings_sections() { 43 | $sections = array( 44 | array( 45 | 'id' => 'granular_general_settings', 46 | 'title' => __( 'General Controls', 'granular-controls-for-elementor' ) 47 | ), 48 | array( 49 | 'id' => 'granular_editor_settings', 50 | 'title' => __( 'Editor Options', 'granular-controls-for-elementor' ) 51 | ), 52 | array( 53 | 'id' => 'granular_advanced_settings', 54 | 'title' => __( 'Advanced Settings', 'granular-controls-for-elementor' ) 55 | ) 56 | ); 57 | return $sections; 58 | } 59 | 60 | /** 61 | * Returns all the settings fields 62 | * 63 | * @return array settings fields 64 | */ 65 | function get_settings_fields() { 66 | 67 | $templates = $this->get_templates(); 68 | $options = [ 69 | '' => '— ' . __( 'Select', 'granular-controls-for-elementor' ) . ' —', 70 | ]; 71 | foreach ( $templates as $template ) { 72 | $options[ $template['template_id'] ] = $template['title'] . ' (' . $template['type'] . ')'; 73 | } 74 | $settings_fields = array( 75 | 'granular_general_settings' => array( 76 | array( 77 | 'name' => 'granular_accordion_off', 78 | 'label' => __( 'Accordions Closed?', 'granular-controls-for-elementor' ), 79 | 'desc' => __( 'Set all accordions\' first tab to be closed on page load.', 'granular-controls-for-elementor' ), 80 | 'type' => 'radio', 81 | 'default' => 'no', 82 | 'options' => array( 83 | 'yes' => 'Yes', 84 | 'no' => 'No' 85 | ) 86 | ), 87 | array( 88 | 'name' => 'granular_dashboard_widget_off', 89 | 'label' => __( 'Remove Dashboard Widget', 'granular-controls-for-elementor' ), 90 | 'desc' => __( 'Remove the Elementor\'s dashboard widget.', 'granular-controls-for-elementor' ), 91 | 'type' => 'radio', 92 | 'default' => 'no', 93 | 'options' => array( 94 | 'yes' => 'Yes', 95 | 'no' => 'No' 96 | ) 97 | ) 98 | ), 99 | 'granular_editor_settings' => array( 100 | array( 101 | 'name' => 'granular_editor_skin', 102 | 'label' => __( 'Change Editor Color', 'granular-controls-for-elementor' ), 103 | 'desc' => __( 'Apply a custom color skin to the editor panel. Dark skin is by Alex Ischenko', 'granular-controls-for-elementor' ), 104 | 'type' => 'select', 105 | 'default' => '', 106 | 'options' => array( 107 | '' => __( 'Default', 'granular-controls-for-elementor' ), 108 | 'dark' => __( 'Dark', 'granular-controls-for-elementor' ), 109 | 'lgrunge' => __( 'Light Grunge', 'granular-controls-for-elementor' ), 110 | 'dgrunge' => __( 'Dark Grunge', 'granular-controls-for-elementor' ), 111 | 'blue' => __( 'Deep Blue', 'granular-controls-for-elementor' ), 112 | 'purple' => __( 'Deep Purple', 'granular-controls-for-elementor' ), 113 | 'red' => __( 'Red', 'granular-controls-for-elementor' ), 114 | 'gred' => __( 'Grunge Red', 'granular-controls-for-elementor' ) 115 | ), 116 | ), 117 | array( 118 | 'name' => 'granular_editor_hack_2', 119 | 'label' => __( 'Elementor UI Hack Widget Panel', 'granular-controls-for-elementor' ), 120 | 'desc' => __( 'Elementor - Hacking away at UI Frustrations #2 - Widget Panel By David Beckwith.', 'granular-controls-for-elementor' ), 121 | 'type' => 'radio', 122 | 'default' => 'no', 123 | 'options' => array( 124 | 'yes' => 'Yes', 125 | 'no' => 'No' 126 | ) 127 | ), 128 | //array( 129 | // 'name' => 'granular_onion_skin_on', 130 | // 'label' => __( 'Elementor Onion Skin Hack', 'granular-controls-for-elementor' ), 131 | // 'desc' => __( 'Elementor - Apply the Onion Skin Hack By David Beckwith.', 'granular-controls-for-elementor' ), 132 | // 'type' => 'radio', 133 | // 'default' => 'no', 134 | // 'options' => array( 135 | // 'yes' => 'Yes', 136 | // 'no' => 'No' 137 | // ) 138 | //), 139 | array( 140 | 'name' => 'granular_editor_parallax_on', 141 | 'label' => __( 'Enable Parallax', 'granular-controls-for-elementor' ), 142 | 'desc' => __( 'Choose to load the Parallax scripts and it\'s controls or not!', 'granular-controls-for-elementor' ), 143 | 'type' => 'radio', 144 | 'default' => 'no', 145 | 'options' => array( 146 | 'yes' => 'Yes', 147 | 'no' => 'No' 148 | ) 149 | ), 150 | array( 151 | 'name' => 'granular_editor_particles_on', 152 | 'label' => __( 'Enable Particles', 'granular-controls-for-elementor' ), 153 | 'desc' => __( 'Choose to load the Particles scripts and it\'s controls or not!', 'granular-controls-for-elementor' ), 154 | 'type' => 'radio', 155 | 'default' => 'no', 156 | 'options' => array( 157 | 'yes' => 'Yes', 158 | 'no' => 'No' 159 | ) 160 | ), 161 | array( 162 | 'name' => 'granular_editor_exit_on', 163 | 'label' => __( 'Enable Exit Bar', 'granular-controls-for-elementor' ), 164 | 'desc' => __( 'Don\'t like having to go through too many hoops in order to exit the editor? There\'s a control for that - just enable to get a 1 exit option bar!', 'granular-controls-for-elementor' ), 165 | 'type' => 'radio', 166 | 'default' => 'no', 167 | 'options' => array( 168 | 'yes' => 'Yes', 169 | 'no' => 'No' 170 | ) 171 | ), 172 | array( 173 | 'name' => 'granular_editor_exit_point', 174 | 'label' => __( 'Exit Point', 'granular-controls-for-elementor' ), 175 | 'desc' => __( 'Select where to land when the Exit To Dashboard buttons is clicked - Default is the current post/page edit screen', 'granular-controls-for-elementor' ), 176 | 'type' => 'select', 177 | 'default' => '', 178 | 'options' => array( 179 | 'editor' => __( 'Edit Screen', 'granular-controls-for-elementor' ), 180 | 'type_pages' => __( 'Pages List', 'granular-controls-for-elementor' ), 181 | 'type_posts' => __( 'Posts List', 'granular-controls-for-elementor' ), 182 | 'type_lib' => __( 'Library List', 'granular-controls-for-elementor' ), 183 | 'dashboard' => __( 'Admin Dashboard', 'granular-controls-for-elementor' ), 184 | 'live' => __( 'Site\'s Home Page', 'granular-controls-for-elementor' ) 185 | ), 186 | ), 187 | array( 188 | 'name' => 'granular_editor_exit_target', 189 | 'label' => __( 'Exit Target', 'granular-controls-for-elementor' ), 190 | 'desc' => __( 'Select How the exit happens. Sometimes you might want to quickly pop into the Admin area without leaving the editor
then setting the Exit Point to a new tab might be ideal for your work flow :)', 'granular-controls-for-elementor' ), 191 | 'type' => 'select', 192 | 'default' => '', 193 | 'options' => array( 194 | '' => __( 'Same Tab/Window', 'granular-controls-for-elementor' ), 195 | '_blank' => __( 'New Tab/Window', 'granular-controls-for-elementor' ) 196 | ), 197 | ), 198 | array( 199 | 'name' => 'granular_editor_exit_name', 200 | 'label' => __( 'Exit Name', 'granular-controls-for-elementor' ), 201 | 'desc' => __( 'If you\'ve changed the default exit point it might be worth changing the button text too so that you know where you\'ll land on exit :) ', 'granular-controls-for-elementor' ), 202 | 'type' => 'text', 203 | 'default' => __( 'Exit To Dashboard', 'granular-controls-for-elementor' ), 204 | ), 205 | array( 206 | 'name' => 'granular_editor_live_view_name', 207 | 'label' => __( 'Live View Name', 'granular-controls-for-elementor' ), 208 | 'desc' => __( 'Change the Live View text or leave empty to only show the icon :) ', 'granular-controls-for-elementor' ), 209 | 'type' => 'text', 210 | 'default' => __( 'View Live Page', 'granular-controls-for-elementor' ), 211 | ), 212 | ), 213 | 'granular_advanced_settings' => array( 214 | array( 215 | 'name' => 'granular_elementor_dashboard_on', 216 | 'label' => __( 'Elementor In Dashboard', 'granular-controls-for-elementor' ), 217 | 'desc' => __( 'Enable use of Elementor content in the Admin Dashboard - below options will not function correctly with this setting turned off!.', 'granular-controls-for-elementor' ), 218 | 'type' => 'radio', 219 | 'default' => 'no', 220 | 'options' => array( 221 | 'yes' => 'Yes', 222 | 'no' => 'No' 223 | ) 224 | ), 225 | array( 226 | 'name' => 'granular_welcome_on', 227 | 'label' => __( 'Welcome Panel', 'granular-controls-for-elementor' ), 228 | 'desc' => __( 'Enable the custom Granular Welcome Panel in the Admin Dashboard.', 'granular-controls-for-elementor' ), 229 | 'type' => 'radio', 230 | 'default' => 'no', 231 | 'options' => array( 232 | 'yes' => 'Yes', 233 | 'no' => 'No' 234 | ) 235 | ), 236 | array( 237 | 'name' => 'granular_welcome_template_id', 238 | 'label' => __( 'Panel Template ID', 'granular-controls-for-elementor' ), 239 | 'desc' => __( 'Select the template you\'d like to be used as the Welcome Panel in the Admin Dashboard.', 'granular-controls-for-elementor' ), 240 | 'type' => 'select', 241 | 'default' => '', 242 | 'options' => $options, 243 | ), 244 | ) 245 | ); 246 | 247 | return $settings_fields; 248 | } 249 | 250 | function granular_settings_page() { 251 | echo '
'; 252 | $this->settings_api->show_navigation(); 253 | $this->settings_api->show_forms(); 254 | echo '
'; 255 | } 256 | 257 | /** 258 | * Get all the pages 259 | * 260 | * @return array page names with key value pairs 261 | */ 262 | function get_pages() { 263 | $pages = get_pages(); 264 | $pages_options = array(); 265 | if ( $pages ) { 266 | foreach ($pages as $page) { 267 | $pages_options[$page->ID] = $page->post_title; 268 | } 269 | } 270 | 271 | return $pages_options; 272 | } 273 | 274 | public static function get_templates() { 275 | return Plugin::elementor()->templates_manager->get_source( 'local' )->get_items(); 276 | } 277 | 278 | } 279 | } --------------------------------------------------------------------------------