diff --git a/LICENSE.md b/LICENSE.md new file mode 100644 index 0000000..ecbc059 --- /dev/null +++ b/LICENSE.md @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + , 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..4eb9a48 --- /dev/null +++ b/README.md @@ -0,0 +1,174 @@ +[![Codestar Framework](http://s3.codestarthemes.com/codecanyon/23079100/github-banner.png)](http://codestarframework.com/) + +# Codestar Framework +A Simple and Lightweight WordPress Option Framework for Themes and Plugins. Built in Object Oriented Programming paradigm with high number of custom fields and tons of options. Allows you to bring custom admin, metabox, taxonomy and customize settings to all of your pages, posts and categories. It's highly modern and advanced framework. + +## Contents +- [Demo](#demo) +- [Installation](#installation) +- [Quick Start](#quick-start) +- [Documentation](#documentation) +- [Free vs Premium](#free-vs-premium) +- [Whats news?](#whats-news-) +- [Support](#support) +- [Release Notes](#release-notes) +- [Migrate v1.x to v2.x](#migrate) +- [License](#license) + +## Demo +For usage and examples, have a look at :rocket: [online demo](http://codestarthemes.com/plugins/codestar-framework/wp-login.php?login=demo) + +## Installation + +1. Download the installable WordPress plugin zip. +2. Upload and active plugin from `WordPress` → `Plugins` → `Add New` +3. After activation, next step is to configure your settings. You can do it from here :gear: [configurations](http://codestarframework.com/documentation/#/configurations) + +## Quick Start + +Open your current theme **functions.php** file and paste this code. + +```php +// Check core class for avoid errors +if( class_exists( 'CSF' ) ) { + + // Set a unique slug-like ID + $prefix = 'my_framework'; + + // Create options + CSF::createOptions( $prefix, array( + 'menu_title' => 'My Framework', + 'menu_slug' => 'my-framework', + ) ); + + // Create a section + CSF::createSection( $prefix, array( + 'title' => 'Tab Title 1', + 'fields' => array( + + // A text field + array( + 'id' => 'opt-text', + 'type' => 'text', + 'title' => 'Simple Text', + ), + + ) + ) ); + + // Create a section + CSF::createSection( $prefix, array( + 'title' => 'Tab Title 2', + 'fields' => array( + + // A textarea field + array( + 'id' => 'opt-textarea', + 'type' => 'textarea', + 'title' => 'Simple Textarea', + ), + + ) + ) ); + +} +``` +How to get option value ? +```php +$options = get_option( 'my_framework' ); // unique id of the framework + +echo $options['opt-text']; // id of the field +echo $options['opt-textarea']; // id of the field +``` + +## Documentation +Read the documentation for details :closed_book: [documentation](http://codestarframework.com/documentation/) + +## Free vs Premium + +| Features | Free Version | Premium Version +|:-----------------------------|:------------------:|:-----------------: +| Admin Option Framework | :heavy_check_mark: | :heavy_check_mark: +| Customize Option Framework | :x: | :heavy_check_mark: +| Metabox Option Framework | :x: | :heavy_check_mark: +| Taxonomy Option Framework | :x: | :heavy_check_mark: +| Shortcode Generate Framework | :x: | :heavy_check_mark: +| Widget Option Framework | :x: | :heavy_check_mark: +| All Option Fields | :x: | :heavy_check_mark: +| Developer Packages | :x: | :heavy_check_mark: +| Unminfy Library | :x: | :heavy_check_mark: +| New Requests | :x: | :heavy_check_mark: +| Autoremove Advertisements | :x: | :heavy_check_mark: +| Life-time access/updates | :x: | :heavy_check_mark: +| | | :star2: Upgrade Premium Version + +## Whats news ? + +#### General +- Added: Multiple instances support +- Added: New option fields +- Added: Filters/Actions for change to configs +- Added: Output css featue +- Added: Auto enqueue/load for google web fonts +- Added: Widget option framework +- Added: Group and Repeater fields nested usage +- Improved: Config array +- Improved: Javascripts +- Improved: PHP Functions/Classes +- Improved: Load time performance + +#### Admin Option Framework +- Added: Framework header title change parameter +- Added: Detailed typography field +- Added: Ajax save options +- Added: Contextual helps option +- Added: Admin bar menu option +- Added: Search options feature +- Added: WPMU Network menu option +- Added: Sticky header +- Added: Save defaults +- Added: Database save data types ( for eg: `option`, `theme_mod`, `transient`, `network` ) + +#### Metabox Option Framework +- Added: Multiple post type support +- Added: Database save data types ( for eg: `serialize`, `unserialize` ) +- Added: Exclude post types option +- Added: Metabox display to specific page templates. ( for eg `default`, `sidebar-page.php`, `about-page.php` ) +- Added: Metabox display to specific post formats. ( for eg `standard`, `aside`, `gallery`, `video` ) +- Added: Restore metabox option button + +#### Customize Option Framework +- Added: Multiple post type support +- Added: Database save data types ( for eg: `option`, `theme_mod` ) +- Added: Save defaults + +#### Taxonomy Option Framework +- Added: Multiple taxonomy type support +- Added: Database save data types ( for eg: `serialize`, `unserialize` ) + +#### Shortcode Generate Framework +- Added: Gutenberg support as simply + +## Available Option Fields + +| Accordion | Color | Icon | Select | Tabbed +|:------------|:------------|:-------------|:---------|:--- +| Background | Color Group | Image Select | Slider | Text +| Backup | Date | Link Color | Sortable | Textarea +| Border | Dimensions | Media | Sorter | Typography +| Button Set | Fieldset | Palette | Spacing | Upload +| Checkbox | Gallery | Radio | Spinner | WP Editor +| Code Editor | Group | Repeater | Switcher | Others + +## Support + +We are provide [support forum](http://support.codestarthemes.com/) for premium version users. You can join to support forum for submit any question after purchasing. Free version users support is limited on [github](https://github.com/Codestar/codestar-framework/issues). + +## Release Notes +Check out the [release notes](http://codestarframework.com/documentation/#/relnotes) + +## Migrate +Check out the [migrate v1.x to v2.x](http://codestarframework.com/documentation/#/faq?id=how-to-migrate-v1x-to-v2x-) + +## License +Codestar Framework have two different version. Free version has limited features and offers only admin option panel feature. Premium version offers all extensions and more of settings for the best experience and advanced features. You can bundle the framework ( both free and premium ) in the premium theme/plugin and sell them on your own website or in marketplaces like ThemeForest. This framework is licensed 100% GPL. diff --git a/assets/css/csf-rtl.css b/assets/css/csf-rtl.css new file mode 100644 index 0000000..18c8948 --- /dev/null +++ b/assets/css/csf-rtl.css @@ -0,0 +1,548 @@ +/** + * + * --------------------------------------------------------- + * CODESTAR FRAMEWORK RTL CSS MAP + * --------------------------------------------------------- + * + * 01. Base + * 01. 01. Header + * 01. 02. Header Buttons + * 01. 03. Navigation + * 01. 04. Content + * 01. 05. Section + * 01. 06. Show All Options + * 01. 07. Search Input + * 01. 08. Copyright + * 01. 09. Metabox + * 02. Fields + * 02. 01. Field: typography + * 02. 02. Field: checkbox, radio + * 02. 03. Field: switcher + * 02. 04. Field: upload + * 02. 05. Field: group + * 02. 06. Field: repeater + * 02. 07. Field: help + * 02. 08. Field: icon + * 02. 09. Field: gallery + * 02. 10. Field: sorter + * 02. 11. Field: tabbed + * 02. 12. Field: media + * 02. 13. Field: notice + * 02. 14. Field: border, spacing, dimensions + * 02. 15. Field: background + * 02. 16. Field: spinner + * 02. 17. Field: slider + * 02. 18. Field: button_set + * 02. 19. Field: link_color + * 02. 20. Field: color_group + * 02. 21. Field: palette + * 02. 22. Field: accordion + * 02. 23. Field: date + * 02. 24. Field: map + * 02. 25. Field: sortable + * 02. 26. Field: number + * 03. Taxonomy + * 04. Profile + * 05. Modal + * 06. Customizer + * 07. Responsive + * 08. Others + * + * --------------------------------------------------------- + * + */ +/** + * 01. Base + */ +.csf { + margin-left: 20px; + margin-right: 0; +} + +/** + * 01. 01. Header + */ +.csf-header h1 { + float: right; +} +.csf-header fieldset { + float: left; +} + +/** + * 01. 02. Header Buttons + */ +.csf-buttons { + float: left; + direction: ltr; +} + +.csf-header-left { + float: right; +} + +.csf-header-right { + float: left; +} + +/** + * 01. 03. Navigation + */ +.csf-nav { + float: right; +} +.csf-nav ul { + clear: right; +} +.csf-nav ul li .csf-section-active:after { + right: auto; + left: 0; + border-left-color: #fff; + border-right-color: transparent; +} +.csf-nav ul li .csf-arrow:after { + content: "\f053"; + right: auto; + left: 10px; +} +.csf-nav ul li.csf-tab-active .csf-arrow:after { + -moz-transform: rotate(-90deg); + -ms-transform: rotate(-90deg); + -webkit-transform: rotate(-90deg); + transform: rotate(-90deg); +} +.csf-nav ul ul li a { + padding-right: 25px; + padding-left: 15px; +} +.csf-nav ul ul:before { + left: auto; + right: 15px; +} +.csf-nav .fa { + margin-left: 5px; + margin-right: 0; +} + +.csf-nav-background { + left: auto; + right: 0; +} + +/** + * 01. 04. Content + */ +.csf-content { + margin-left: 0; + margin-right: 225px; +} + +/** + * 01. 05. Section + */ +.csf-sections { + float: right; +} + +/** + * 01. 06. Show all options + */ +.csf-show-all .csf-content { + margin-right: 0; + overflow: hidden; +} + +.csf-expand-all { + float: right; + right: auto; + left: 40px; + margin-right: 0; + margin-left: 4px; +} + +/** + * 01. 07. Search Input + */ +.csf-search { + float: right; +} +.csf-search input { + margin: 0 0 0 5px; +} + +/** + * 01. 08. Copyright + */ +.csf-copyright { + float: right; +} + +/** + * 01. 09. Metabox + */ +.csf-metabox { + margin: -6px -12px -12px -12px; +} +.csf-metabox .csf-section-title { + padding: 20px; +} +.csf-metabox .csf-section-title .fa { + margin-left: 5px; + margin-right: 0; +} + +.csf-section-title .fa { + margin-left: 5px; + margin-right: 0; +} + +/** + * 02. Fields + */ +.csf-field .csf-title { + float: right; +} +.csf-field .csf-fieldset { + float: left; +} + +.csf-pseudo-field { + padding: 0 0 0 5px !important; +} + +/** + * 02. 01. Field: typography + */ +.csf-field-typography select { + margin: 0; + width: 100%; +} +.csf-field-typography .csf--blocks-inputs .csf--blocks { + flex-direction: row-reverse; +} + +/** + * 02. 02. Field: checkbox, radio + */ +.csf-field-checkbox .csf--inline-list li, +.csf-field-radio .csf--inline-list li { + margin-right: 0; + margin-left: 15px; +} + +/** + * 02. 03. Field: switcher + */ +.csf-field-switcher .csf--switcher { + float: right; +} +.csf-field-switcher .csf--label { + float: right; + margin-left: 0; + margin-right: 5px; +} + +/** + * 02. 04. Field: upload + */ +.csf-field-upload .csf--remove, +.csf-field-upload .csf--button { + margin-left: 0; + margin-right: 5px; +} + +/** + * 02. 05. Field: group + */ +.csf-field-group .csf-cloneable-title { + padding: 15px 10px 15px 65px; +} +.csf-field-group .csf-cloneable-helper { + right: auto; + left: 10px; +} + +/** + * 02. 06. Field: repeater + */ +.csf-field-repeater .csf-repeater-helper { + border-left: 0; + border-right: 1px solid #eee; +} + +/** + * 02. 07. Field: help + */ +.csf-help { + right: auto; + left: 5px; +} + +/** + * 02. 08. Field: icon + */ +.csf-field-icon .button { + margin-right: 0; + margin-left: 5px; +} +.csf-field-icon .csf-icon-preview i { + margin-right: 0; + margin-left: 5px; +} + +/** + * 02. 09. Field: gallery + */ +.csf-field-gallery ul li { + margin-right: 0; + margin-left: 5px; +} +.csf-field-gallery .button { + margin-right: 0; + margin-left: 5px; +} + +/** + * 02. 11. Field: tabbed + */ +.csf-field-tabbed .csf-tabbed-nav .csf--icon { + padding-right: 0; + padding-left: 5px; +} +.csf-field-tabbed .csf-tabbed-nav a { + margin-right: 0; + margin-left: 5px; +} + +/** + * 02. 12. Field: media + */ +.csf-field-media .button { + margin-left: 0; + margin-right: 7px; +} +.csf-field-media .hidden + .button { + margin-right: 0; +} + +/** + * 02. 13. Field: notice + */ +.csf-notice { + border-left: none; + border-right-style: solid; + border-right-width: 4px; +} + +/** + * 02. 14. Field: border, spacing, dimensions + */ +.csf-field-dimensions .csf--input, +.csf-field-dimensions .csf-fieldset, +.csf-field-spacing .csf--input, +.csf-field-spacing .csf-fieldset, +.csf-field-border .csf--input, +.csf-field-border .csf-fieldset { + direction: ltr; +} +.csf-field-dimensions .csf--inputs, +.csf-field-dimensions .csf--color, +.csf-field-spacing .csf--inputs, +.csf-field-spacing .csf--color, +.csf-field-border .csf--inputs, +.csf-field-border .csf--color { + float: right; +} +.csf-field-dimensions .csf--color, +.csf-field-spacing .csf--color, +.csf-field-border .csf--color { + margin-right: 4px; + direction: rtl; +} + +/** + * 02. 15. Field: background + */ +.csf-field-background .csf--block { + float: right; +} +.csf-field-background .csf--select, +.csf-field-background .csf--media { + padding-right: 0; +} +.csf-field-background .csf--title { + margin-right: 0; + margin-left: 5px; +} + +/** + * 02. 16. Field: spinner + */ +.csf-field-spinner .csf--spin { + float: right; + direction: ltr; +} + +/** + * 02. 17. Field: slider + */ +.csf-field-slider .csf-slider-ui { + direction: ltr; + margin-right: 0; + margin-left: 15px; +} +.csf-field-slider .csf--input { + direction: ltr; +} + +/** + * 02. 18. Field: button_set + */ +.csf-field-button_set .csf--button-group { + float: right; +} + +/** + * 02. 19. Field: link_color + */ +.csf-field-link_color .csf--left { + float: right; + margin-right: 0; + margin-left: 10px; +} + +/** + * 02. 20. Field: color_group + */ +.csf-field-color_group .csf--left { + float: right; + margin-right: 0; + margin-left: 10px; +} + +/** + * 02. 21. Field: palette + */ +.csf-field-palette .csf--palette { + margin-right: 0; + margin-left: 10px; +} + +/** + * 02. 22. Field: accordion + */ +.csf-field-accordion .csf--icon { + margin-right: 0; + margin-left: 2px; +} + +/** + * 02. 23. Field: date + */ +.csf-field-date .csf--to { + margin-left: 0; + margin-right: 7px; +} + +/** + * 02. 24. Field: map + */ +.csf-field-map .csf--map-input:last-child { + padding-left: 0; + padding-right: 10px; +} + +/** + * 02. 25. Field: sortable + */ +.csf-field-sortable .csf--sortable-helper { + border-left: none; + border-right: 1px solid #eee; +} + +/** + * 02. 26. Field: number + */ +.csf-field-number .csf--wrap { + float: right; +} + +/** + * 03. Taxonomy + */ +.csf-taxonomy-add-fields .csf-field > .csf-fieldset > .csf-help { + left: -5px; + right: auto; +} + +.csf-taxonomy-edit-fields .csf-field > .csf-fieldset > .csf-help { + right: auto; + left: -5px; +} + +/** + * 04. Profile + */ +.csf-profile > h2 > .fa { + padding-right: 0; + padding-left: 7px; +} +.csf-profile > .csf-field > .csf-fieldset > .csf-help { + left: -5px; + right: auto; +} + +/** + * 05. Modal + */ +.csf-modal-content .csf-field { + padding: 15px 15px 15px 30px; +} + +.csf-modal-title { + padding: 0 16px 0 36px; +} + +.csf-modal-close { + right: auto; + left: 0; +} + +/** + * 06. Customizer + */ +.control-section .csf-field .csf-fieldset { + margin-right: 0; +} + +/** + * 07. Responsive + */ +@media only screen and (max-width: 1200px) { + .csf-metabox .csf-field .csf-fieldset { + margin-left: 0; + } +} +@media only screen and (max-width: 782px) { + .csf .csf-fieldset, + .csf .csf-content { + margin-right: 0; + } +} +/** + * 08. Others + */ +.csf-field .csf--transparent-slider { + margin-left: 0; + margin-right: 2px; +} +.csf-field .csf--transparent-slider .ui-slider-handle { + margin: 0 -11px; +} +.csf-field .csf--transparent-offset { + background-position: center right; +} +.csf-field .csf--transparent-text { + right: auto; + left: 10px; +} diff --git a/assets/css/csf-rtl.min.css b/assets/css/csf-rtl.min.css new file mode 100644 index 0000000..b256bca --- /dev/null +++ b/assets/css/csf-rtl.min.css @@ -0,0 +1 @@ +.csf{margin-left:20px;margin-right:0}.csf-header h1{float:right}.csf-header fieldset{float:left}.csf-buttons{float:left;direction:ltr}.csf-header-left{float:right}.csf-header-right{float:left}.csf-nav{float:right}.csf-nav ul{clear:right}.csf-nav ul li .csf-section-active:after{right:auto;left:0;border-left-color:#fff;border-right-color:transparent}.csf-nav ul li .csf-arrow:after{content:"\f053";right:auto;left:10px}.csf-nav ul li.csf-tab-active .csf-arrow:after{-moz-transform:rotate(-90deg);-ms-transform:rotate(-90deg);-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.csf-nav ul ul li a{padding-right:25px;padding-left:15px}.csf-nav ul ul:before{left:auto;right:15px}.csf-nav .fa{margin-left:5px;margin-right:0}.csf-nav-background{left:auto;right:0}.csf-content{margin-left:0;margin-right:225px}.csf-sections{float:right}.csf-show-all .csf-content{margin-right:0;overflow:hidden}.csf-expand-all{float:right;right:auto;left:40px;margin-right:0;margin-left:4px}.csf-search{float:right}.csf-search input{margin:0 0 0 5px}.csf-copyright{float:right}.csf-metabox{margin:-6px -12px -12px -12px}.csf-metabox .csf-section-title{padding:20px}.csf-metabox .csf-section-title .fa{margin-left:5px;margin-right:0}.csf-section-title .fa{margin-left:5px;margin-right:0}.csf-field .csf-title{float:right}.csf-field .csf-fieldset{float:left}.csf-pseudo-field{padding:0 0 0 5px!important}.csf-field-typography select{margin:0;width:100%}.csf-field-typography .csf--blocks-inputs .csf--blocks{flex-direction:row-reverse}.csf-field-checkbox .csf--inline-list li,.csf-field-radio .csf--inline-list li{margin-right:0;margin-left:15px}.csf-field-switcher .csf--switcher{float:right}.csf-field-switcher .csf--label{float:right;margin-left:0;margin-right:5px}.csf-field-upload .csf--button,.csf-field-upload .csf--remove{margin-left:0;margin-right:5px}.csf-field-group .csf-cloneable-title{padding:15px 10px 15px 65px}.csf-field-group .csf-cloneable-helper{right:auto;left:10px}.csf-field-repeater .csf-repeater-helper{border-left:0;border-right:1px solid #eee}.csf-help{right:auto;left:5px}.csf-field-icon .button{margin-right:0;margin-left:5px}.csf-field-icon .csf-icon-preview i{margin-right:0;margin-left:5px}.csf-field-gallery ul li{margin-right:0;margin-left:5px}.csf-field-gallery .button{margin-right:0;margin-left:5px}.csf-field-tabbed .csf-tabbed-nav .csf--icon{padding-right:0;padding-left:5px}.csf-field-tabbed .csf-tabbed-nav a{margin-right:0;margin-left:5px}.csf-field-media .button{margin-left:0;margin-right:7px}.csf-field-media .hidden+.button{margin-right:0}.csf-notice{border-left:none;border-right-style:solid;border-right-width:4px}.csf-field-border .csf--input,.csf-field-border .csf-fieldset,.csf-field-dimensions .csf--input,.csf-field-dimensions .csf-fieldset,.csf-field-spacing .csf--input,.csf-field-spacing .csf-fieldset{direction:ltr}.csf-field-border .csf--color,.csf-field-border .csf--inputs,.csf-field-dimensions .csf--color,.csf-field-dimensions .csf--inputs,.csf-field-spacing .csf--color,.csf-field-spacing .csf--inputs{float:right}.csf-field-border .csf--color,.csf-field-dimensions .csf--color,.csf-field-spacing .csf--color{margin-right:4px;direction:rtl}.csf-field-background .csf--block{float:right}.csf-field-background .csf--media,.csf-field-background .csf--select{padding-right:0}.csf-field-background .csf--title{margin-right:0;margin-left:5px}.csf-field-spinner .csf--spin{float:right;direction:ltr}.csf-field-slider .csf-slider-ui{direction:ltr;margin-right:0;margin-left:15px}.csf-field-slider .csf--input{direction:ltr}.csf-field-button_set .csf--button-group{float:right}.csf-field-link_color .csf--left{float:right;margin-right:0;margin-left:10px}.csf-field-color_group .csf--left{float:right;margin-right:0;margin-left:10px}.csf-field-palette .csf--palette{margin-right:0;margin-left:10px}.csf-field-accordion .csf--icon{margin-right:0;margin-left:2px}.csf-field-date .csf--to{margin-left:0;margin-right:7px}.csf-field-map .csf--map-input:last-child{padding-left:0;padding-right:10px}.csf-field-sortable .csf--sortable-helper{border-left:none;border-right:1px solid #eee}.csf-field-number .csf--wrap{float:right}.csf-taxonomy-add-fields .csf-field>.csf-fieldset>.csf-help{left:-5px;right:auto}.csf-taxonomy-edit-fields .csf-field>.csf-fieldset>.csf-help{right:auto;left:-5px}.csf-profile>h2>.fa{padding-right:0;padding-left:7px}.csf-profile>.csf-field>.csf-fieldset>.csf-help{left:-5px;right:auto}.csf-modal-content .csf-field{padding:15px 15px 15px 30px}.csf-modal-title{padding:0 16px 0 36px}.csf-modal-close{right:auto;left:0}.control-section .csf-field .csf-fieldset{margin-right:0}@media only screen and (max-width:1200px){.csf-metabox .csf-field .csf-fieldset{margin-left:0}}@media only screen and (max-width:782px){.csf .csf-content,.csf .csf-fieldset{margin-right:0}}.csf-field .csf--transparent-slider{margin-left:0;margin-right:2px}.csf-field .csf--transparent-slider .ui-slider-handle{margin:0 -11px}.csf-field .csf--transparent-offset{background-position:center right}.csf-field .csf--transparent-text{right:auto;left:10px} \ No newline at end of file diff --git a/assets/css/csf.css b/assets/css/csf.css new file mode 100644 index 0000000..c08abc0 --- /dev/null +++ b/assets/css/csf.css @@ -0,0 +1,4166 @@ +/** + * + * --------------------------------------------------------- + * CODESTAR FRAMEWORK CSS MAP + * --------------------------------------------------------- + * + * 01. Base + * 01. 01. Header + * 01. 02. Sticky + * 01. 03. Header Buttons + * 01. 04. Navigation + * 01. 05. Wrapper + * 01. 06. Content + * 01. 07. Section + * 01. 08. Footer + * 01. 09. Copyright + * 01. 10. Show All Options + * 01. 11. Search Input + * 01. 12. Metabox + * 01. 13. Comment Metabox + * 01. 14. Help Tooltip + * 02. Themes + * 02. 01. Theme Dark + * 02. 02. Theme Light + * 03. Fields + * 03. 01. Field + * 03. 02. Field: accordion + * 03. 03. Field: background + * 03. 04. Field: backup + * 03. 05. Field: border, spacing, dimensions + * 03. 06. Field: button_set + * 03. 07. Field: checkbox, radio + * 03. 08. Field: code_editor + * 03. 09. Field: color + * 03. 10. Field: color_group + * 03. 11. Field: fieldset + * 03. 12. Field: date + * 03. 13. Field: gallery + * 03. 14. Field: group + * 03. 15. Field: icon + * 03. 16. Field: image_select + * 03. 17. Field: link_color + * 03. 18. Field: map + * 03. 19. Field: media + * 03. 20. Field: palette + * 03. 21. Field: repeater + * 03. 22. Field: select + * 03. 23. Field: slider + * 03. 24. Field: sortable + * 03. 25. Field: sorter + * 03. 26. Field: spinner + * 03. 27. Field: switcher + * 03. 28. Field: tabbed + * 03. 29. Field: text + * 03. 30. Field: textarea + * 03. 31. Field: typography + * 03. 32. Field: upload + * 03. 33. Field: wp_editor + * 03. 34. Field: heading + * 03. 35. Field: subheading + * 03. 36. Field: submessage + * 03. 37. Field: notice + * 03. 38. Field: number + * 03. 39. Field: others + * 04. Widget + * 05. Customizer + * 06. Taxonomy + * 07. Profile + * 08. Modal + * 08. 01. Shortcode Modal + * 08. 02. Gutenberg Modal + * 08. 03. Icon Modal + * 09. Helper + * 10. Welcome Page + * 11. Responsive + * 12. Others + * + * --------------------------------------------------------- + * + */ +/** + * 01. Base + */ +.csf { + position: relative; +} +.csf label { + padding: 0; + margin: 0; + display: inline-block; +} + +.csf-ab-icon { + top: 2px; +} + +#screen-meta-links + .csf-options { + margin-top: 40px; +} + +.csf-options { + margin-top: 20px; + margin-right: 20px; +} + +/** + * 01. 01. Header + */ +.csf-header { + position: relative; +} + +.csf-header-inner { + padding: 25px; +} +.csf-header-inner h1 { + float: left; + font-size: 1.5em; + line-height: 26px; + font-weight: 400; + margin: 0; +} +.csf-header-inner h1 small { + font-size: 11px; + font-weight: 500; +} + +/** + * 01. 02. Sticky + */ +.csf-sticky .csf-header-inner { + position: fixed; + z-index: 99999; + top: 32px; + -moz-box-shadow: 0 5px 25px rgba(0, 0, 0, 0.125); + -webkit-box-shadow: 0 5px 25px rgba(0, 0, 0, 0.125); + box-shadow: 0 5px 25px rgba(0, 0, 0, 0.125); +} + +/** + * 01. 03. Header Buttons + */ +.csf-buttons { + float: right; + -moz-transition: opacity 0.2s; + -o-transition: opacity 0.2s; + -webkit-transition: opacity 0.2s; + transition: opacity 0.2s; +} +.csf-buttons .button { + margin: 0 2px; + line-height: 26px; +} +.csf-buttons .button:focus { + outline: none !important; + box-shadow: none !important; +} +.csf-buttons .csf-save { + min-width: 72px; +} + +.csf-header-left { + float: left; +} + +.csf-header-right { + float: right; +} + +/** + * 01. 04. Navigation + */ +.csf-nav { + display: block; + position: relative; + z-index: 10; + float: left; + width: 225px; +} +.csf-nav ul { + clear: left; + margin: 0; + list-style-type: none; +} +.csf-nav ul li { + margin-bottom: 0; +} +.csf-nav ul li a { + font-size: 13px; + position: relative; + display: block; + padding: 14px 12px; + text-decoration: none; + -moz-transition: all 0.3s ease; + -o-transition: all 0.3s ease; + -webkit-transition: all 0.3s ease; + transition: all 0.3s ease; +} +.csf-nav ul li a:focus { + outline: none; + -moz-box-shadow: none; + -webkit-box-shadow: none; + box-shadow: none; +} +.csf-nav ul li .csf-section-active:after { + content: " "; + position: absolute; + right: 0; + top: 50%; + height: 0; + width: 0; + pointer-events: none; + border: solid transparent; + border-right-color: #fff; + border-width: 4px; + margin-top: -4px; +} +.csf-nav ul li .csf-arrow:after { + content: "\f054"; + display: inline-block; + font-family: "Font Awesome 5 Pro", "Font Awesome 5 Free", "FontAwesome"; + font-weight: 900; + font-size: 9px; + line-height: 1; + position: absolute; + right: 10px; + top: 50%; + margin-top: -4px; + -moz-transform: rotate(0); + -ms-transform: rotate(0); + -webkit-transform: rotate(0); + transform: rotate(0); +} +.csf-nav ul li.csf-tab-active .csf-arrow:after { + -moz-transform: rotate(90deg); + -ms-transform: rotate(90deg); + -webkit-transform: rotate(90deg); + transform: rotate(90deg); +} +.csf-nav ul li.csf-tab-active ul { + display: block; +} +.csf-nav ul ul { + display: none; + position: relative; +} +.csf-nav ul ul li a { + font-size: 12px; + padding: 12px 14px 12px 24px; +} +.csf-nav .csf-tab-icon { + width: 20px; + margin-right: 5px; + font-size: 13px; + text-align: center; +} +.csf-nav .csf-label-error { + margin-left: 4px; + vertical-align: top; +} + +.csf-nav-background { + position: absolute; + top: 0; + left: 0; + bottom: 0; + z-index: 9; + width: 225px; +} + +/** + * 01. 05. Wrapper + */ +.csf-wrapper { + position: relative; +} + +/** + * 01. 06. Content + */ +.csf-content { + position: relative; + margin-left: 225px; + background-color: #fff; + -moz-transition: opacity 0.2s; + -o-transition: opacity 0.2s; + -webkit-transition: opacity 0.2s; + transition: opacity 0.2s; +} + +/** + * 01. 07. Section + */ +.csf-sections { + float: left; + width: 100%; +} + +.csf-section { + display: none; +} + +.csf-section-title { + display: none; + padding: 20px 30px; + background-color: #f5f5f5; + border-top: 1px solid #eee; + border-bottom: 1px solid #eee; +} +.csf-section-title h3 { + margin: 0; + padding: 0; + font-size: 13px; + font-weight: bold; + text-transform: uppercase; +} +.csf-section-title .csf-section-icon { + margin-right: 5px; +} + +/** + * 01. 08. Footer + */ +.csf-footer { + padding: 20px; + font-size: 11px; +} + +/** + * 01. 09. Copyright + */ +.csf-copyright { + float: left; + margin-top: 5px; +} + +/** + * 01. 10. Show All Options + */ +.csf-search-all .csf-nav-background, +.csf-search-all .csf-nav, +.csf-show-all .csf-nav-background, +.csf-show-all .csf-nav { + display: none; +} +.csf-search-all .csf-content, +.csf-show-all .csf-content { + margin-left: 0; +} +.csf-search-all .csf-section-title, +.csf-search-all .csf-section, +.csf-show-all .csf-section-title, +.csf-show-all .csf-section { + display: block !important; +} + +.csf-search-all .csf-section-title { + display: none !important; +} + +.csf-expand-all { + float: left; + padding: 0 8px; + margin-right: 4px; + z-index: 1; + font-size: 13px; + line-height: 30px; + cursor: pointer; + user-select: none; + -moz-border-radius: 2px; + -webkit-border-radius: 2px; + border-radius: 2px; + -moz-transition: all 0.2s; + -o-transition: all 0.2s; + -webkit-transition: all 0.2s; + transition: all 0.2s; +} +.csf-expand-all span { + font-size: 11px; + vertical-align: middle; +} + +/** + * 01. 11. Search Input + */ +.csf-search { + float: left; +} +.csf-search input { + margin: 0 2px 0 0; + border: none; + font-size: 12px; + line-height: 30px; + min-height: 30px; + text-align: inherit; + padding: 0 10px; + -moz-border-radius: 2px; + -webkit-border-radius: 2px; + border-radius: 2px; + -moz-box-shadow: none; + -webkit-box-shadow: none; + box-shadow: none; +} +.csf-search input:focus { + -moz-box-shadow: none; + -webkit-box-shadow: none; + box-shadow: none; +} + +.csf-saving .csf-buttons, +.csf-saving .csf-content { + cursor: default; + pointer-events: none; + opacity: 0.5; +} + +/** + * 01. 12. Metabox + */ +.csf-metabox { + margin: -6px -12px -12px -12px; +} +.csf-metabox .csf-section-title { + padding: 20px; +} + +.block-editor-page .csf-metabox { + margin: -6px -14px -14px -14px; +} + +.block-editor-editor-skeleton__content .csf-metabox { + border-left: 1px solid #e2e4e7; + border-right: 1px solid #e2e4e7; +} + +.csf-restore-wrapper { + position: relative; + z-index: 1000000; + text-align: right; + padding: 10px; + border-top: 1px solid #eee; +} +.csf-restore-wrapper .csf-button-cancel, +.csf-restore-wrapper input { + display: none; +} +.csf-restore-wrapper span { + -webkit-user-select: none; + user-select: none; +} +.csf-restore-wrapper input:checked ~ .csf-button-restore { + display: none; +} +.csf-restore-wrapper input:checked ~ .csf-button-cancel { + display: inline-block; +} + +#side-sortables .csf-section-title { + padding: 12px; +} +#side-sortables .csf-field { + padding: 12px; +} +#side-sortables .csf-field .csf-title { + float: none; + width: 100%; + margin-bottom: 10px; +} +#side-sortables .csf-field .csf-fieldset { + float: none; + width: 100%; +} +#side-sortables .csf-notice { + padding: 12px; +} + +/** + * 01. 13. Comment Metabox + */ +.csf-comment-metabox { + margin: -6px -12px -12px -12px; +} +.csf-comment-metabox .csf-section-title { + padding: 20px; +} + +/** + * 01. 14. Help Tooltip + */ +.csf-tooltip { + position: absolute; + z-index: 5000001; + font-size: 12px; + line-height: 1.4; + text-align: center; + text-decoration: none; + padding: 6px 12px; + max-width: 200px; + color: #fff; + background-color: #000; + background-color: rgba(0, 0, 0, 0.85); + -moz-border-radius: 4px; + -webkit-border-radius: 4px; + border-radius: 4px; +} + +/** + * 02. Themes + */ +/** + * 02. 01. Theme Dark + */ +.csf-theme-dark .csf-header-inner { + background-color: #050505; +} +.csf-theme-dark .csf-header-inner h1 { + color: #fff; +} +.csf-theme-dark .csf-header-inner h1 small { + color: #555; +} +.csf-theme-dark .csf-expand-all { + color: #999; + background-color: #222; +} +.csf-theme-dark .csf-expand-all:hover { + color: #fff; + background-color: #333; +} +.csf-theme-dark .csf-search input { + color: #fff; + background-color: #222; +} +.csf-theme-dark .csf-search:focus { + background-color: #444; +} +.csf-theme-dark .csf-search::-webkit-input-placeholder { + color: #666; +} +.csf-theme-dark .csf-nav ul li a { + color: #999; + background-color: #222; + border-bottom: 1px solid #2f2f2f; +} +.csf-theme-dark .csf-nav ul li a:hover { + color: #fff; +} +.csf-theme-dark .csf-nav ul li .csf-section-active { + color: #fff; + background-color: #111; +} +.csf-theme-dark .csf-nav ul ul li a { + background-color: #191919; + border-bottom: 1px solid #2f2f2f; +} +.csf-theme-dark .csf-nav ul ul li .csf-section-active { + background-color: #101010; +} +.csf-theme-dark .csf-nav ul ul:before { + background-color: rgba(34, 34, 34, 0.75); +} +.csf-theme-dark .csf-nav > ul > li:last-child > a { + border-bottom: none; +} +.csf-theme-dark .csf-nav-background { + background-color: #222; +} +.csf-theme-dark .csf-footer { + color: #555; + background-color: #050505; +} + +/** + * 02. 02. Theme Light + */ +.csf-theme-light .csf-container { + border: 1px solid #e5e5e5; + -moz-box-shadow: 0 0 15px rgba(0, 0, 0, 0.04); + -webkit-box-shadow: 0 0 15px rgba(0, 0, 0, 0.04); + box-shadow: 0 0 15px rgba(0, 0, 0, 0.04); +} +.csf-theme-light .csf-header-inner { + border-bottom: 1px solid #e5e5e5; + background-color: #f5f5f5; + background: linear-gradient(#fefefe, #f5f5f5); +} +.csf-theme-light .csf-header-inner h1 small { + color: #999; +} +.csf-theme-light .csf-expand-all { + color: #999; + background-color: #fff; + -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05); + -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05); + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05); +} +.csf-theme-light .csf-expand-all:hover { + color: #555; +} +.csf-theme-light .csf-search input { + color: #555; + background-color: #fff; + -moz-box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.05); + -webkit-box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.05); + box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.05); +} +.csf-theme-light .csf-search input::-webkit-input-placeholder { + color: #bbb; +} +.csf-theme-light .csf-nav ul li a { + color: #666; + background-color: #f5f5f5; + border-bottom: 1px solid #e5e5e5; +} +.csf-theme-light .csf-nav ul li a:hover { + color: #222; +} +.csf-theme-light .csf-nav ul li .csf-section-active { + color: #222; + background-color: #fff; +} +.csf-theme-light .csf-nav ul li .csf-section-active:after { + display: none; +} +.csf-theme-light .csf-nav ul ul li a { + background-color: #eee; + border-bottom: 1px solid #e5e5e5; +} +.csf-theme-light .csf-nav > ul > li:last-child > a { + border-bottom: none; +} +.csf-theme-light .csf-nav-background { + background-color: #f5f5f5; +} +.csf-theme-light .csf-footer { + color: #555; + border-top: 1px solid #e5e5e5; + background-color: #f5f5f5; + background: linear-gradient(#fafafa, #f5f5f5); +} + +/** + * 03. Fields + */ +.csf-field { + position: relative; + padding: 30px; +} +.csf-field + .csf-field:not(.hidden) { + border-top: 1px solid #eee; +} +.csf-field p:first-child { + margin-top: 0; +} +.csf-field p:last-child { + margin-bottom: 0; +} +.csf-field:after, .csf-field:before { + content: " "; + display: table; +} +.csf-field:after { + clear: both; +} +.csf-field h4 { + margin-top: 0; +} +.csf-field .csf-title { + position: relative; + width: 20%; + float: left; +} +.csf-field .csf-title h4 { + margin: 0; + color: #23282d; +} +.csf-field .csf-fieldset { + float: right; + width: calc(80% - 20px); +} + +.csf-pseudo-field { + padding: 0 5px 0 0 !important; + display: inline-block; +} +.csf-pseudo-field + .csf-pseudo-field { + border: 0; +} +.csf-pseudo-field pre { + display: none; +} + +/** + * 03. 02. Field: accordion + */ +.csf-field-accordion .csf-accordion-item { + position: relative; + margin-bottom: 5px; +} +.csf-field-accordion .csf-accordion-item h4 { + font-size: 1em; +} +.csf-field-accordion .csf-accordion-title { + display: block; + cursor: pointer; + position: relative; + margin: 0; + padding: 15px; + min-height: 0; + font-size: 100%; + user-select: none; + border: 1px solid #ccd0d4; + background-color: #fafafa; + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04); + transition: border-color .15s; +} +.csf-field-accordion .csf-accordion-title:active, .csf-field-accordion .csf-accordion-title:hover, .csf-field-accordion .csf-accordion-title:focus { + outline: none; + border-color: #999; +} +.csf-field-accordion .csf-accordion-icon { + width: 14px; + text-align: center; +} +.csf-field-accordion .csf--icon { + width: 20px; + text-align: center; + margin-right: 2px; +} +.csf-field-accordion .csf-accordion-content { + display: none; + padding: 0; + border: 1px solid #ccd0d4; + border-top: none; + background-color: #fff; + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04); +} +.csf-field-accordion .csf-accordion-content > .csf-field { + padding: 15px; +} +.csf-field-accordion .csf-accordion-open { + display: block; +} + +/** + * 03. 03. Field: background + */ +.csf-field-background .csf-field { + border: 0 !important; + padding: 0; + margin-bottom: 6px; + margin-right: 6px; +} +.csf-field-background .csf--title { + color: #777; + font-size: 12px; +} +.csf-field-background .csf--background-colors { + display: flex; +} +.csf-field-background .csf--background-attributes { + display: flex; + flex-wrap: wrap; +} +.csf-field-background .csf--background-attributes select { + min-width: 100%; + margin: 0; +} +.csf-field-background .csf--background-attributes .csf-field { + flex: 1; +} +.csf-field-background .csf--attributes-hidden { + display: none; +} + +/** + * 03. 04. Field: backup + */ +.csf-field-backup textarea { + width: 100%; + min-height: 200px; + margin-bottom: 5px; +} +.csf-field-backup small { + display: inline-block; + margin: 5px; +} +.csf-field-backup hr { + margin: 20px 0; + border: none; + border-bottom: 1px solid #e5e5e5; +} + +/** + * 03. 05. Field: border, spacing, dimensions + */ +.csf-field-border .csf--inputs, +.csf-field-spacing .csf--inputs, +.csf-field-dimensions .csf--inputs { + float: left; + display: flex; + flex-wrap: wrap; +} +.csf-field-border .csf--input, +.csf-field-spacing .csf--input, +.csf-field-dimensions .csf--input { + display: flex; + padding-right: 6px; + padding-bottom: 4px; + box-sizing: border-box; +} +.csf-field-border .csf--input select, +.csf-field-spacing .csf--input select, +.csf-field-dimensions .csf--input select { + margin: 0; +} +.csf-field-border .csf--input input, +.csf-field-spacing .csf--input input, +.csf-field-dimensions .csf--input input { + position: relative; + z-index: 1; + margin: 0; + width: 65px; + max-width: 100%; + text-align: center; +} +.csf-field-border .csf--color, +.csf-field-spacing .csf--color, +.csf-field-dimensions .csf--color { + float: left; +} +.csf-field-border .csf--label, +.csf-field-spacing .csf--label, +.csf-field-dimensions .csf--label { + display: flex; + flex-direction: column; + justify-content: center; + user-select: none; + min-width: 20px; + max-width: 100%; + padding: 0 4px; + font-size: 12px; + text-align: center; + color: #555; + border: 1px solid #7B776C; + background-color: #f5f5f5; +} +.csf-field-border .csf--icon, +.csf-field-spacing .csf--icon, +.csf-field-dimensions .csf--icon { + border-right: 0; + border-radius: 4px 0 0 4px; +} +.csf-field-border .csf--icon + input, +.csf-field-spacing .csf--icon + input, +.csf-field-dimensions .csf--icon + input { + border-top-left-radius: 0; + border-bottom-left-radius: 0; +} +.csf-field-border .csf--unit, +.csf-field-spacing .csf--unit, +.csf-field-dimensions .csf--unit { + border-left: 0; + border-radius: 0 4px 4px 0; +} +.csf-field-border .csf--is-unit, +.csf-field-spacing .csf--is-unit, +.csf-field-dimensions .csf--is-unit { + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} + +/** + * 03. 06. Field: button_set + */ +.csf-field-button_set .csf--buttons { + display: inline-block; +} +.csf-field-button_set .csf--button { + position: relative; + z-index: 1; + float: left; + cursor: pointer; + padding: 7px 14px; + min-width: 40px; + text-align: center; + color: #555; + border: 1px solid #cccccc; + background-color: #f7f7f7; + user-select: none; + -webkit-user-select: none; + box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1); +} +.csf-field-button_set .csf--button:first-child { + border-radius: 4px 0 0 4px; +} +.csf-field-button_set .csf--button:last-child { + border-radius: 0 4px 4px 0; +} +.csf-field-button_set .csf--button:not(:first-child) { + margin-left: -1px; +} +.csf-field-button_set .csf--button:hover { + background-color: #eee; +} +.csf-field-button_set .csf--active:hover, +.csf-field-button_set .csf--active { + z-index: 2; + color: #fff; + border-color: #006799; + background-color: #0085ba; +} +.csf-field-button_set input { + display: none; +} + +/** + * 03. 07. Field: checkbox, radio + */ +.csf-field-checkbox ul, +.csf-field-radio ul { + margin: 0; + padding: 0 1px; + list-style-type: none; + overflow-y: auto; + max-height: 305px; +} +.csf-field-checkbox ul ul, +.csf-field-radio ul ul { + max-height: none; +} +.csf-field-checkbox .csf--inline-list li, +.csf-field-radio .csf--inline-list li { + display: inline-block; + margin-right: 15px; +} +.csf-field-checkbox input[type="radio"]:checked:before, +.csf-field-radio input[type="radio"]:checked:before { + line-height: 10px; +} +.csf-field-checkbox .csf-checker, +.csf-field-radio .csf-checker { + cursor: pointer; +} + +/** + * 03. 08. Field: code_editor + */ +.csf-field-code_editor .CodeMirror { + width: 100%; + height: 400px; +} +.csf-field-code_editor .cm-s-default { + border: 1px solid #ccd0d4; +} +.csf-field-code_editor textarea { + width: 100%; + height: 400px; +} + +/** + * 03. 09. Field: color + */ +.csf-field-color > input { + opacity: 0.75; + width: 115px; + max-width: 100%; +} +.csf-field-color .button.wp-picker-clear { + padding: 0 8px; + margin-left: 6px; + line-height: 2.54545455; + min-height: 30px; +} + +/** + * 03. 10. Field: color_group + */ +.csf-field-color_group .csf--left { + float: left; + margin-right: 10px; + margin-bottom: 5px; +} +.csf-field-color_group .csf--title { + color: #999; + margin-bottom: 5px; +} + +/** + * 03. 11. Field: fieldset + */ +.csf-field-fieldset .csf-fieldset-content { + border: 1px solid #ccd0d4; + background-color: #fff; + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04); +} +.csf-field-fieldset .csf-fieldset-content > .csf-field { + padding: 15px; +} +.csf-field-fieldset .csf-field-subheading { + font-size: 13px; +} + +/** + * 03. 12. Field: date + */ +.csf-field-date input { + margin: 0; +} +.csf-field-date .csf--to { + margin-left: 7px; +} + +.csf-datepicker-wrapper { + margin-top: 5px; + width: auto; + background-color: #fff; + z-index: 9999999 !important; + -moz-box-shadow: 0 0 30px rgba(0, 0, 0, 0.15); + -webkit-box-shadow: 0 0 30px rgba(0, 0, 0, 0.15); + box-shadow: 0 0 30px rgba(0, 0, 0, 0.15); +} +.csf-datepicker-wrapper * { + float: none; + margin: 0; + padding: 0; + font-family: inherit; + font-weight: normal; + font-style: normal; + text-decoration: none; + border: 0; + border-radius: 0; + box-shadow: none; +} +.csf-datepicker-wrapper .ui-widget-header, +.csf-datepicker-wrapper .ui-datepicker-header { + color: #fff; + background: #00a0d2; +} +.csf-datepicker-wrapper .ui-datepicker-header .ui-state-hover { + cursor: pointer; +} +.csf-datepicker-wrapper .ui-datepicker-title { + font-size: 14px; + line-height: 40px; + text-align: center; +} +.csf-datepicker-wrapper .ui-datepicker-prev, +.csf-datepicker-wrapper .ui-datepicker-next { + position: static; + top: auto; + left: auto; + right: auto; + font-family: "Font Awesome 5 Pro", "Font Awesome 5 Free", "FontAwesome"; + font-weight: 900; + font-size: 12px; + text-align: center; + width: 41px; + height: 40px; + line-height: 40px; + color: #fff; + background-color: rgba(255, 255, 255, 0.1); + text-rendering: auto; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} +.csf-datepicker-wrapper .ui-datepicker-next span, +.csf-datepicker-wrapper .ui-datepicker-prev span { + display: none; +} +.csf-datepicker-wrapper .ui-datepicker-prev { + float: left; +} +.csf-datepicker-wrapper .ui-datepicker-next { + float: right; +} +.csf-datepicker-wrapper .ui-datepicker-prev:before { + content: '\f053'; +} +.csf-datepicker-wrapper .ui-datepicker-next:before { + content: '\f054'; +} +.csf-datepicker-wrapper .ui-datepicker-prev-hover, +.csf-datepicker-wrapper .ui-datepicker-next-hover { + opacity: 0.75; +} +.csf-datepicker-wrapper tbody .ui-datepicker-week-col { + background-color: #f7f7f7; +} +.csf-datepicker-wrapper .ui-datepicker-buttonpane { + padding: 10px; + text-align: center; + background-color: #f7f7f7; +} +.csf-datepicker-wrapper .ui-datepicker-buttonpane button { + cursor: pointer; + margin: 0 5px; + padding: 7px 14px; + border: 1px solid #eee; + background-color: #fff; +} +.csf-datepicker-wrapper select { + margin: 0 4px; +} +.csf-datepicker-wrapper select option { + color: #555; +} +.csf-datepicker-wrapper table { + font-size: 13px; + border-collapse: collapse; + width: 100%; +} +.csf-datepicker-wrapper thead { + color: #fff; + background: #32373c; +} +.csf-datepicker-wrapper th { + text-align: center; + padding: 7px; + border: 1px solid #444; +} +.csf-datepicker-wrapper td { + text-align: center; + border: 1px solid #f4f4f4; +} +.csf-datepicker-wrapper td.ui-datepicker-other-month { + border: transparent; +} +.csf-datepicker-wrapper td .ui-state-default { + color: #555; + width: auto; + display: block; + padding: 6px 12px; +} +.csf-datepicker-wrapper td .ui-state-active, +.csf-datepicker-wrapper td .ui-state-hover { + color: #fff; + background-color: #0073aa; +} +.csf-datepicker-wrapper td.ui-state-disabled .ui-state-default { + opacity: 0.5; +} + +/** + * 03. 13. Field: gallery + */ +.csf-field-gallery input { + display: none; +} +.csf-field-gallery ul { + margin: 0; + padding: 0; + list-style-type: none; +} +.csf-field-gallery ul li { + display: inline-block; + position: relative; + padding: 4px; + margin: 0 5px 10px 0; + border: 1px solid #ccc; + background-color: #f9f9f9; + -moz-border-radius: 2px; + -webkit-border-radius: 2px; + border-radius: 2px; + -moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08); + -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08); + box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08); +} +.csf-field-gallery ul li img { + max-height: 60px; + display: inline-block; + vertical-align: middle; +} +.csf-field-gallery .button { + margin-right: 5px; + margin-bottom: 5px; +} + +/** + * 03. 14. Field: group + */ +.csf-field-group .csf-cloneable-hidden { + display: none !important; +} +.csf-field-group .csf-cloneable-wrapper { + position: relative; +} +.csf-field-group .csf-cloneable-item { + display: none; + position: relative; + margin-bottom: 5px; +} +.csf-field-group .csf-cloneable-item h4 { + font-size: 1em; +} +.csf-field-group .ui-accordion .csf-cloneable-item { + display: block; +} +.csf-field-group .csf-cloneable-content { + border: 1px solid #ccd0d4; + background-color: #fff; + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04); +} +.csf-field-group .csf-cloneable-content > .csf-field { + padding: 15px; +} +.csf-field-group .csf-cloneable-title { + display: block; + cursor: pointer; + position: relative; + user-select: none; + margin: 0; + padding: 15px 65px 15px 10px; + min-height: 0; + font-size: 100%; + border: 1px solid #ccd0d4; + background-color: #fafafa; + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04); + transition: border-color .15s; +} +.csf-field-group .csf-cloneable-title:active, .csf-field-group .csf-cloneable-title:hover, .csf-field-group .csf-cloneable-title:focus { + border-color: #999; + outline: none; +} +.csf-field-group .csf-cloneable-helper { + position: absolute; + top: 12px; + right: 10px; + z-index: 1; + font-size: 14px; + line-height: 1em; +} +.csf-field-group .csf-cloneable-helper i { + display: inline-block; + cursor: pointer; + padding: 5px; + color: #999; +} +.csf-field-group .csf-cloneable-helper i:hover { + color: #555; +} +.csf-field-group .csf-cloneable-content { + padding: 0; + border-top: 0; +} +.csf-field-group .csf-cloneable-title-prefix, +.csf-field-group .csf-cloneable-title-number { + margin-right: 5px; +} +.csf-field-group .csf-cloneable-alert { + display: none; + margin-bottom: 5px; + padding: 10px 20px; + color: #a94442; + border: 1px solid #ebccd1; + background-color: #f2dede; +} +.csf-field-group .widget-placeholder { + margin-bottom: 10px; + border: 1px dashed #f1c40f; + background-color: #fffae4; +} +.csf-field-group .csf-cloneable-header-icon { + display: inline-block; + text-align: center; + font-size: 14px; + width: 17px; + text-indent: 0; + vertical-align: text-top; +} +.csf-field-group .csf-cloneable-placeholder { + background-color: #ddd; + margin-top: 4px; + width: 100px; + height: 10px; + font-size: 10px; + line-height: 10px; + display: inline-block; + vertical-align: top; + border-radius: 2px; +} + +/** + * 03. 15. Field: icon + */ +.csf-field-icon input { + display: none; +} +.csf-field-icon .button { + margin-right: 5px; +} +.csf-field-icon .csf-icon-preview i { + display: inline-block; + font-size: 16px; + width: 30px; + height: 28px; + line-height: 28px; + margin-right: 5px; + text-align: center; + vertical-align: top; + color: #555; + border: 1px solid #ccc; + background-color: #f7f7f7; + -moz-border-radius: 3px; + -webkit-border-radius: 3px; + border-radius: 3px; + -moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08); + -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08); + box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08); + -moz-box-sizing: content-box; + -webkit-box-sizing: content-box; + box-sizing: content-box; +} + +/** + * 03. 16. Field: image_select + */ +.csf-field-image_select .csf--image { + cursor: pointer; + position: relative; + display: inline-block; + max-width: 100%; + margin: 0 5px 5px 0; + vertical-align: bottom; + border: 2px solid transparent; + background-color: #fff; + user-select: none; + -webkit-user-select: none; + -moz-transition: all 0.2s; + -o-transition: all 0.2s; + -webkit-transition: all 0.2s; + transition: all 0.2s; +} +.csf-field-image_select .csf--image:before { + position: absolute; + top: 0; + left: 0; + text-align: center; + font-size: 10px; + font-family: "Font Awesome 5 Pro", "Font Awesome 5 Free", "FontAwesome"; + font-weight: 900; + content: "\f00c"; + width: 16px; + height: 16px; + line-height: 14px; + opacity: 0; + color: #fff; + background-color: #222; + transition: opacity .2s; +} +.csf-field-image_select .csf--active { + border-color: #222; + box-shadow: 0 0 20px rgba(0, 0, 0, 0.2); +} +.csf-field-image_select .csf--active:before { + opacity: 1; +} +.csf-field-image_select img { + vertical-align: top; +} +.csf-field-image_select input { + display: none; +} + +/** + * 03. 17. Field: link_color + */ +.csf-field-link_color .csf--left { + float: left; + margin-right: 10px; + margin-bottom: 5px; +} +.csf-field-link_color .csf--title { + color: #777; + margin-bottom: 5px; +} + +/** + * 03. 18. Field: map + */ +.csf-field-map input { + width: 100%; +} +.csf-field-map input[type="text"].ui-autocomplete-loading { + background-position-x: calc(100% - 5px); +} +.csf-field-map .csf--map-search + .csf--map-osm-wrap { + margin-top: 10px; +} +.csf-field-map .csf--map-osm-wrap { + position: relative; + padding: 5px; + border: 1px solid #eee; + background-color: #fff; + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04); +} +.csf-field-map .csf--map-osm { + position: relative; + z-index: 1; + min-height: 250px; +} +.csf-field-map .csf--map-inputs { + margin-top: 10px; + display: flex; + justify-content: space-between; +} +.csf-field-map .csf--map-input { + flex: 1; +} +.csf-field-map .csf--map-input:last-child { + padding-left: 10px; +} +.csf-field-map label { + display: block; + color: #777; + font-size: 12px; + margin: 0 0 2px 0; +} + +.csf-map-ui-autocomplate { + z-index: 999999; + border-radius: 4px; + overflow: hidden; +} + +/** + * 03. 19. Field: media + */ +.csf-field-media .csf--placeholder { + display: flex; +} +.csf-field-media .csf--placeholder input { + width: 100%; + margin: 0; +} +.csf-field-media .button { + margin-left: 5px; +} +.csf-field-media .hidden + .button { + margin-left: 0; +} +.csf-field-media .csf--preview { + position: relative; +} +.csf-field-media .csf--preview .fa-times { + position: absolute; + z-index: 1; + right: 4px; + top: 4px; + font-size: 14px; + width: 22px; + height: 22px; + line-height: 22px; + text-align: center; + text-decoration: none; + color: #fff; + background-color: #dd3333; + opacity: 0.8; + transition: all .2s; +} +.csf-field-media .csf--preview .fa-times:hover { + opacity: 1; +} +.csf-field-media .csf--preview .fa-times:focus { + box-shadow: none; +} + +/** + * 03. 20. Field: palette + */ +.csf-field-palette .csf--palette { + position: relative; + display: inline-block; + cursor: pointer; + border: 2px solid #ddd; + margin-right: 10px; + margin-bottom: 10px; + user-select: none; + -webkit-user-select: none; + transition: all .2s; +} +.csf-field-palette .csf--palette span { + vertical-align: middle; + display: inline-block; + width: 22px; + height: 60px; + line-height: 60px; + overflow: hidden; + text-indent: -999px; +} +.csf-field-palette .csf--palette:before { + position: absolute; + top: 0; + left: 0; + text-align: center; + font-size: 10px; + font-family: "Font Awesome 5 Pro", "Font Awesome 5 Free", "FontAwesome"; + font-weight: 900; + content: "\f00c"; + width: 16px; + height: 16px; + line-height: 14px; + opacity: 0; + color: #fff; + background-color: #222; + transition: opacity .2s; +} +.csf-field-palette .csf--active { + border-color: #222; + box-shadow: 0 0 20px rgba(0, 0, 0, 0.2); +} +.csf-field-palette .csf--active:before { + opacity: 1; +} +.csf-field-palette input { + display: none; +} + +/** + * 03. 21. Field: repeater + */ +.csf-field-repeater .csf-field-text input { + width: 100%; +} +.csf-field-repeater .csf-repeater-hidden { + display: none !important; +} +.csf-field-repeater .csf-repeater-wrapper .csf-repeater-item { + display: table; + width: 100%; + margin-bottom: 5px; + border: 1px solid #eee; +} +.csf-field-repeater .csf-repeater-wrapper .csf-repeater-item h4 { + font-size: 1em; +} +.csf-field-repeater .csf-repeater-content { + width: 100%; + display: table-cell; + vertical-align: middle; + background-color: #fff; +} +.csf-field-repeater .csf-repeater-content > .csf-field { + padding: 15px; +} +.csf-field-repeater .csf-repeater-helper { + width: 100%; + display: table-cell; + vertical-align: middle; + text-align: center; + font-size: 14px; + line-height: 1em; + border-left: 1px solid #eee; + background-color: #f7f7f7; +} +.csf-field-repeater .csf-repeater-helper i { + display: inline-block; + cursor: pointer; + color: #999; + padding: 5px; +} +.csf-field-repeater .csf-repeater-helper i:hover { + color: #555; +} +.csf-field-repeater .csf-repeater-helper-inner { + width: 75px; +} +.csf-field-repeater .csf-repeater-alert { + display: none; + margin-bottom: 5px; + padding: 10px 20px; + color: #a94442; + border: 1px solid #ebccd1; + background-color: #f2dede; +} +.csf-field-repeater .widget-placeholder { + height: 50px; + margin-bottom: 3px; + border: 1px dashed #f1c40f; + background-color: #fffae4; +} +.csf-field-repeater .ui-sortable-helper { + height: 50px !important; + overflow: hidden !important; + border-color: #ccc !important; + background-color: #eee !important; + opacity: 0.5; +} +.csf-field-repeater .ui-sortable-helper .csf-repeater-helper, +.csf-field-repeater .ui-sortable-helper .csf-repeater-content { + display: none; +} + +/** + * 03. 22. Field: select + */ +.csf-field-select .csf-fieldset { + min-height: 30px; +} +.csf-field-select .csf-chosen { + display: none; +} +.csf-field-select select { + max-width: 100%; + margin: 0; +} + +/** + * 03. 23. Field: slider + */ +.csf-field-slider .csf--wrap { + display: flex; + align-items: center; +} +.csf-field-slider .csf--input { + display: flex; +} +.csf-field-slider .csf--unit { + display: flex; + justify-content: center; + flex-direction: column; + user-select: none; + padding: 0 6px; + font-size: 11px; + line-height: 1; + border-radius: 0 4px 4px 0; + color: #555; + border: 1px solid #7e8993; + border-left: 0; + background-color: #f5f5f5; +} +.csf-field-slider .csf-slider-ui { + margin-right: 15px; +} +.csf-field-slider input[type=number] { + position: relative; + z-index: 1; + margin: 0; + width: 50px; + text-align: center; +} +.csf-field-slider .csf--is-unit { + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} +.csf-field-slider .ui-slider { + position: relative; + width: 100%; + height: 3px; + border: none; + background: #ddd; + border-radius: 2px; +} +.csf-field-slider .ui-slider-range { + height: 3px; + border: none; + background: #333; + border-radius: 2px; +} +.csf-field-slider .ui-slider-handle { + position: absolute; + width: 16px; + height: 16px; + top: -7px; + margin-left: -8px; + border: none; + background: #333; + border-radius: 2px; +} +.csf-field-slider .ui-state-active, +.csf-field-slider .ui-slider-handle:hover { + cursor: pointer; + background: #111; +} + +/** + * 03. 24. Field: sortable + */ +.csf-field-sortable .csf-field-text input { + width: 100%; + max-width: 100%; +} +.csf-field-sortable .csf--sortable .csf--sortable-item { + display: table; + width: 100%; + margin-bottom: 5px; + border: 1px solid #eee; +} +.csf-field-sortable .csf--sortable .csf--sortable-item h4 { + font-size: 1em; +} +.csf-field-sortable .csf--sortable-content { + width: 100%; + display: table-cell; + vertical-align: middle; + background-color: #fff; +} +.csf-field-sortable .csf--sortable-content > .csf-field { + padding: 15px; +} +.csf-field-sortable .csf--sortable-helper { + width: 100%; + display: table-cell; + vertical-align: middle; + text-align: center; + font-size: 14px; + line-height: 1em; + border-left: 1px solid #eee; + background-color: #f7f7f7; +} +.csf-field-sortable .csf--sortable-helper i { + display: inline-block; + cursor: pointer; + width: 50px; + color: #555; +} +.csf-field-sortable .csf--sortable-helper i:hover { + opacity: 0.5; +} +.csf-field-sortable .widget-placeholder { + height: 50px; + margin-bottom: 3px; + border: 1px dashed #f1c40f; + background-color: #fffae4; +} +.csf-field-sortable .ui-sortable-helper { + height: 50px !important; + overflow: hidden !important; + border-color: #ccc !important; + background-color: #eee !important; + opacity: 0.5; +} +.csf-field-sortable .ui-sortable-helper .csf--sortable-helper, +.csf-field-sortable .ui-sortable-helper .csf--sortable-content { + display: none; +} + +/** + * 03. 25. Field: sorter + */ +.csf-field-sorter .ui-sortable-placeholder { + height: 20px; + border: 1px dashed #f1c40f; + background-color: #fffae4; +} +.csf-field-sorter .csf-modules { + float: left; + width: 50%; + box-sizing: border-box; +} +.csf-field-sorter .csf-modules:first-child { + padding-right: 15px; +} +.csf-field-sorter .csf-modules:last-child { + padding-left: 15px; +} +.csf-field-sorter .csf-disabled, +.csf-field-sorter .csf-enabled { + padding: 5px 15px; + border: 1px dashed #ddd; + background-color: #fff; +} +.csf-field-sorter .csf-disabled li { + -moz-transition: opacity 0.15s; + -o-transition: opacity 0.15s; + -webkit-transition: opacity 0.15s; + transition: opacity 0.15s; + opacity: 0.5; +} +.csf-field-sorter .csf-disabled .ui-sortable-helper { + opacity: 1; +} +.csf-field-sorter .csf-sorter-title { + font-size: 13px; + font-weight: 600; + padding: 10px; + text-align: center; + border: 1px dashed #ddd; + border-bottom: none; + background-color: #f8f8f8; + text-transform: uppercase; +} +.csf-field-sorter ul { + list-style-type: none; + margin: 0; + padding: 0; + min-height: 62px; +} +.csf-field-sorter ul li { + margin: 10px 0; + padding: 10px 15px; + cursor: move; + font-weight: bold; + text-align: center; + border: 1px solid #e5e5e5; + background-color: #fafafa; + -moz-transition: border-color 0.15s; + -o-transition: border-color 0.15s; + -webkit-transition: border-color 0.15s; + transition: border-color 0.15s; +} +.csf-field-sorter ul li:hover { + border-color: #bbb; +} + +/** + * 03. 26. Field: spinner + */ +.csf-field-spinner .csf--spin { + display: flex; +} +.csf-field-spinner .ui-spinner { + display: flex; +} +.csf-field-spinner .ui-button-text-only { + display: flex; + flex-direction: column; + justify-content: center; + text-align: center; + min-width: 20px; + padding: 0 4px; + color: #555; + border: 1px solid #7e8993; + background-color: #f5f5f5; +} +.csf-field-spinner .ui-button { + cursor: pointer; +} +.csf-field-spinner .ui-button:hover { + background-color: #e7e7e7; +} +.csf-field-spinner .ui-button:active { + background-color: #ddd; +} +.csf-field-spinner .ui-button:before { + font-family: "Font Awesome 5 Pro", "Font Awesome 5 Free", "FontAwesome"; + font-weight: 900; + font-size: 14px; + line-height: 14px; +} +.csf-field-spinner .ui-spinner-down { + order: 1; + border-right: 0; + border-radius: 4px 0 0 4px; +} +.csf-field-spinner .ui-spinner-down:before { + content: "\f0d9"; +} +.csf-field-spinner .ui-spinner-input { + order: 2; +} +.csf-field-spinner .csf--unit { + order: 3; + border-left: 0; + user-select: none; +} +.csf-field-spinner .ui-spinner-up { + order: 4; + border-left: 0; + border-radius: 0 4px 4px 0; +} +.csf-field-spinner .ui-spinner-up:before { + content: "\f0da"; +} +.csf-field-spinner input { + position: relative; + z-index: 1; + width: 50px; + text-align: center; + margin: 0; + padding: 0 8px; + border-radius: 0; +} +.csf-field-spinner .ui-button-text { + display: none; +} + +/** + * 03. 27. Field: switcher + */ +.csf-field-switcher .csf--switcher { + float: left; + cursor: pointer; + position: relative; + width: 60px; + height: 26px; + padding: 0; + margin: 0; + overflow: hidden; + border-radius: 4px; + background-color: #ed6f6f; + user-select: none; + -webkit-user-select: none; +} +.csf-field-switcher .csf--ball { + position: absolute; + top: 4px; + left: 4px; + width: 24px; + height: 18px; + background-color: #fff; + border-radius: 4px; + transition: all .1s; + box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.15); +} +.csf-field-switcher .csf--on, +.csf-field-switcher .csf--off { + position: absolute; + top: 0; + left: 0; + right: 0; + font-size: 11px; + line-height: 26px; + font-weight: 500; + font-style: normal; + text-align: center; + text-transform: uppercase; + color: #fff; + padding-right: 28px; + opacity: 0; + transition: all .1s; +} +.csf-field-switcher .csf--off { + padding-right: 0; + padding-left: 28px; + opacity: 1; +} +.csf-field-switcher .csf--active { + background: #4fb845; +} +.csf-field-switcher .csf--active .csf--on { + opacity: 1; +} +.csf-field-switcher .csf--active .csf--off { + opacity: 0; +} +.csf-field-switcher .csf--active .csf--ball { + left: 100%; + margin-left: -28px; +} +.csf-field-switcher .csf--label { + float: left; + margin-top: 4px; + margin-left: 8px; + font-weight: 400; + color: #999; +} +.csf-field-switcher input { + display: none; +} + +/** + * 03. 28. Field: tabbed + */ +.csf-field-tabbed .csf-tabbed-section { + border: 1px solid #ccd0d4; + background-color: #fff; + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04); +} +.csf-field-tabbed .csf-tabbed-section > .csf-field { + padding: 15px; +} +.csf-field-tabbed .csf-tabbed-nav .csf--icon { + padding-right: 5px; +} +.csf-field-tabbed .csf-tabbed-nav a { + display: inline-block; + padding: 12px 15px; + margin-top: 1px; + margin-right: 5px; + margin-bottom: -1px; + position: relative; + text-decoration: none; + color: #444; + font-weight: 600; + border: 1px solid #ccd0d4; + background-color: #f3f3f3; + transition: all .2s; +} +.csf-field-tabbed .csf-tabbed-nav a:hover { + background-color: #f9f9f9; +} +.csf-field-tabbed .csf-tabbed-nav a.csf-tabbed-active { + background-color: #fff; + border-bottom-color: #fff; +} +.csf-field-tabbed .csf-tabbed-nav a:focus { + outline: none; + -moz-box-shadow: none; + -webkit-box-shadow: none; + box-shadow: none; +} + +/** + * 03. 29. Field: text + */ +.csf-field-text input { + width: 50%; + max-width: 100%; + margin: 0; +} + +/** + * 03. 30. Field: textarea + */ +.csf-field-textarea textarea { + width: 100%; + max-width: 100%; + min-height: 125px; +} +.csf-field-textarea .csf-shortcode-button { + margin-bottom: 10px; + margin-right: 5px; +} + +/** + * 03. 31. Field: typography + */ +.csf-field-typography textarea, +.csf-field-typography select { + min-width: 100%; + margin: 0; +} +.csf-field-typography .csf--title { + color: #777; + margin: 0 0 2px 0; + font-size: 12px; +} +.csf-field-typography .csf--title small { + vertical-align: top; +} +.csf-field-typography .csf--blocks { + display: flex; + flex-wrap: wrap; +} +.csf-field-typography .csf--block { + flex: 1; + padding-right: 6px; + padding-bottom: 6px; +} +.csf-field-typography .csf--input { + margin: 0; + min-width: 100%; +} +.csf-field-typography .csf--input-wrap { + position: relative; +} +.csf-field-typography .csf--unit { + position: absolute; + z-index: 1; + right: 4px; + top: 4px; + bottom: 4px; + padding: 2px 6px; + color: #666; + font-size: 11px; + line-height: 1; + border-radius: 2px; + background: #eee; + user-select: none; + display: flex; + justify-content: center; + flex-direction: column; +} +.csf-field-typography .csf--preview { + font-size: 16px; + line-height: 20px; + padding: 20px; + color: #222; + border: 1px solid #eee; + background-color: #fff; + border-radius: 2.5px; + user-select: none; + -webkit-user-select: none; + transition: background-color .2s, border-color .2s; +} +.csf-field-typography .csf--block-preview { + cursor: pointer; + position: relative; + overflow: hidden; + margin-top: 10px; + max-width: 100%; +} +.csf-field-typography .csf--black-background { + border-color: #000; + background-color: #000; +} +.csf-field-typography .csf--toggle { + position: absolute; + top: 5px; + right: 10px; + color: #999; +} +.csf-field-typography .csf--block-extra-styles { + margin-top: 5px; +} + +/** + * 03. 32. Field: upload + */ +.csf-field-upload input { + width: 100%; + margin: 0; +} +.csf-field-upload .csf--wrap { + display: flex; +} +.csf-field-upload .button { + margin-left: 5px; +} + +/** + * 03. 33. Field: wp_editor + */ +.csf-field-wp_editor .csf-wp-editor { + float: left; + width: 100%; +} +.csf-field-wp_editor .mce-toolbar-grp { + border: none; +} +.csf-field-wp_editor .mce-btn.mce-active button, +.csf-field-wp_editor .mce-btn.mce-active:hover button, +.csf-field-wp_editor .mce-btn.mce-active i, +.csf-field-wp_editor .mce-btn.mce-active:hover i { + color: #23282d; +} +.csf-field-wp_editor .wp-media-buttons { + position: relative; + z-index: 2; +} +.csf-field-wp_editor .wp-editor-tabs { + position: relative; + z-index: 1; +} +.csf-field-wp_editor .csf-no-tinymce { + border: 1px solid #e5e5e5; +} +.csf-field-wp_editor .csf-no-quicktags .wp-media-buttons { + float: none; + display: block; +} +.csf-field-wp_editor .csf-no-quicktags .mce-tinymce { + box-shadow: none; + border: 1px solid #e5e5e5; +} +.csf-field-wp_editor textarea { + width: 100%; + max-width: 100%; + margin: 0; + box-shadow: none; +} + +/** + * 03. 34. Field: heading + */ +.csf-field-heading { + font-size: 1.5em; + font-weight: bold; + color: #23282d; + background-color: #f5f5f5; +} + +/** + * 03. 35. Field: subheading + */ +.csf-field-subheading { + font-size: 14px; + font-weight: bold; + padding-top: 17px; + padding-bottom: 17px; + color: #23282d; + background-color: #f7f7f7; +} + +/** + * 03. 36. Field: submessage + */ +.csf-field-submessage { + padding: 0 !important; + border: 0 !important; +} +.csf-field-submessage + .csf-field { + border-top: 0 !important; +} + +.csf-submessage { + font-size: 12px; + padding: 17px 30px; + border-top: 1px solid transparent; + border-bottom: 1px solid transparent; +} + +.csf-submessage-success { + color: #3c763d; + border-color: #d6e9c6; + background-color: #dff0d8; +} + +.csf-submessage-info { + color: #31708f; + border-color: #bce8f1; + background-color: #d9edf7; +} + +.csf-submessage-warning { + color: #8a6d3b; + border-color: #faebcc; + background-color: #fcf8e3; +} + +.csf-submessage-danger { + color: #a94442; + border-color: #ebccd1; + background-color: #f2dede; +} + +.csf-submessage-normal { + color: #23282d; + border-color: #eee; + background-color: #f7f7f7; +} + +/** + * 03. 37. Field: notice + */ +.csf-field-notice { + background-color: #f7f7f7; +} + +.csf-notice { + padding: 12px; + background-color: #fff; + border-left-style: solid; + border-left-width: 4px; + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1); +} + +.csf-notice-success { + border-color: #46b450; +} + +.csf-notice-info { + border-color: #339fd4; +} + +.csf-notice-warning { + border-color: #ffbc00; +} + +.csf-notice-danger { + border-color: #dc3232; +} + +.csf-notice-normal { + border-color: #222; +} + +/** + * 03. 38. Field: number + */ +.csf-field-number input { + width: 100%; + margin: 0; +} +.csf-field-number .csf--wrap { + position: relative; + float: left; + width: 100px; +} +.csf-field-number .csf--unit { + position: absolute; + z-index: 1; + right: 4px; + top: 4px; + bottom: 4px; + padding: 2px 6px; + color: #666; + font-size: 11px; + line-height: 1; + border-radius: 2px; + background: #eee; + user-select: none; + display: flex; + justify-content: center; + flex-direction: column; +} + +/** + * 03. 39. others + */ +.csf-help { + cursor: help; + position: absolute; + top: 0; + right: 0; + padding: 5px; + font-size: 13px; + color: #aaa; +} +.csf-help .csf-help-text { + display: none; +} + +.csf-image-preview { + display: inline-block; + position: relative; + padding: 4px; + min-width: 44px; + min-height: 22px; + margin-bottom: 10px; + border: 1px solid #ccc; + background-color: #f9f9f9; + -moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08); + -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08); + box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08); +} +.csf-image-preview img { + max-height: 90px; + display: inline-block; + vertical-align: middle; +} + +.csf-field-custom .csf-field { + padding: 0; +} + +.csf-field .chosen-container-single .chosen-single { + height: 28px; + line-height: 26px; +} +.csf-field .chosen-container-single .chosen-single abbr { + top: 0; + right: 20px; + font-family: "Font Awesome 5 Pro", "Font Awesome 5 Free", "FontAwesome"; + font-weight: 900; + font-size: 12px; + height: 100%; + width: 18px; + color: #aaa; + text-align: center; + background: none; +} +.csf-field .chosen-container-single .chosen-single abbr:before { + content: "\f00d"; +} +.csf-field .chosen-container-single .chosen-single abbr:hover { + color: #555; +} +.csf-field .chosen-container-multi .chosen-choices li.search-choice .search-choice-close { + font-family: "Font Awesome 5 Pro", "Font Awesome 5 Free", "FontAwesome"; + font-weight: 900; + font-size: 12px; + height: 100%; + width: 18px; + color: #aaa; + text-align: center; + background: none; +} +.csf-field .chosen-container-multi .chosen-choices li.search-choice .search-choice-close:before { + content: "\f00d"; + display: inline-block; + padding-top: 3px; +} +.csf-field .chosen-container-multi .chosen-choices li.search-choice .search-choice-close:hover { + color: #555; +} +.csf-field .chosen-container-single .chosen-single div b { + font-family: "Font Awesome 5 Pro", "Font Awesome 5 Free", "FontAwesome"; + font-weight: 900; + font-size: 14px; + color: #aaa; + background: none; +} +.csf-field .chosen-container-single .chosen-single div b:before { + content: "\f107"; +} +.csf-field .chosen-container-single .chosen-single div b:hover { + color: #555; +} +.csf-field .chosen-container-multi .chosen-choices li.search-choice-placeholder { + border: 1px dashed #aaa; + margin: 3px 5px 3px 0; +} +.csf-field .chosen-container-multi .ui-sortable li.search-choice span { + cursor: move; +} +.csf-field .chosen-container-active.chosen-with-drop .chosen-single div b:before { + content: "\f106"; +} +.csf-field .chosen-container-single .chosen-single-with-deselect span { + margin-right: 40px; +} +.csf-field .chosen-container-single .chosen-search input[type="text"] { + background: none; +} +.csf-field .chosen-container-single .chosen-search:before { + font-family: "Font Awesome 5 Pro", "Font Awesome 5 Free", "FontAwesome"; + font-weight: 900; + font-size: 11px; + content: "\f002"; + position: absolute; + right: 12px; + top: 10px; + color: #aaa; +} +.csf-field .wp-picker-container { + display: inline-block; +} +.csf-field .wp-picker-container .wp-color-result.button { + margin-bottom: 0; +} +.csf-field .csf--transparent-wrap { + display: none; + position: relative; + top: -1px; + width: 235px; + padding: 9px 10px; + border: 1px solid #dfdfdf; + border-top: none; + background-color: #fff; +} +.csf-field .wp-picker-active .csf--transparent-wrap { + display: block; +} +.csf-field .csf--transparent-slider { + position: absolute; + width: 190px; + margin-left: 2px; + height: 18px; +} +.csf-field .csf--transparent-slider .ui-slider-handle { + position: absolute; + top: -3px; + bottom: -3px; + z-index: 5; + border-color: #aaa; + border-style: solid; + border-width: 4px 3px; + width: 10px; + height: 16px; + margin: 0 -5px; + background: none; + cursor: ew-resize; + opacity: 0.9; + -moz-border-radius: 4px; + -webkit-border-radius: 4px; + border-radius: 4px; + -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); + -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); + box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); +} +.csf-field .csf--transparent-slider .ui-slider-handle:before { + content: " "; + position: absolute; + left: -2px; + right: -2px; + top: -3px; + bottom: -3px; + border: 2px solid #fff; + -moz-border-radius: 3px; + -webkit-border-radius: 3px; + border-radius: 3px; +} +.csf-field .csf--transparent-offset { + height: 18px; + width: 200px; + background: url(../images/checkerboard.png) repeat-y center left scroll #fff; + -moz-box-shadow: 0 0 5px rgba(0, 0, 0, 0.4) inset; + -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.4) inset; + box-shadow: 0 0 5px rgba(0, 0, 0, 0.4) inset; + -moz-border-radius: 2px; + -webkit-border-radius: 2px; + border-radius: 2px; +} +.csf-field .csf--transparent-text { + position: absolute; + top: 12px; + right: 10px; + width: 30px; + font-size: 12px; + line-height: 12px; + text-align: center; + color: #999; +} +.csf-field .csf--transparent-button { + cursor: pointer; + user-select: none; + margin-top: 10px; + font-size: 11px; + text-align: center; + border-radius: 2px; + padding: 3px 7px; + box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1); + letter-spacing: 0.2px; + color: #777; + border: 1px solid #ccc; + background-color: #f7f7f7; + transition: background-color .2s, border-color .2s, color .2s; +} +.csf-field .csf--transparent-active .wp-color-result { + background-image: url(../images/checkerboard.png); + background-size: 135px; + background-position: center left; + background-color: transparent !important; +} +.csf-field .csf--transparent-active .csf--transparent-button { + color: #fff; + border-color: #3ea032; + background-color: #4fb845; +} +.csf-field .csf--transparent-active .fa:before { + content: "\f205"; +} + +/** + * 04. Widget + */ +.csf-widgets > .csf-field { + position: relative; + top: -1px; + margin-right: -15px; + margin-left: -15px; + padding: 12px 15px; +} +.csf-widgets > .csf-field .csf-field { + margin-left: 0; + margin-right: 0; +} +.csf-widgets > .csf-field .csf-title { + float: none; + width: 100%; + margin-bottom: 5px; +} +.csf-widgets > .csf-field .csf-fieldset { + float: none; + width: 100%; +} +.csf-widgets .csf-field-text input { + width: 100%; +} +.csf-widgets .csf-field-notice .csf-notice { + padding: 15px; +} + +.control-section .csf-widgets > .csf-field { + margin-right: -10px; + margin-left: -10px; + padding: 10px 12px; +} + +/** + * 05. Widget + */ +.control-section .csf-field { + padding: 0; +} +.control-section .csf-field .csf-title { + float: none; + width: 100%; + margin-bottom: 6px; +} +.control-section .csf-field .csf-title h4 { + display: block; + font-size: 13px; + line-height: 1; + font-weight: 600; + color: inherit; +} +.control-section .csf-field .csf-fieldset { + float: none; + width: 100%; +} +.control-section .csf-help { + top: -5px; + right: -5px; +} +.control-section .csf-field-select select { + width: 100%; +} +.control-section .csf-field-heading { + color: inherit; + font-size: 14px; + line-height: 1em; + margin-right: -15px; + margin-left: -15px; + padding: 15px; +} +.control-section .csf-field-subheading { + color: inherit; + font-size: 11px; + margin-right: -15px; + margin-left: -15px; + padding: 10px 15px; +} +.control-section .csf-text-subtitle { + margin-top: 4px; + font-size: 12px; +} +.control-section .csf-field-submessage .csf-submessage { + margin-right: -15px; + margin-left: -15px; + padding: 15px; +} +.control-section .csf-fieldset .csf-field-submessage .csf-submessage, +.control-section .csf-fieldset .csf-field-heading, +.control-section .csf-fieldset .csf-field-subheading { + margin-left: 0; + margin-right: 0; +} +.control-section .csf-field-date .csf--to { + margin-left: 0; +} +.control-section .csf-field-sorter ul li { + padding: 5px; +} +.control-section .csf-field-sorter .csf-modules { + float: none; + width: 100%; +} +.control-section .csf-field-sorter .csf-modules:first-child { + padding-right: 0; + padding-bottom: 15px; +} +.control-section .csf-field-background .csf--background-attributes { + flex-direction: column; +} +.control-section .csf-field-spacing input { + width: 90px; +} +.control-section .csf-field-border .csf--input { + flex: 1 50%; +} +.control-section .csf-field-border input, +.control-section .csf-field-border select { + width: 100%; +} +.control-section .csf-field-spinner input { + width: 50px; +} +.control-section .csf-field-number .csf--wrap { + width: 100%; +} +.control-section .csf-field-backup .csf-export-data { + display: none; +} +.control-section .csf-field-fieldset .csf-fieldset-content { + border-color: #e5e5e5; +} +.control-section .csf-field-fieldset .csf-field { + padding: 10px; +} +.control-section .csf-field-fieldset .csf-field .csf-title { + margin-bottom: 5px; +} +.control-section .csf-field-fieldset .csf-field h4 { + font-size: 12px; +} +.control-section .csf-field-group .csf-field, +.control-section .csf-field-tabbed .csf-field, +.control-section .csf-field-sortable .csf-field, +.control-section .csf-field-repeater .csf-field, +.control-section .csf-field-accordion .csf-field { + padding: 10px; +} +.control-section .csf-field-group .csf-field .csf-title, +.control-section .csf-field-tabbed .csf-field .csf-title, +.control-section .csf-field-sortable .csf-field .csf-title, +.control-section .csf-field-repeater .csf-field .csf-title, +.control-section .csf-field-accordion .csf-field .csf-title { + margin-bottom: 5px; +} +.control-section .csf-field-group .csf-field h4, +.control-section .csf-field-tabbed .csf-field h4, +.control-section .csf-field-sortable .csf-field h4, +.control-section .csf-field-repeater .csf-field h4, +.control-section .csf-field-accordion .csf-field h4 { + font-size: 12px; +} +.control-section .csf-dependency-control.hidden { + display: none !important; +} + +/** + * 06. Taxonomy + */ +.csf-taxonomy > .csf-field { + border-top: none !important; +} +.csf-taxonomy > .csf-field-heading { + font-size: 1.1em; + padding: 20px !important; + border: 1px solid #ddd; +} +.csf-taxonomy > .csf-field-subheading { + font-size: 12px; + padding: 15px !important; + border: 1px solid #ddd; +} +.csf-taxonomy > .csf-field-submessage .csf-submessage { + padding: 15px; + border-left-width: 1px; + border-left-style: solid; + border-right-width: 1px; + border-right-style: solid; +} +.csf-taxonomy > .csf-field-notice { + background-color: transparent; +} +.csf-taxonomy .csf-section-title { + display: block; + padding: 15px; + background-color: #f9f9f9; + border: 1px solid #e5e5e5; + -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04); + -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04); + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04); +} + +.csf-taxonomy-add-fields > .csf-field { + padding: 8px 0; +} +.csf-taxonomy-add-fields > .csf-field > .csf-title { + float: none; + width: 100%; + padding: 2px 2px 4px 0; +} +.csf-taxonomy-add-fields > .csf-field > .csf-title h4 { + font-size: 12px; + font-weight: normal; +} +.csf-taxonomy-add-fields > .csf-field > .csf-fieldset { + float: none; + width: 100%; +} +.csf-taxonomy-add-fields > .csf-field > .csf-fieldset > .csf-help { + right: -5px; +} +.csf-taxonomy-add-fields + p.submit { + margin-top: 0; +} + +.csf-taxonomy-edit-fields > .csf-field { + padding: 20px 0; +} +.csf-taxonomy-edit-fields > .csf-field > .csf-title { + width: 200px; +} +.csf-taxonomy-edit-fields > .csf-field > .csf-title h4 { + font-size: 14px; + font-weight: 600; + line-height: 1.3; + display: inline-block; + vertical-align: middle; +} +.csf-taxonomy-edit-fields > .csf-field > .csf-fieldset { + width: calc(100% - 220px); +} +.csf-taxonomy-edit-fields > .csf-field > .csf-fieldset > .csf-help { + top: -5px; + right: -5px; +} +.csf-taxonomy-edit-fields > .csf-field-submessage { + margin: 20px 0; +} +.csf-taxonomy-edit-fields > .csf-field-subheading, +.csf-taxonomy-edit-fields > .csf-field-heading { + margin: 20px 0; + border: 1px solid #ddd; +} + +/** + * 06. Profile + */ +.csf-profile > h2 > .fa { + padding-right: 7px; +} +.csf-profile > .csf-field { + max-width: 800px; + padding: 15px 0; + border-top: none !important; +} +.csf-profile > .csf-field > .csf-title { + width: 200px; +} +.csf-profile > .csf-field > .csf-title h4 { + font-size: 14px; + font-weight: 600; + line-height: 1.3; + display: inline-block; + vertical-align: middle; +} +.csf-profile > .csf-field > .csf-fieldset { + width: calc(100% - 220px); +} +.csf-profile > .csf-field > .csf-fieldset > .csf-help { + top: -15px; + right: -5px; +} +.csf-profile > .csf-field-heading { + font-size: 1.1em; +} +.csf-profile > .csf-field-subheading { + font-size: 12px; +} +.csf-profile > .csf-field-subheading, +.csf-profile > .csf-field-heading { + margin: 10px 0; + padding: 15px !important; + border: 1px solid #ddd; +} +.csf-profile > .csf-field-submessage { + margin: 20px 0; +} +.csf-profile > .csf-field-submessage .csf-submessage { + padding: 10px; + border-left-width: 1px; + border-left-style: solid; + border-right-width: 1px; + border-right-style: solid; +} +.csf-profile > .csf-field-notice { + background-color: transparent; +} + +/** + * 08. Modal + */ +.csf-modal { + display: none; + position: fixed; + z-index: 100101; + top: 0; + left: 0; + width: 100%; + height: 100%; +} + +.csf-modal-icon { + z-index: 100102; +} + +.csf-modal-table { + display: table; + width: 100%; + height: 100%; +} + +.csf-modal-table-cell { + display: table-cell; + vertical-align: middle; + margin: 100px 0; +} + +.csf-modal-inner { + position: relative; + z-index: 10; + width: 760px; + height: 750px; + margin: 0 auto; + background-color: #fff; +} + +.csf-modal-content { + position: relative; + overflow: hidden; + overflow-y: auto; + height: 595px; +} +.csf-modal-content .csf-shortcode-button { + display: none; +} +.csf-modal-content .csf-field { + padding: 15px 30px 15px 15px; +} +.csf-modal-content a:active, .csf-modal-content a:focus { + outline: none; + -moz-box-shadow: none; + -webkit-box-shadow: none; + box-shadow: none; +} +.csf-modal-content h4 { + font-size: 13px; +} +.csf-modal-content h4 small { + font-style: italic; + font-weight: 400; + color: #aaa; +} + +.csf-modal-title { + position: relative; + background-color: #fcfcfc; + border-bottom: 1px solid #ddd; + height: 36px; + font-size: 16px; + font-weight: 600; + line-height: 36px; + margin: 0; + padding: 0 36px 0 16px; +} + +.csf-modal-header { + width: 100%; + padding: 14px 0; + background-color: #f5f5f5; + border-bottom: 1px solid #eee; +} +.csf-modal-header select { + display: block; + width: 250px; + margin: 0 auto; + font-size: 13px; + line-height: 1; + height: 30px; + min-height: 30px; + background-color: #fff; +} + +.csf-modal-close { + color: #666; + padding: 0; + position: absolute; + top: 0; + right: 0; + width: 36px; + height: 36px; + text-align: center; + background: none; + border: none; + cursor: pointer; +} +.csf-modal-close:before { + font: normal 20px/36px dashicons; + content: "\f158"; + vertical-align: top; + width: 36px; + height: 36px; +} +.csf-modal-close:hover { + opacity: 0.5; +} + +.csf-modal-insert-wrapper { + text-align: center; + width: 100%; + padding: 15px 0; + background-color: #f5f5f5; + border-top: 1px solid #eee; +} + +.csf-modal-overlay { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + background-color: #000; + opacity: 0.5; +} + +/** + * 08. 01. Shortcode Modal + */ +.csf--repeatable { + padding: 15px 15px 0 15px; +} + +.csf--repeat-button-block { + text-align: center; + padding-bottom: 15px; +} + +.csf--repeat-shortcode { + position: relative; + margin-bottom: 15px; + border: 1px dashed #ddd; +} +.csf--repeat-shortcode:first-child .csf-repeat-remove { + display: none; +} +.csf--repeat-shortcode .csf-repeat-remove { + position: absolute; + right: 10px; + top: 10px; + z-index: 10; + cursor: pointer; + display: inline-block; + font-size: 11px; + width: 18px; + height: 18px; + line-height: 18px; + text-align: center; + border-radius: 2px; + color: #fff; + background-color: #e14d43; + opacity: 0.5; +} +.csf--repeat-shortcode .csf-repeat-remove:hover { + opacity: 1; +} + +.csf-shortcode-single .csf-modal-inner { + height: 750px; +} +.csf-shortcode-single .csf-modal-content { + height: 652px; +} + +.elementor-editor-active .csf-shortcode-button { + margin-left: 5px; +} +.elementor-editor-active .csf-modal .hidden { + display: none !important; +} + +/** + * 08. 02. Gutenberg Modal + */ +.csf-shortcode-block { + text-align: center; + padding: 14px; + font-size: 13px; + background-color: #f5f5f5; + font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif; +} + +.csf-shortcode-block .button { + margin: 10px 0; +} + +/** + * 08. 03. Icon Modal + */ +.csf-modal-icon .csf-icon-title { + padding: 15px 0; + margin: 4px; + font-size: 14px; + font-weight: bold; + text-align: center; + border: 1px solid #eee; + background-color: #f7f7f7; +} +.csf-modal-icon .csf-icon-search { + width: 50%; + height: 40px; + line-height: 40px; +} +.csf-modal-icon i { + cursor: pointer; + display: inline-block; + margin: 4px; + width: 35px; + height: 35px; + line-height: 35px; + font-size: 16px; + color: #555; + text-align: center; + border: 1px solid #ccc; + background-color: #f7f7f7; + -moz-border-radius: 2px; + -webkit-border-radius: 2px; + border-radius: 2px; + -moz-box-shadow: 1px 1px 0 rgba(0, 0, 0, 0.05); + -webkit-box-shadow: 1px 1px 0 rgba(0, 0, 0, 0.05); + box-shadow: 1px 1px 0 rgba(0, 0, 0, 0.05); +} +.csf-modal-icon i:hover { + color: #fff; + border-color: #222; + background-color: #222; +} +.csf-modal-icon .csf-modal-content { + padding: 10px; + height: 618px; +} +.csf-modal-icon .csf-text-error { + padding: 10px; +} + +.csf-modal-loading { + display: none; + position: absolute; + left: 15px; + top: 15px; +} + +.csf-loading { + position: relative; + width: 20px; + height: 20px; + background: #ccc; + -moz-border-radius: 20px; + -webkit-border-radius: 20px; + border-radius: 20px; + -moz-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.07); + -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.07); + box-shadow: 0 2px 5px rgba(0, 0, 0, 0.07); +} +.csf-loading:after { + position: absolute; + top: 50%; + left: 50%; + width: 4px; + height: 4px; + content: ""; + margin-top: -2px; + margin-left: -2px; + background-color: white; + -moz-animation-duration: 0.5s; + -webkit-animation-duration: 0.5s; + animation-duration: 0.5s; + -moz-animation-iteration-count: infinite; + -webkit-animation-iteration-count: infinite; + animation-iteration-count: infinite; + -moz-animation-timing-function: linear; + -webkit-animation-timing-function: linear; + animation-timing-function: linear; + -moz-animation-name: csfLoader; + -webkit-animation-name: csfLoader; + animation-name: csfLoader; + -moz-border-radius: 4px; + -webkit-border-radius: 4px; + border-radius: 4px; +} + +@-moz-keyframes csfLoader { + 0% { + -moz-transform: rotate(0deg) translateX(-6px) rotate(0deg); + transform: rotate(0deg) translateX(-6px) rotate(0deg); + } + 100% { + -moz-transform: rotate(360deg) translateX(-6px) rotate(-360deg); + transform: rotate(360deg) translateX(-6px) rotate(-360deg); + } +} +@-webkit-keyframes csfLoader { + 0% { + -webkit-transform: rotate(0deg) translateX(-6px) rotate(0deg); + transform: rotate(0deg) translateX(-6px) rotate(0deg); + } + 100% { + -webkit-transform: rotate(360deg) translateX(-6px) rotate(-360deg); + transform: rotate(360deg) translateX(-6px) rotate(-360deg); + } +} +@keyframes csfLoader { + 0% { + -moz-transform: rotate(0deg) translateX(-6px) rotate(0deg); + -ms-transform: rotate(0deg) translateX(-6px) rotate(0deg); + -webkit-transform: rotate(0deg) translateX(-6px) rotate(0deg); + transform: rotate(0deg) translateX(-6px) rotate(0deg); + } + 100% { + -moz-transform: rotate(360deg) translateX(-6px) rotate(-360deg); + -ms-transform: rotate(360deg) translateX(-6px) rotate(-360deg); + -webkit-transform: rotate(360deg) translateX(-6px) rotate(-360deg); + transform: rotate(360deg) translateX(-6px) rotate(-360deg); + } +} +/** + * 08. Helper + */ +.csf-text-subtitle { + margin-top: 10px; + font-weight: 400; + color: #999; +} + +.csf-text-desc { + clear: both; + float: left; + width: 100%; + margin-top: 10px; + font-weight: 400; + color: #999; +} + +.csf-text-success { + color: #2b542c; +} + +.csf-text-error { + margin-top: 5px; + color: #d02c21; +} + +.csf-text-info { + color: #31708f; +} + +.csf-text-warning { + color: #ffb900; +} + +.csf-text-muted { + color: #aaa; +} + +.csf-text-left { + text-align: left; +} + +.csf-text-center { + text-align: center; +} + +.csf-text-right { + text-align: right; +} + +.csf-block-left { + float: left; +} + +.csf-block-right { + float: right; +} + +.csf-full-width { + width: 100%; +} + +.csf-full-half { + width: 50%; +} + +.csf-table { + width: 100%; + display: table; +} + +.csf-table-cell { + display: table-cell; + vertical-align: middle; +} + +.csf-table-expanded { + width: 100%; +} + +.csf-nowrap { + white-space: nowrap; +} + +.csf-text-highlight { + padding: 2px 4px; + font-size: 90%; + color: #c7254e; + background-color: #f9f2f4; + -moz-border-radius: 2px; + -webkit-border-radius: 2px; + border-radius: 2px; +} + +.csf-text-highlight-gray { + padding: 2px 4px; + font-size: 90%; + background-color: #f0f0f0; + -moz-border-radius: 2px; + -webkit-border-radius: 2px; + border-radius: 2px; +} + +.csf-hidden { + display: none; +} + +.csf-hide { + display: none !important; +} + +.csf-show { + display: block !important; +} + +.csf-opacity { + opacity: 0.5; +} + +.csf-warning-primary { + color: #fff !important; + border-color: #dc3545 !important; + background: #dc3545 !important; +} +.csf-warning-primary:hover, .csf-warning-primary:focus { + border-color: #bd2130 !important; + background: #bd2130 !important; +} +.csf-warning-primary:focus { + box-shadow: 0 0 0 1px #fff, 0 0 0 3px #bd2130 !important; +} +.csf-warning-primary:active { + border-color: #bd2130 !important; + background: #bd2130 !important; +} + +.csf-form-result { + display: none; + float: left; + padding: 0 8px; + margin-right: 4px; + font-size: 11px; + line-height: 28px; + user-select: none; + border-radius: 2px; +} + +.csf-form-show { + display: block; +} + +.csf-form-success { + color: #fff; + background-color: #46b450; +} + +.csf-form-warning { + color: #8a6d3b; + background-color: #faebcc; +} + +.csf-label-error { + position: relative; + top: -2px; + display: inline-block; + font-size: 10px; + line-height: 10px; + height: 10px; + width: 10px; + padding: 1px; + font-style: normal; + text-align: center; + color: #fff; + vertical-align: middle; + background-color: #e10000; + -moz-border-radius: 2px; + -webkit-border-radius: 2px; + border-radius: 2px; +} + +.csf-no-option { + padding: 30px; +} + +.csf-input-number { + -moz-appearance: textfield; +} + +.csf-input-number::-webkit-inner-spin-button, +.csf-input-number::-webkit-outer-spin-button { + -webkit-appearance: none; + margin: 0; +} + +/** + * 10. Welcome Page + */ +.csf-welcome-wrap { + position: relative; + margin: 25px 40px 0 20px; + font-size: 15px; + max-width: 1200px; +} +.csf-welcome-wrap p { + font-size: 14px; + line-height: 1.5; +} +.csf-welcome-wrap h1 { + margin: 0.2em 200px 0 0; + padding: 0; + color: #32373c; + line-height: 1.2em; + font-size: 2.8em; + font-weight: 400; +} +.csf-welcome-wrap .csf-logo { + position: absolute; + overflow: hidden; + top: 0; + right: 0; + height: 160px; + width: 140px; + background-image: linear-gradient(45deg, #2d67cb, #ad19f3); + box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25), inset 0 0 0 4px rgba(0, 0, 0, 0.25); +} +.csf-welcome-wrap .csf-logo .csf--effects i { + position: absolute; + width: 200px; + height: 100px; + background-color: rgba(0, 0, 0, 0.15); + transform: rotate(-45deg); +} +.csf-welcome-wrap .csf-logo .csf--effects i:nth-child(1) { + bottom: -20px; + right: -70px; +} +.csf-welcome-wrap .csf-logo .csf--effects i:nth-child(2) { + bottom: -35px; + right: -80px; +} +.csf-welcome-wrap .csf-logo .csf--effects i:nth-child(3) { + bottom: -50px; + right: -90px; +} +.csf-welcome-wrap .csf-logo .csf--effects i:nth-child(4) { + bottom: -65px; + right: -100px; +} +.csf-welcome-wrap .csf-logo .csf--wp-logos { + position: relative; + padding-top: 25px; + text-align: center; +} +.csf-welcome-wrap .csf-logo .csf--wp-logo { + position: absolute; + left: 20px; + width: 20px; + height: 20px; + background-repeat: no-repeat; + background-position: center center; + background-image: url(../images/wp-logo.svg); +} +.csf-welcome-wrap .csf-logo .csf--wp-plugin-logo { + display: inline-block; + width: 50px; + height: 50px; + border: 3px solid #fff; + background-size: 40px; + background-repeat: no-repeat; + background-position: center center; + background-image: url(../images/wp-plugin-logo.svg); + border-radius: 100%; + vertical-align: middle; +} +.csf-welcome-wrap .csf-logo .csf--text { + position: absolute; + left: 0; + right: 0; + top: 90px; + color: #fff; + font-size: 13px; + line-height: 1.2em; + font-weight: 600; + text-align: center; + text-transform: uppercase; + text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.25); +} +.csf-welcome-wrap .csf-logo .csf--version { + top: auto; + left: auto; + right: 8px; + bottom: 4px; + font-size: 11px; + text-transform: lowercase; +} +.csf-welcome-wrap .csf-about-text { + font-weight: 400; + line-height: 1.6em; + font-size: 19px; + margin: 1em 200px 1em 0; + color: #555d66; +} +.csf-welcome-wrap .csf-demo-button { + margin: 1em 200px 2em 0; +} +.csf-welcome-wrap .nav-tab-wrapper { + margin-bottom: 20px; +} +.csf-welcome-wrap ul { + list-style-type: disc; + padding-left: 15px; +} +.csf-welcome-wrap .csf--col { + float: left; + padding-right: 20px; + box-sizing: border-box; +} +.csf-welcome-wrap .csf--col-2 { + width: 50%; +} +.csf-welcome-wrap .csf--col-3 { + width: 33.333%; +} +.csf-welcome-wrap .csf--col-4 { + width: 25%; +} +.csf-welcome-wrap .csf--col-5 { + width: 20%; +} +.csf-welcome-wrap .csf--col-last { + padding-right: 0; +} +.csf-welcome-wrap .csf--col-upgrade { + padding: 10px 0; + text-align: center; + border-top: 1px solid #e5e5e5; +} + +.csf--table-compare thead td, +.csf--table-compare tfoot td { + text-align: center; +} +.csf--table-compare td { + font-size: 14px; + text-align: center; + vertical-align: middle; + padding: 10px; +} +.csf--table-compare td:first-child { + text-align: left; +} +.csf--table-compare tfoot td { + padding: 15px 0; +} +.csf--table-compare .fa { + font-size: 18px; +} +.csf--table-compare .fa-check-circle { + color: #46b450; +} +.csf--table-compare .fa-times-circle { + color: #dc3232; +} + +.csf-welcome-cols { + clear: both; + margin: 20px 0; + background-color: #fff; + padding: 0 0; + border-radius: 2px; + border: 1px solid #e5e5e5; +} +.csf-welcome-cols .csf--col { + width: 25%; + float: left; + padding: 20px; + text-align: center; + box-sizing: border-box; + min-height: 200px; + border-right: 1px solid #e5e5e5; +} +.csf-welcome-cols .csf--left, +.csf-welcome-cols .csf--block { + float: left; + width: 20%; + padding: 0 30px; + text-align: center; + box-sizing: border-box; +} +.csf-welcome-cols .csf--block { + width: 80%; +} +.csf-welcome-cols .csf--col-first { + border-bottom: 1px solid #e5e5e5; +} +.csf-welcome-cols .csf--last { + border-right: none; +} +.csf-welcome-cols .csf--space { + height: 20px; +} +.csf-welcome-cols .csf--icon { + display: inline-block; + font-size: 20px; + width: 30px; + height: 30px; + line-height: 30px; + text-align: center; + margin-bottom: 10px; + color: #fff; + background-color: #555; + border-radius: 30px; +} +.csf-welcome-cols .csf--active { + background-color: #5cb85c; +} +.csf-welcome-cols .csf--deactive { + background-color: #e14d43; +} +.csf-welcome-cols .csf--title { + font-weight: bold; + display: block; +} +.csf-welcome-cols p:last-child { + margin-bottom: 0; +} + +.csf-features-cols .csf--key-features { + width: 30%; +} +.csf-features-cols .csf--available-fields { + width: 70%; +} + +.csf-code-block { + margin: 20px 0; + padding: 5px 20px; + background-color: #fff; + border-radius: 2px; + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15); +} +.csf-code-block pre { + font-size: 13px; + color: #0073aa; +} +.csf-code-block pre span { + color: #999; +} + +.csf--table-fields td { + font-size: 14px; +} + +.csf--upgrade a { + color: #5cb85c; + font-weight: bold; +} +.csf--upgrade a:focus, .csf--upgrade a:hover { + color: #4aa14a; + outline: none; + box-shadow: none; +} + +@media only screen and (max-width: 782px) { + .csf-welcome-cols .csf--col { + width: 100%; + min-height: auto; + border-right: none; + border-bottom: 1px solid #e5e5e5; + } + + .csf-features-cols .csf--key-features { + width: 100%; + } + .csf-features-cols .csf--available-fields { + width: 100%; + } +} +/** + * 11. Responsive + */ +@media only screen and (max-width: 1200px) { + .csf-metabox .csf-field .csf-title { + float: none; + width: 100%; + margin-bottom: 10px; + } + .csf-metabox .csf-field .csf-fieldset { + float: none; + width: 100%; + } +} +@media only screen and (max-width: 782px) { + .csf-header-inner { + text-align: center; + } + .csf-header-inner h1 { + width: 100%; + margin-bottom: 10px; + } + + .csf-form-result { + float: none; + margin-right: 0; + margin-bottom: 10px; + } + + .csf-search, + .csf-header-right, + .csf-header-left { + width: 100%; + } + + .csf-search { + text-align: center; + margin-bottom: 15px; + } + + .csf-footer { + text-align: center; + } + + .csf-buttons { + float: none; + } + + .csf-copyright { + float: none; + margin-top: 10px; + } + + .csf-nav, + .csf-expand-all, + .csf-reset-section, + .csf-nav-background { + display: none !important; + } + + .csf-content { + margin-left: 0; + } + + .csf-section-title, + .csf-section { + display: block !important; + } + + .csf-field .csf-title { + float: none; + width: 100%; + margin-bottom: 10px; + } + .csf-field .csf-fieldset { + float: none; + width: 100%; + } + + .csf-field-color .button.wp-picker-clear { + padding: 0 8px; + line-height: 2.14285714; + min-height: 32px; + } + + .csf-modal-inner { + width: 350px; + height: 400px; + } + + .csf-modal-content { + height: 237px; + } + + .csf-icon-dialog .csf-modal-inner { + width: 305px; + height: 380px; + } + .csf-icon-dialog .csf-modal-content { + height: 267px; + } + + .csf-modal-icon .csf-modal-inner { + width: 330px; + height: 385px; + } + .csf-modal-icon .csf-modal-content { + height: 252px; + } + + .csf-profile > .csf-field > .csf-title, + .csf-taxonomy-edit-fields > .csf-field > .csf-title { + float: none; + width: 100%; + margin-bottom: 10px; + } + .csf-profile > .csf-field > .csf-fieldset, + .csf-taxonomy-edit-fields > .csf-field > .csf-fieldset { + float: none; + width: 100%; + } +} +/** + * Chosen JS Styles + */ +.chosen-container { + position: relative; + display: inline-block; + vertical-align: middle; + font-size: 13px; + user-select: none; +} + +.chosen-container * { + box-sizing: border-box; +} + +.chosen-container .chosen-drop { + position: absolute; + top: 100%; + z-index: 1010; + width: 100%; + border: 1px solid #aaa; + border-top: 0; + background: #fff; + box-shadow: 0 4px 5px rgba(0, 0, 0, 0.15); + clip: rect(0, 0, 0, 0); + clip-path: inset(100% 100%); +} + +.chosen-container.chosen-with-drop .chosen-drop { + clip: auto; + clip-path: none; +} + +.chosen-container a { + cursor: pointer; +} + +.chosen-container .search-choice .group-name, .chosen-container .chosen-single .group-name { + margin-right: 4px; + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; + font-weight: normal; + color: #999999; +} + +.chosen-container .search-choice .group-name:after, .chosen-container .chosen-single .group-name:after { + content: ":"; + padding-left: 2px; + vertical-align: top; +} + +.chosen-container-single .chosen-single { + position: relative; + display: block; + overflow: hidden; + padding: 0 0 0 8px; + height: 25px; + border: 1px solid #aaa; + border-radius: 5px; + background-color: #fff; + background: linear-gradient(#ffffff 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%); + background-clip: padding-box; + box-shadow: 0 0 3px #fff inset, 0 1px 1px rgba(0, 0, 0, 0.1); + color: #444; + text-decoration: none; + white-space: nowrap; + line-height: 24px; +} + +.chosen-container-single .chosen-default { + color: #999; +} + +.chosen-container-single .chosen-single span { + display: block; + overflow: hidden; + margin-right: 26px; + text-overflow: ellipsis; + white-space: nowrap; +} + +.chosen-container-single .chosen-single-with-deselect span { + margin-right: 38px; +} + +.chosen-container-single .chosen-single abbr { + position: absolute; + top: 6px; + right: 26px; + display: block; + width: 12px; + height: 12px; + font-size: 1px; +} + +.chosen-container-single .chosen-single div { + position: absolute; + top: 0; + right: 0; + display: block; + width: 18px; + height: 100%; +} + +.chosen-container-single .chosen-single div b { + display: block; + width: 100%; + height: 100%; +} + +.chosen-container-single .chosen-search { + position: relative; + z-index: 1010; + margin: 0; + padding: 3px 4px; + white-space: nowrap; +} + +.chosen-container-single .chosen-search input[type="text"] { + margin: 1px 0; + padding: 4px 20px 4px 5px; + width: 100%; + height: auto; + outline: 0; + border: 1px solid #aaa; + font-size: 1em; + font-family: sans-serif; + line-height: normal; + border-radius: 0; +} + +.chosen-container-single .chosen-drop { + margin-top: -1px; + border-radius: 0 0 4px 4px; + background-clip: padding-box; +} + +.chosen-container-single.chosen-container-single-nosearch .chosen-search { + position: absolute; + clip: rect(0, 0, 0, 0); + clip-path: inset(100% 100%); +} + +.chosen-container .chosen-results { + color: #444; + position: relative; + overflow-x: hidden; + overflow-y: auto; + margin: 0 4px 4px 0; + padding: 0 0 0 4px; + max-height: 240px; + -webkit-overflow-scrolling: touch; +} + +.chosen-container .chosen-results li { + display: none; + margin: 0; + padding: 5px 6px; + list-style: none; + line-height: 15px; + word-wrap: break-word; + -webkit-touch-callout: none; +} + +.chosen-container .chosen-results li.active-result { + display: list-item; + cursor: pointer; +} + +.chosen-container .chosen-results li.disabled-result { + display: list-item; + color: #ccc; + cursor: default; +} + +.chosen-container .chosen-results li.highlighted { + background-color: #3875d7; + background-image: linear-gradient(#3875d7 20%, #2a62bc 90%); + color: #fff; +} + +.chosen-container .chosen-results li.no-results { + color: #777; + display: list-item; + background: #f4f4f4; +} + +.chosen-container .chosen-results li.group-result { + display: list-item; + font-weight: bold; + cursor: default; +} + +.chosen-container .chosen-results li.group-option { + padding-left: 15px; +} + +.chosen-container .chosen-results li em { + font-style: normal; + text-decoration: underline; +} + +.chosen-container-multi .chosen-choices { + position: relative; + overflow: hidden; + margin: 0; + padding: 0 5px; + width: 100%; + height: auto; + border: 1px solid #aaa; + background-color: #fff; + background-image: linear-gradient(#eeeeee 1%, #ffffff 15%); + cursor: text; +} + +.chosen-container-multi .chosen-choices li { + float: left; + list-style: none; +} + +.chosen-container-multi .chosen-choices li.search-field { + margin: 0; + padding: 0; + white-space: nowrap; +} + +.chosen-container-multi .chosen-choices li.search-field input[type="text"] { + margin: 1px 0; + padding: 0; + outline: 0; + border: 0 !important; + background: transparent !important; + box-shadow: none; + color: #999; + font-size: 100%; + font-family: sans-serif; + line-height: normal; + border-radius: 0; + width: 25px; + height: 25px; + min-height: 25px; +} + +.chosen-container-multi .chosen-choices li.search-choice { + position: relative; + margin: 3px 5px 3px 0; + padding: 3px 20px 3px 6px; + border: 1px solid #aaa; + max-width: 100%; + border-radius: 3px; + background-color: #eeeeee; + background-image: linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%); + background-size: 100% 19px; + background-repeat: repeat-x; + background-clip: padding-box; + box-shadow: 0 0 2px #fff inset, 0 1px 0 rgba(0, 0, 0, 0.05); + color: #333; + line-height: 13px; + cursor: default; +} + +.chosen-container-multi .chosen-choices li.search-choice span { + word-wrap: break-word; + white-space: nowrap; +} + +.chosen-container-multi .chosen-choices li.search-choice .search-choice-close { + position: absolute; + top: 0; + right: 0; + display: block; + width: 12px; + height: 12px; + font-size: 1px; +} + +.chosen-container-multi .chosen-choices li.search-choice-disabled { + padding-right: 5px; + border: 1px solid #ccc; + background-color: #e4e4e4; + background-image: linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%); + color: #666; +} + +.chosen-container-multi .chosen-choices li.search-choice-focus { + background: #d4d4d4; +} + +.chosen-container-multi .chosen-results { + margin: 0; + padding: 0; +} + +.chosen-container-multi .chosen-drop .result-selected { + display: list-item; + color: #ccc; + cursor: default; +} + +.chosen-container-active .chosen-single { + border: 1px solid #5897fb; + box-shadow: 0 0 5px rgba(0, 0, 0, 0.3); +} + +.chosen-container-active.chosen-with-drop .chosen-single { + border: 1px solid #aaa; + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; + background-image: linear-gradient(#eeeeee 20%, #ffffff 80%); + box-shadow: 0 1px 0 #fff inset; +} + +.chosen-container-active.chosen-with-drop .chosen-single div { + border-left: none; + background: transparent; +} + +.chosen-container-active .chosen-choices { + border: 1px solid #5897fb; + box-shadow: 0 0 5px rgba(0, 0, 0, 0.3); +} + +.chosen-container-active .chosen-choices li.search-field input[type="text"] { + color: #222 !important; +} + +.chosen-disabled { + opacity: 0.5 !important; + cursor: default; +} + +.chosen-disabled .chosen-single { + cursor: default; +} + +.chosen-disabled .chosen-choices .search-choice .search-choice-close { + cursor: default; +} + +.chosen-rtl { + text-align: right; +} + +.chosen-rtl .chosen-single { + overflow: visible; + padding: 0 8px 0 0; +} + +.chosen-rtl .chosen-single span { + margin-right: 0; + margin-left: 26px; + direction: rtl; +} + +.chosen-rtl .chosen-single-with-deselect span { + margin-left: 38px; +} + +.chosen-rtl .chosen-single div { + right: auto; + left: 3px; +} + +.chosen-rtl .chosen-single abbr { + right: auto; + left: 26px; +} + +.chosen-rtl .chosen-choices li { + float: right; +} + +.chosen-rtl .chosen-choices li.search-field input[type="text"] { + direction: rtl; +} + +.chosen-rtl .chosen-choices li.search-choice { + margin: 3px 5px 3px 0; + padding: 3px 5px 3px 19px; +} + +.chosen-rtl .chosen-choices li.search-choice .search-choice-close { + right: auto; + left: 4px; +} + +.chosen-rtl.chosen-container-single .chosen-results { + margin: 0 0 4px 4px; + padding: 0 4px 0 0; +} + +.chosen-rtl .chosen-results li.group-option { + padding-right: 15px; + padding-left: 0; +} + +.chosen-rtl.chosen-container-active.chosen-with-drop .chosen-single div { + border-right: none; +} + +.chosen-rtl .chosen-search input[type="text"] { + padding: 4px 5px 4px 20px; + direction: rtl; +} diff --git a/assets/css/csf.min.css b/assets/css/csf.min.css new file mode 100644 index 0000000..212a052 --- /dev/null +++ b/assets/css/csf.min.css @@ -0,0 +1 @@ +.csf{position:relative}.csf label{padding:0;margin:0;display:inline-block}.csf-ab-icon{top:2px}#screen-meta-links+.csf-options{margin-top:40px}.csf-options{margin-top:20px;margin-right:20px}.csf-header{position:relative}.csf-header-inner{padding:25px}.csf-header-inner h1{float:left;font-size:1.5em;line-height:26px;font-weight:400;margin:0}.csf-header-inner h1 small{font-size:11px;font-weight:500}.csf-sticky .csf-header-inner{position:fixed;z-index:99999;top:32px;-moz-box-shadow:0 5px 25px rgba(0,0,0,.125);-webkit-box-shadow:0 5px 25px rgba(0,0,0,.125);box-shadow:0 5px 25px rgba(0,0,0,.125)}.csf-buttons{float:right;-moz-transition:opacity .2s;-o-transition:opacity .2s;-webkit-transition:opacity .2s;transition:opacity .2s}.csf-buttons .button{margin:0 2px;line-height:26px}.csf-buttons .button:focus{outline:0!important;box-shadow:none!important}.csf-buttons .csf-save{min-width:72px}.csf-header-left{float:left}.csf-header-right{float:right}.csf-nav{display:block;position:relative;z-index:10;float:left;width:225px}.csf-nav ul{clear:left;margin:0;list-style-type:none}.csf-nav ul li{margin-bottom:0}.csf-nav ul li a{font-size:13px;position:relative;display:block;padding:14px 12px;text-decoration:none;-moz-transition:all .3s ease;-o-transition:all .3s ease;-webkit-transition:all .3s ease;transition:all .3s ease}.csf-nav ul li a:focus{outline:0;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none}.csf-nav ul li .csf-section-active:after{content:" ";position:absolute;right:0;top:50%;height:0;width:0;pointer-events:none;border:solid transparent;border-right-color:#fff;border-width:4px;margin-top:-4px}.csf-nav ul li .csf-arrow:after{content:"\f054";display:inline-block;font-family:"Font Awesome 5 Pro","Font Awesome 5 Free",FontAwesome;font-weight:900;font-size:9px;line-height:1;position:absolute;right:10px;top:50%;margin-top:-4px;-moz-transform:rotate(0);-ms-transform:rotate(0);-webkit-transform:rotate(0);transform:rotate(0)}.csf-nav ul li.csf-tab-active .csf-arrow:after{-moz-transform:rotate(90deg);-ms-transform:rotate(90deg);-webkit-transform:rotate(90deg);transform:rotate(90deg)}.csf-nav ul li.csf-tab-active ul{display:block}.csf-nav ul ul{display:none;position:relative}.csf-nav ul ul li a{font-size:12px;padding:12px 14px 12px 24px}.csf-nav .csf-tab-icon{width:20px;margin-right:5px;font-size:13px;text-align:center}.csf-nav .csf-label-error{margin-left:4px;vertical-align:top}.csf-nav-background{position:absolute;top:0;left:0;bottom:0;z-index:9;width:225px}.csf-wrapper{position:relative}.csf-content{position:relative;margin-left:225px;background-color:#fff;-moz-transition:opacity .2s;-o-transition:opacity .2s;-webkit-transition:opacity .2s;transition:opacity .2s}.csf-sections{float:left;width:100%}.csf-section{display:none}.csf-section-title{display:none;padding:20px 30px;background-color:#f5f5f5;border-top:1px solid #eee;border-bottom:1px solid #eee}.csf-section-title h3{margin:0;padding:0;font-size:13px;font-weight:700;text-transform:uppercase}.csf-section-title .csf-section-icon{margin-right:5px}.csf-footer{padding:20px;font-size:11px}.csf-copyright{float:left;margin-top:5px}.csf-search-all .csf-nav,.csf-search-all .csf-nav-background,.csf-show-all .csf-nav,.csf-show-all .csf-nav-background{display:none}.csf-search-all .csf-content,.csf-show-all .csf-content{margin-left:0}.csf-search-all .csf-section,.csf-search-all .csf-section-title,.csf-show-all .csf-section,.csf-show-all .csf-section-title{display:block!important}.csf-search-all .csf-section-title{display:none!important}.csf-expand-all{float:left;padding:0 8px;margin-right:4px;z-index:1;font-size:13px;line-height:30px;cursor:pointer;user-select:none;-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px;-moz-transition:all .2s;-o-transition:all .2s;-webkit-transition:all .2s;transition:all .2s}.csf-expand-all span{font-size:11px;vertical-align:middle}.csf-search{float:left}.csf-search input{margin:0 2px 0 0;border:none;font-size:12px;line-height:30px;min-height:30px;text-align:inherit;padding:0 10px;-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none}.csf-search input:focus{-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none}.csf-saving .csf-buttons,.csf-saving .csf-content{cursor:default;pointer-events:none;opacity:.5}.csf-metabox{margin:-6px -12px -12px -12px}.csf-metabox .csf-section-title{padding:20px}.block-editor-page .csf-metabox{margin:-6px -14px -14px -14px}.block-editor-editor-skeleton__content .csf-metabox{border-left:1px solid #e2e4e7;border-right:1px solid #e2e4e7}.csf-restore-wrapper{position:relative;z-index:1000000;text-align:right;padding:10px;border-top:1px solid #eee}.csf-restore-wrapper .csf-button-cancel,.csf-restore-wrapper input{display:none}.csf-restore-wrapper span{-webkit-user-select:none;user-select:none}.csf-restore-wrapper input:checked~.csf-button-restore{display:none}.csf-restore-wrapper input:checked~.csf-button-cancel{display:inline-block}#side-sortables .csf-section-title{padding:12px}#side-sortables .csf-field{padding:12px}#side-sortables .csf-field .csf-title{float:none;width:100%;margin-bottom:10px}#side-sortables .csf-field .csf-fieldset{float:none;width:100%}#side-sortables .csf-notice{padding:12px}.csf-comment-metabox{margin:-6px -12px -12px -12px}.csf-comment-metabox .csf-section-title{padding:20px}.csf-tooltip{position:absolute;z-index:5000001;font-size:12px;line-height:1.4;text-align:center;text-decoration:none;padding:6px 12px;max-width:200px;color:#fff;background-color:#000;background-color:rgba(0,0,0,.85);-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px}.csf-theme-dark .csf-header-inner{background-color:#050505}.csf-theme-dark .csf-header-inner h1{color:#fff}.csf-theme-dark .csf-header-inner h1 small{color:#555}.csf-theme-dark .csf-expand-all{color:#999;background-color:#222}.csf-theme-dark .csf-expand-all:hover{color:#fff;background-color:#333}.csf-theme-dark .csf-search input{color:#fff;background-color:#222}.csf-theme-dark .csf-search:focus{background-color:#444}.csf-theme-dark .csf-search::-webkit-input-placeholder{color:#666}.csf-theme-dark .csf-nav ul li a{color:#999;background-color:#222;border-bottom:1px solid #2f2f2f}.csf-theme-dark .csf-nav ul li a:hover{color:#fff}.csf-theme-dark .csf-nav ul li .csf-section-active{color:#fff;background-color:#111}.csf-theme-dark .csf-nav ul ul li a{background-color:#191919;border-bottom:1px solid #2f2f2f}.csf-theme-dark .csf-nav ul ul li .csf-section-active{background-color:#101010}.csf-theme-dark .csf-nav ul ul:before{background-color:rgba(34,34,34,.75)}.csf-theme-dark .csf-nav>ul>li:last-child>a{border-bottom:none}.csf-theme-dark .csf-nav-background{background-color:#222}.csf-theme-dark .csf-footer{color:#555;background-color:#050505}.csf-theme-light .csf-container{border:1px solid #e5e5e5;-moz-box-shadow:0 0 15px rgba(0,0,0,.04);-webkit-box-shadow:0 0 15px rgba(0,0,0,.04);box-shadow:0 0 15px rgba(0,0,0,.04)}.csf-theme-light .csf-header-inner{border-bottom:1px solid #e5e5e5;background-color:#f5f5f5;background:linear-gradient(#fefefe,#f5f5f5)}.csf-theme-light .csf-header-inner h1 small{color:#999}.csf-theme-light .csf-expand-all{color:#999;background-color:#fff;-moz-box-shadow:0 1px 1px rgba(0,0,0,.05);-webkit-box-shadow:0 1px 1px rgba(0,0,0,.05);box-shadow:0 1px 1px rgba(0,0,0,.05)}.csf-theme-light .csf-expand-all:hover{color:#555}.csf-theme-light .csf-search input{color:#555;background-color:#fff;-moz-box-shadow:0 1px 1px rgba(0,0,0,.05);-webkit-box-shadow:0 1px 1px rgba(0,0,0,.05);box-shadow:0 1px 1px rgba(0,0,0,.05)}.csf-theme-light .csf-search input::-webkit-input-placeholder{color:#bbb}.csf-theme-light .csf-nav ul li a{color:#666;background-color:#f5f5f5;border-bottom:1px solid #e5e5e5}.csf-theme-light .csf-nav ul li a:hover{color:#222}.csf-theme-light .csf-nav ul li .csf-section-active{color:#222;background-color:#fff}.csf-theme-light .csf-nav ul li .csf-section-active:after{display:none}.csf-theme-light .csf-nav ul ul li a{background-color:#eee;border-bottom:1px solid #e5e5e5}.csf-theme-light .csf-nav>ul>li:last-child>a{border-bottom:none}.csf-theme-light .csf-nav-background{background-color:#f5f5f5}.csf-theme-light .csf-footer{color:#555;border-top:1px solid #e5e5e5;background-color:#f5f5f5;background:linear-gradient(#fafafa,#f5f5f5)}.csf-field{position:relative;padding:30px}.csf-field+.csf-field:not(.hidden){border-top:1px solid #eee}.csf-field p:first-child{margin-top:0}.csf-field p:last-child{margin-bottom:0}.csf-field:after,.csf-field:before{content:" ";display:table}.csf-field:after{clear:both}.csf-field h4{margin-top:0}.csf-field .csf-title{position:relative;width:20%;float:left}.csf-field .csf-title h4{margin:0;color:#23282d}.csf-field .csf-fieldset{float:right;width:calc(80% - 20px)}.csf-pseudo-field{padding:0 5px 0 0!important;display:inline-block}.csf-pseudo-field+.csf-pseudo-field{border:0}.csf-pseudo-field pre{display:none}.csf-field-accordion .csf-accordion-item{position:relative;margin-bottom:5px}.csf-field-accordion .csf-accordion-item h4{font-size:1em}.csf-field-accordion .csf-accordion-title{display:block;cursor:pointer;position:relative;margin:0;padding:15px;min-height:0;font-size:100%;user-select:none;border:1px solid #ccd0d4;background-color:#fafafa;box-shadow:0 1px 1px rgba(0,0,0,.04);transition:border-color .15s}.csf-field-accordion .csf-accordion-title:active,.csf-field-accordion .csf-accordion-title:focus,.csf-field-accordion .csf-accordion-title:hover{outline:0;border-color:#999}.csf-field-accordion .csf-accordion-icon{width:14px;text-align:center}.csf-field-accordion .csf--icon{width:20px;text-align:center;margin-right:2px}.csf-field-accordion .csf-accordion-content{display:none;padding:0;border:1px solid #ccd0d4;border-top:none;background-color:#fff;box-shadow:0 1px 1px rgba(0,0,0,.04)}.csf-field-accordion .csf-accordion-content>.csf-field{padding:15px}.csf-field-accordion .csf-accordion-open{display:block}.csf-field-background .csf-field{border:0!important;padding:0;margin-bottom:6px;margin-right:6px}.csf-field-background .csf--title{color:#777;font-size:12px}.csf-field-background .csf--background-colors{display:flex}.csf-field-background .csf--background-attributes{display:flex;flex-wrap:wrap}.csf-field-background .csf--background-attributes select{min-width:100%;margin:0}.csf-field-background .csf--background-attributes .csf-field{flex:1}.csf-field-background .csf--attributes-hidden{display:none}.csf-field-backup textarea{width:100%;min-height:200px;margin-bottom:5px}.csf-field-backup small{display:inline-block;margin:5px}.csf-field-backup hr{margin:20px 0;border:none;border-bottom:1px solid #e5e5e5}.csf-field-border .csf--inputs,.csf-field-dimensions .csf--inputs,.csf-field-spacing .csf--inputs{float:left;display:flex;flex-wrap:wrap}.csf-field-border .csf--input,.csf-field-dimensions .csf--input,.csf-field-spacing .csf--input{display:flex;padding-right:6px;padding-bottom:4px;box-sizing:border-box}.csf-field-border .csf--input select,.csf-field-dimensions .csf--input select,.csf-field-spacing .csf--input select{margin:0}.csf-field-border .csf--input input,.csf-field-dimensions .csf--input input,.csf-field-spacing .csf--input input{position:relative;z-index:1;margin:0;width:65px;max-width:100%;text-align:center}.csf-field-border .csf--color,.csf-field-dimensions .csf--color,.csf-field-spacing .csf--color{float:left}.csf-field-border .csf--label,.csf-field-dimensions .csf--label,.csf-field-spacing .csf--label{display:flex;flex-direction:column;justify-content:center;user-select:none;min-width:20px;max-width:100%;padding:0 4px;font-size:12px;text-align:center;color:#555;border:1px solid #7b776c;background-color:#f5f5f5}.csf-field-border .csf--icon,.csf-field-dimensions .csf--icon,.csf-field-spacing .csf--icon{border-right:0;border-radius:4px 0 0 4px}.csf-field-border .csf--icon+input,.csf-field-dimensions .csf--icon+input,.csf-field-spacing .csf--icon+input{border-top-left-radius:0;border-bottom-left-radius:0}.csf-field-border .csf--unit,.csf-field-dimensions .csf--unit,.csf-field-spacing .csf--unit{border-left:0;border-radius:0 4px 4px 0}.csf-field-border .csf--is-unit,.csf-field-dimensions .csf--is-unit,.csf-field-spacing .csf--is-unit{border-top-right-radius:0;border-bottom-right-radius:0}.csf-field-button_set .csf--buttons{display:inline-block}.csf-field-button_set .csf--button{position:relative;z-index:1;float:left;cursor:pointer;padding:7px 14px;min-width:40px;text-align:center;color:#555;border:1px solid #ccc;background-color:#f7f7f7;user-select:none;-webkit-user-select:none;box-shadow:0 1px 0 rgba(0,0,0,.1)}.csf-field-button_set .csf--button:first-child{border-radius:4px 0 0 4px}.csf-field-button_set .csf--button:last-child{border-radius:0 4px 4px 0}.csf-field-button_set .csf--button:not(:first-child){margin-left:-1px}.csf-field-button_set .csf--button:hover{background-color:#eee}.csf-field-button_set .csf--active,.csf-field-button_set .csf--active:hover{z-index:2;color:#fff;border-color:#006799;background-color:#0085ba}.csf-field-button_set input{display:none}.csf-field-checkbox ul,.csf-field-radio ul{margin:0;padding:0 1px;list-style-type:none;overflow-y:auto;max-height:305px}.csf-field-checkbox ul ul,.csf-field-radio ul ul{max-height:none}.csf-field-checkbox .csf--inline-list li,.csf-field-radio .csf--inline-list li{display:inline-block;margin-right:15px}.csf-field-checkbox input[type=radio]:checked:before,.csf-field-radio input[type=radio]:checked:before{line-height:10px}.csf-field-checkbox .csf-checker,.csf-field-radio .csf-checker{cursor:pointer}.csf-field-code_editor .CodeMirror{width:100%;height:400px}.csf-field-code_editor .cm-s-default{border:1px solid #ccd0d4}.csf-field-code_editor textarea{width:100%;height:400px}.csf-field-color>input{opacity:.75;width:115px;max-width:100%}.csf-field-color .button.wp-picker-clear{padding:0 8px;margin-left:6px;line-height:2.54545455;min-height:30px}.csf-field-color_group .csf--left{float:left;margin-right:10px;margin-bottom:5px}.csf-field-color_group .csf--title{color:#999;margin-bottom:5px}.csf-field-fieldset .csf-fieldset-content{border:1px solid #ccd0d4;background-color:#fff;box-shadow:0 1px 1px rgba(0,0,0,.04)}.csf-field-fieldset .csf-fieldset-content>.csf-field{padding:15px}.csf-field-fieldset .csf-field-subheading{font-size:13px}.csf-field-date input{margin:0}.csf-field-date .csf--to{margin-left:7px}.csf-datepicker-wrapper{margin-top:5px;width:auto;background-color:#fff;z-index:9999999!important;-moz-box-shadow:0 0 30px rgba(0,0,0,.15);-webkit-box-shadow:0 0 30px rgba(0,0,0,.15);box-shadow:0 0 30px rgba(0,0,0,.15)}.csf-datepicker-wrapper *{float:none;margin:0;padding:0;font-family:inherit;font-weight:400;font-style:normal;text-decoration:none;border:0;border-radius:0;box-shadow:none}.csf-datepicker-wrapper .ui-datepicker-header,.csf-datepicker-wrapper .ui-widget-header{color:#fff;background:#00a0d2}.csf-datepicker-wrapper .ui-datepicker-header .ui-state-hover{cursor:pointer}.csf-datepicker-wrapper .ui-datepicker-title{font-size:14px;line-height:40px;text-align:center}.csf-datepicker-wrapper .ui-datepicker-next,.csf-datepicker-wrapper .ui-datepicker-prev{position:static;top:auto;left:auto;right:auto;font-family:"Font Awesome 5 Pro","Font Awesome 5 Free",FontAwesome;font-weight:900;font-size:12px;text-align:center;width:41px;height:40px;line-height:40px;color:#fff;background-color:rgba(255,255,255,.1);text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.csf-datepicker-wrapper .ui-datepicker-next span,.csf-datepicker-wrapper .ui-datepicker-prev span{display:none}.csf-datepicker-wrapper .ui-datepicker-prev{float:left}.csf-datepicker-wrapper .ui-datepicker-next{float:right}.csf-datepicker-wrapper .ui-datepicker-prev:before{content:'\f053'}.csf-datepicker-wrapper .ui-datepicker-next:before{content:'\f054'}.csf-datepicker-wrapper .ui-datepicker-next-hover,.csf-datepicker-wrapper .ui-datepicker-prev-hover{opacity:.75}.csf-datepicker-wrapper tbody .ui-datepicker-week-col{background-color:#f7f7f7}.csf-datepicker-wrapper .ui-datepicker-buttonpane{padding:10px;text-align:center;background-color:#f7f7f7}.csf-datepicker-wrapper .ui-datepicker-buttonpane button{cursor:pointer;margin:0 5px;padding:7px 14px;border:1px solid #eee;background-color:#fff}.csf-datepicker-wrapper select{margin:0 4px}.csf-datepicker-wrapper select option{color:#555}.csf-datepicker-wrapper table{font-size:13px;border-collapse:collapse;width:100%}.csf-datepicker-wrapper thead{color:#fff;background:#32373c}.csf-datepicker-wrapper th{text-align:center;padding:7px;border:1px solid #444}.csf-datepicker-wrapper td{text-align:center;border:1px solid #f4f4f4}.csf-datepicker-wrapper td.ui-datepicker-other-month{border:transparent}.csf-datepicker-wrapper td .ui-state-default{color:#555;width:auto;display:block;padding:6px 12px}.csf-datepicker-wrapper td .ui-state-active,.csf-datepicker-wrapper td .ui-state-hover{color:#fff;background-color:#0073aa}.csf-datepicker-wrapper td.ui-state-disabled .ui-state-default{opacity:.5}.csf-field-gallery input{display:none}.csf-field-gallery ul{margin:0;padding:0;list-style-type:none}.csf-field-gallery ul li{display:inline-block;position:relative;padding:4px;margin:0 5px 10px 0;border:1px solid #ccc;background-color:#f9f9f9;-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px;-moz-box-shadow:0 1px 0 rgba(0,0,0,.08);-webkit-box-shadow:0 1px 0 rgba(0,0,0,.08);box-shadow:0 1px 0 rgba(0,0,0,.08)}.csf-field-gallery ul li img{max-height:60px;display:inline-block;vertical-align:middle}.csf-field-gallery .button{margin-right:5px;margin-bottom:5px}.csf-field-group .csf-cloneable-hidden{display:none!important}.csf-field-group .csf-cloneable-wrapper{position:relative}.csf-field-group .csf-cloneable-item{display:none;position:relative;margin-bottom:5px}.csf-field-group .csf-cloneable-item h4{font-size:1em}.csf-field-group .ui-accordion .csf-cloneable-item{display:block}.csf-field-group .csf-cloneable-content{border:1px solid #ccd0d4;background-color:#fff;box-shadow:0 1px 1px rgba(0,0,0,.04)}.csf-field-group .csf-cloneable-content>.csf-field{padding:15px}.csf-field-group .csf-cloneable-title{display:block;cursor:pointer;position:relative;user-select:none;margin:0;padding:15px 65px 15px 10px;min-height:0;font-size:100%;border:1px solid #ccd0d4;background-color:#fafafa;box-shadow:0 1px 1px rgba(0,0,0,.04);transition:border-color .15s}.csf-field-group .csf-cloneable-title:active,.csf-field-group .csf-cloneable-title:focus,.csf-field-group .csf-cloneable-title:hover{border-color:#999;outline:0}.csf-field-group .csf-cloneable-helper{position:absolute;top:12px;right:10px;z-index:1;font-size:14px;line-height:1em}.csf-field-group .csf-cloneable-helper i{display:inline-block;cursor:pointer;padding:5px;color:#999}.csf-field-group .csf-cloneable-helper i:hover{color:#555}.csf-field-group .csf-cloneable-content{padding:0;border-top:0}.csf-field-group .csf-cloneable-title-number,.csf-field-group .csf-cloneable-title-prefix{margin-right:5px}.csf-field-group .csf-cloneable-alert{display:none;margin-bottom:5px;padding:10px 20px;color:#a94442;border:1px solid #ebccd1;background-color:#f2dede}.csf-field-group .widget-placeholder{margin-bottom:10px;border:1px dashed #f1c40f;background-color:#fffae4}.csf-field-group .csf-cloneable-header-icon{display:inline-block;text-align:center;font-size:14px;width:17px;text-indent:0;vertical-align:text-top}.csf-field-group .csf-cloneable-placeholder{background-color:#ddd;margin-top:4px;width:100px;height:10px;font-size:10px;line-height:10px;display:inline-block;vertical-align:top;border-radius:2px}.csf-field-icon input{display:none}.csf-field-icon .button{margin-right:5px}.csf-field-icon .csf-icon-preview i{display:inline-block;font-size:16px;width:30px;height:28px;line-height:28px;margin-right:5px;text-align:center;vertical-align:top;color:#555;border:1px solid #ccc;background-color:#f7f7f7;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;-moz-box-shadow:0 1px 0 rgba(0,0,0,.08);-webkit-box-shadow:0 1px 0 rgba(0,0,0,.08);box-shadow:0 1px 0 rgba(0,0,0,.08);-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}.csf-field-image_select .csf--image{cursor:pointer;position:relative;display:inline-block;max-width:100%;margin:0 5px 5px 0;vertical-align:bottom;border:2px solid transparent;background-color:#fff;user-select:none;-webkit-user-select:none;-moz-transition:all .2s;-o-transition:all .2s;-webkit-transition:all .2s;transition:all .2s}.csf-field-image_select .csf--image:before{position:absolute;top:0;left:0;text-align:center;font-size:10px;font-family:"Font Awesome 5 Pro","Font Awesome 5 Free",FontAwesome;font-weight:900;content:"\f00c";width:16px;height:16px;line-height:14px;opacity:0;color:#fff;background-color:#222;transition:opacity .2s}.csf-field-image_select .csf--active{border-color:#222;box-shadow:0 0 20px rgba(0,0,0,.2)}.csf-field-image_select .csf--active:before{opacity:1}.csf-field-image_select img{vertical-align:top}.csf-field-image_select input{display:none}.csf-field-link_color .csf--left{float:left;margin-right:10px;margin-bottom:5px}.csf-field-link_color .csf--title{color:#777;margin-bottom:5px}.csf-field-map input{width:100%}.csf-field-map input[type=text].ui-autocomplete-loading{background-position-x:calc(100% - 5px)}.csf-field-map .csf--map-search+.csf--map-osm-wrap{margin-top:10px}.csf-field-map .csf--map-osm-wrap{position:relative;padding:5px;border:1px solid #eee;background-color:#fff;box-shadow:0 1px 1px rgba(0,0,0,.04)}.csf-field-map .csf--map-osm{position:relative;z-index:1;min-height:250px}.csf-field-map .csf--map-inputs{margin-top:10px;display:flex;justify-content:space-between}.csf-field-map .csf--map-input{flex:1}.csf-field-map .csf--map-input:last-child{padding-left:10px}.csf-field-map label{display:block;color:#777;font-size:12px;margin:0 0 2px 0}.csf-map-ui-autocomplate{z-index:999999;border-radius:4px;overflow:hidden}.csf-field-media .csf--placeholder{display:flex}.csf-field-media .csf--placeholder input{width:100%;margin:0}.csf-field-media .button{margin-left:5px}.csf-field-media .hidden+.button{margin-left:0}.csf-field-media .csf--preview{position:relative}.csf-field-media .csf--preview .fa-times{position:absolute;z-index:1;right:4px;top:4px;font-size:14px;width:22px;height:22px;line-height:22px;text-align:center;text-decoration:none;color:#fff;background-color:#d33;opacity:.8;transition:all .2s}.csf-field-media .csf--preview .fa-times:hover{opacity:1}.csf-field-media .csf--preview .fa-times:focus{box-shadow:none}.csf-field-palette .csf--palette{position:relative;display:inline-block;cursor:pointer;border:2px solid #ddd;margin-right:10px;margin-bottom:10px;user-select:none;-webkit-user-select:none;transition:all .2s}.csf-field-palette .csf--palette span{vertical-align:middle;display:inline-block;width:22px;height:60px;line-height:60px;overflow:hidden;text-indent:-999px}.csf-field-palette .csf--palette:before{position:absolute;top:0;left:0;text-align:center;font-size:10px;font-family:"Font Awesome 5 Pro","Font Awesome 5 Free",FontAwesome;font-weight:900;content:"\f00c";width:16px;height:16px;line-height:14px;opacity:0;color:#fff;background-color:#222;transition:opacity .2s}.csf-field-palette .csf--active{border-color:#222;box-shadow:0 0 20px rgba(0,0,0,.2)}.csf-field-palette .csf--active:before{opacity:1}.csf-field-palette input{display:none}.csf-field-repeater .csf-field-text input{width:100%}.csf-field-repeater .csf-repeater-hidden{display:none!important}.csf-field-repeater .csf-repeater-wrapper .csf-repeater-item{display:table;width:100%;margin-bottom:5px;border:1px solid #eee}.csf-field-repeater .csf-repeater-wrapper .csf-repeater-item h4{font-size:1em}.csf-field-repeater .csf-repeater-content{width:100%;display:table-cell;vertical-align:middle;background-color:#fff}.csf-field-repeater .csf-repeater-content>.csf-field{padding:15px}.csf-field-repeater .csf-repeater-helper{width:100%;display:table-cell;vertical-align:middle;text-align:center;font-size:14px;line-height:1em;border-left:1px solid #eee;background-color:#f7f7f7}.csf-field-repeater .csf-repeater-helper i{display:inline-block;cursor:pointer;color:#999;padding:5px}.csf-field-repeater .csf-repeater-helper i:hover{color:#555}.csf-field-repeater .csf-repeater-helper-inner{width:75px}.csf-field-repeater .csf-repeater-alert{display:none;margin-bottom:5px;padding:10px 20px;color:#a94442;border:1px solid #ebccd1;background-color:#f2dede}.csf-field-repeater .widget-placeholder{height:50px;margin-bottom:3px;border:1px dashed #f1c40f;background-color:#fffae4}.csf-field-repeater .ui-sortable-helper{height:50px!important;overflow:hidden!important;border-color:#ccc!important;background-color:#eee!important;opacity:.5}.csf-field-repeater .ui-sortable-helper .csf-repeater-content,.csf-field-repeater .ui-sortable-helper .csf-repeater-helper{display:none}.csf-field-select .csf-fieldset{min-height:30px}.csf-field-select .csf-chosen{display:none}.csf-field-select select{max-width:100%;margin:0}.csf-field-slider .csf--wrap{display:flex;align-items:center}.csf-field-slider .csf--input{display:flex}.csf-field-slider .csf--unit{display:flex;justify-content:center;flex-direction:column;user-select:none;padding:0 6px;font-size:11px;line-height:1;border-radius:0 4px 4px 0;color:#555;border:1px solid #7e8993;border-left:0;background-color:#f5f5f5}.csf-field-slider .csf-slider-ui{margin-right:15px}.csf-field-slider input[type=number]{position:relative;z-index:1;margin:0;width:50px;text-align:center}.csf-field-slider .csf--is-unit{border-top-right-radius:0;border-bottom-right-radius:0}.csf-field-slider .ui-slider{position:relative;width:100%;height:3px;border:none;background:#ddd;border-radius:2px}.csf-field-slider .ui-slider-range{height:3px;border:none;background:#333;border-radius:2px}.csf-field-slider .ui-slider-handle{position:absolute;width:16px;height:16px;top:-7px;margin-left:-8px;border:none;background:#333;border-radius:2px}.csf-field-slider .ui-slider-handle:hover,.csf-field-slider .ui-state-active{cursor:pointer;background:#111}.csf-field-sortable .csf-field-text input{width:100%;max-width:100%}.csf-field-sortable .csf--sortable .csf--sortable-item{display:table;width:100%;margin-bottom:5px;border:1px solid #eee}.csf-field-sortable .csf--sortable .csf--sortable-item h4{font-size:1em}.csf-field-sortable .csf--sortable-content{width:100%;display:table-cell;vertical-align:middle;background-color:#fff}.csf-field-sortable .csf--sortable-content>.csf-field{padding:15px}.csf-field-sortable .csf--sortable-helper{width:100%;display:table-cell;vertical-align:middle;text-align:center;font-size:14px;line-height:1em;border-left:1px solid #eee;background-color:#f7f7f7}.csf-field-sortable .csf--sortable-helper i{display:inline-block;cursor:pointer;width:50px;color:#555}.csf-field-sortable .csf--sortable-helper i:hover{opacity:.5}.csf-field-sortable .widget-placeholder{height:50px;margin-bottom:3px;border:1px dashed #f1c40f;background-color:#fffae4}.csf-field-sortable .ui-sortable-helper{height:50px!important;overflow:hidden!important;border-color:#ccc!important;background-color:#eee!important;opacity:.5}.csf-field-sortable .ui-sortable-helper .csf--sortable-content,.csf-field-sortable .ui-sortable-helper .csf--sortable-helper{display:none}.csf-field-sorter .ui-sortable-placeholder{height:20px;border:1px dashed #f1c40f;background-color:#fffae4}.csf-field-sorter .csf-modules{float:left;width:50%;box-sizing:border-box}.csf-field-sorter .csf-modules:first-child{padding-right:15px}.csf-field-sorter .csf-modules:last-child{padding-left:15px}.csf-field-sorter .csf-disabled,.csf-field-sorter .csf-enabled{padding:5px 15px;border:1px dashed #ddd;background-color:#fff}.csf-field-sorter .csf-disabled li{-moz-transition:opacity .15s;-o-transition:opacity .15s;-webkit-transition:opacity .15s;transition:opacity .15s;opacity:.5}.csf-field-sorter .csf-disabled .ui-sortable-helper{opacity:1}.csf-field-sorter .csf-sorter-title{font-size:13px;font-weight:600;padding:10px;text-align:center;border:1px dashed #ddd;border-bottom:none;background-color:#f8f8f8;text-transform:uppercase}.csf-field-sorter ul{list-style-type:none;margin:0;padding:0;min-height:62px}.csf-field-sorter ul li{margin:10px 0;padding:10px 15px;cursor:move;font-weight:700;text-align:center;border:1px solid #e5e5e5;background-color:#fafafa;-moz-transition:border-color .15s;-o-transition:border-color .15s;-webkit-transition:border-color .15s;transition:border-color .15s}.csf-field-sorter ul li:hover{border-color:#bbb}.csf-field-spinner .csf--spin{display:flex}.csf-field-spinner .ui-spinner{display:flex}.csf-field-spinner .ui-button-text-only{display:flex;flex-direction:column;justify-content:center;text-align:center;min-width:20px;padding:0 4px;color:#555;border:1px solid #7e8993;background-color:#f5f5f5}.csf-field-spinner .ui-button{cursor:pointer}.csf-field-spinner .ui-button:hover{background-color:#e7e7e7}.csf-field-spinner .ui-button:active{background-color:#ddd}.csf-field-spinner .ui-button:before{font-family:"Font Awesome 5 Pro","Font Awesome 5 Free",FontAwesome;font-weight:900;font-size:14px;line-height:14px}.csf-field-spinner .ui-spinner-down{order:1;border-right:0;border-radius:4px 0 0 4px}.csf-field-spinner .ui-spinner-down:before{content:"\f0d9"}.csf-field-spinner .ui-spinner-input{order:2}.csf-field-spinner .csf--unit{order:3;border-left:0;user-select:none}.csf-field-spinner .ui-spinner-up{order:4;border-left:0;border-radius:0 4px 4px 0}.csf-field-spinner .ui-spinner-up:before{content:"\f0da"}.csf-field-spinner input{position:relative;z-index:1;width:50px;text-align:center;margin:0;padding:0 8px;border-radius:0}.csf-field-spinner .ui-button-text{display:none}.csf-field-switcher .csf--switcher{float:left;cursor:pointer;position:relative;width:60px;height:26px;padding:0;margin:0;overflow:hidden;border-radius:4px;background-color:#ed6f6f;user-select:none;-webkit-user-select:none}.csf-field-switcher .csf--ball{position:absolute;top:4px;left:4px;width:24px;height:18px;background-color:#fff;border-radius:4px;transition:all .1s;box-shadow:1px 1px 1px rgba(0,0,0,.15)}.csf-field-switcher .csf--off,.csf-field-switcher .csf--on{position:absolute;top:0;left:0;right:0;font-size:11px;line-height:26px;font-weight:500;font-style:normal;text-align:center;text-transform:uppercase;color:#fff;padding-right:28px;opacity:0;transition:all .1s}.csf-field-switcher .csf--off{padding-right:0;padding-left:28px;opacity:1}.csf-field-switcher .csf--active{background:#4fb845}.csf-field-switcher .csf--active .csf--on{opacity:1}.csf-field-switcher .csf--active .csf--off{opacity:0}.csf-field-switcher .csf--active .csf--ball{left:100%;margin-left:-28px}.csf-field-switcher .csf--label{float:left;margin-top:4px;margin-left:8px;font-weight:400;color:#999}.csf-field-switcher input{display:none}.csf-field-tabbed .csf-tabbed-section{border:1px solid #ccd0d4;background-color:#fff;box-shadow:0 1px 1px rgba(0,0,0,.04)}.csf-field-tabbed .csf-tabbed-section>.csf-field{padding:15px}.csf-field-tabbed .csf-tabbed-nav .csf--icon{padding-right:5px}.csf-field-tabbed .csf-tabbed-nav a{display:inline-block;padding:12px 15px;margin-top:1px;margin-right:5px;margin-bottom:-1px;position:relative;text-decoration:none;color:#444;font-weight:600;border:1px solid #ccd0d4;background-color:#f3f3f3;transition:all .2s}.csf-field-tabbed .csf-tabbed-nav a:hover{background-color:#f9f9f9}.csf-field-tabbed .csf-tabbed-nav a.csf-tabbed-active{background-color:#fff;border-bottom-color:#fff}.csf-field-tabbed .csf-tabbed-nav a:focus{outline:0;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none}.csf-field-text input{width:50%;max-width:100%;margin:0}.csf-field-textarea textarea{width:100%;max-width:100%;min-height:125px}.csf-field-textarea .csf-shortcode-button{margin-bottom:10px;margin-right:5px}.csf-field-typography select,.csf-field-typography textarea{min-width:100%;margin:0}.csf-field-typography .csf--title{color:#777;margin:0 0 2px 0;font-size:12px}.csf-field-typography .csf--title small{vertical-align:top}.csf-field-typography .csf--blocks{display:flex;flex-wrap:wrap}.csf-field-typography .csf--block{flex:1;padding-right:6px;padding-bottom:6px}.csf-field-typography .csf--input{margin:0;min-width:100%}.csf-field-typography .csf--input-wrap{position:relative}.csf-field-typography .csf--unit{position:absolute;z-index:1;right:4px;top:4px;bottom:4px;padding:2px 6px;color:#666;font-size:11px;line-height:1;border-radius:2px;background:#eee;user-select:none;display:flex;justify-content:center;flex-direction:column}.csf-field-typography .csf--preview{font-size:16px;line-height:20px;padding:20px;color:#222;border:1px solid #eee;background-color:#fff;border-radius:2.5px;user-select:none;-webkit-user-select:none;transition:background-color .2s,border-color .2s}.csf-field-typography .csf--block-preview{cursor:pointer;position:relative;overflow:hidden;margin-top:10px;max-width:100%}.csf-field-typography .csf--black-background{border-color:#000;background-color:#000}.csf-field-typography .csf--toggle{position:absolute;top:5px;right:10px;color:#999}.csf-field-typography .csf--block-extra-styles{margin-top:5px}.csf-field-upload input{width:100%;margin:0}.csf-field-upload .csf--wrap{display:flex}.csf-field-upload .button{margin-left:5px}.csf-field-wp_editor .csf-wp-editor{float:left;width:100%}.csf-field-wp_editor .mce-toolbar-grp{border:none}.csf-field-wp_editor .mce-btn.mce-active button,.csf-field-wp_editor .mce-btn.mce-active i,.csf-field-wp_editor .mce-btn.mce-active:hover button,.csf-field-wp_editor .mce-btn.mce-active:hover i{color:#23282d}.csf-field-wp_editor .wp-media-buttons{position:relative;z-index:2}.csf-field-wp_editor .wp-editor-tabs{position:relative;z-index:1}.csf-field-wp_editor .csf-no-tinymce{border:1px solid #e5e5e5}.csf-field-wp_editor .csf-no-quicktags .wp-media-buttons{float:none;display:block}.csf-field-wp_editor .csf-no-quicktags .mce-tinymce{box-shadow:none;border:1px solid #e5e5e5}.csf-field-wp_editor textarea{width:100%;max-width:100%;margin:0;box-shadow:none}.csf-field-heading{font-size:1.5em;font-weight:700;color:#23282d;background-color:#f5f5f5}.csf-field-subheading{font-size:14px;font-weight:700;padding-top:17px;padding-bottom:17px;color:#23282d;background-color:#f7f7f7}.csf-field-submessage{padding:0!important;border:0!important}.csf-field-submessage+.csf-field{border-top:0!important}.csf-submessage{font-size:12px;padding:17px 30px;border-top:1px solid transparent;border-bottom:1px solid transparent}.csf-submessage-success{color:#3c763d;border-color:#d6e9c6;background-color:#dff0d8}.csf-submessage-info{color:#31708f;border-color:#bce8f1;background-color:#d9edf7}.csf-submessage-warning{color:#8a6d3b;border-color:#faebcc;background-color:#fcf8e3}.csf-submessage-danger{color:#a94442;border-color:#ebccd1;background-color:#f2dede}.csf-submessage-normal{color:#23282d;border-color:#eee;background-color:#f7f7f7}.csf-field-notice{background-color:#f7f7f7}.csf-notice{padding:12px;background-color:#fff;border-left-style:solid;border-left-width:4px;box-shadow:0 1px 1px rgba(0,0,0,.1)}.csf-notice-success{border-color:#46b450}.csf-notice-info{border-color:#339fd4}.csf-notice-warning{border-color:#ffbc00}.csf-notice-danger{border-color:#dc3232}.csf-notice-normal{border-color:#222}.csf-field-number input{width:100%;margin:0}.csf-field-number .csf--wrap{position:relative;float:left;width:100px}.csf-field-number .csf--unit{position:absolute;z-index:1;right:4px;top:4px;bottom:4px;padding:2px 6px;color:#666;font-size:11px;line-height:1;border-radius:2px;background:#eee;user-select:none;display:flex;justify-content:center;flex-direction:column}.csf-help{cursor:help;position:absolute;top:0;right:0;padding:5px;font-size:13px;color:#aaa}.csf-help .csf-help-text{display:none}.csf-image-preview{display:inline-block;position:relative;padding:4px;min-width:44px;min-height:22px;margin-bottom:10px;border:1px solid #ccc;background-color:#f9f9f9;-moz-box-shadow:0 1px 0 rgba(0,0,0,.08);-webkit-box-shadow:0 1px 0 rgba(0,0,0,.08);box-shadow:0 1px 0 rgba(0,0,0,.08)}.csf-image-preview img{max-height:90px;display:inline-block;vertical-align:middle}.csf-field-custom .csf-field{padding:0}.csf-field .chosen-container-single .chosen-single{height:28px;line-height:26px}.csf-field .chosen-container-single .chosen-single abbr{top:0;right:20px;font-family:"Font Awesome 5 Pro","Font Awesome 5 Free",FontAwesome;font-weight:900;font-size:12px;height:100%;width:18px;color:#aaa;text-align:center;background:0 0}.csf-field .chosen-container-single .chosen-single abbr:before{content:"\f00d"}.csf-field .chosen-container-single .chosen-single abbr:hover{color:#555}.csf-field .chosen-container-multi .chosen-choices li.search-choice .search-choice-close{font-family:"Font Awesome 5 Pro","Font Awesome 5 Free",FontAwesome;font-weight:900;font-size:12px;height:100%;width:18px;color:#aaa;text-align:center;background:0 0}.csf-field .chosen-container-multi .chosen-choices li.search-choice .search-choice-close:before{content:"\f00d";display:inline-block;padding-top:3px}.csf-field .chosen-container-multi .chosen-choices li.search-choice .search-choice-close:hover{color:#555}.csf-field .chosen-container-single .chosen-single div b{font-family:"Font Awesome 5 Pro","Font Awesome 5 Free",FontAwesome;font-weight:900;font-size:14px;color:#aaa;background:0 0}.csf-field .chosen-container-single .chosen-single div b:before{content:"\f107"}.csf-field .chosen-container-single .chosen-single div b:hover{color:#555}.csf-field .chosen-container-multi .chosen-choices li.search-choice-placeholder{border:1px dashed #aaa;margin:3px 5px 3px 0}.csf-field .chosen-container-multi .ui-sortable li.search-choice span{cursor:move}.csf-field .chosen-container-active.chosen-with-drop .chosen-single div b:before{content:"\f106"}.csf-field .chosen-container-single .chosen-single-with-deselect span{margin-right:40px}.csf-field .chosen-container-single .chosen-search input[type=text]{background:0 0}.csf-field .chosen-container-single .chosen-search:before{font-family:"Font Awesome 5 Pro","Font Awesome 5 Free",FontAwesome;font-weight:900;font-size:11px;content:"\f002";position:absolute;right:12px;top:10px;color:#aaa}.csf-field .wp-picker-container{display:inline-block}.csf-field .wp-picker-container .wp-color-result.button{margin-bottom:0}.csf-field .csf--transparent-wrap{display:none;position:relative;top:-1px;width:235px;padding:9px 10px;border:1px solid #dfdfdf;border-top:none;background-color:#fff}.csf-field .wp-picker-active .csf--transparent-wrap{display:block}.csf-field .csf--transparent-slider{position:absolute;width:190px;margin-left:2px;height:18px}.csf-field .csf--transparent-slider .ui-slider-handle{position:absolute;top:-3px;bottom:-3px;z-index:5;border-color:#aaa;border-style:solid;border-width:4px 3px;width:10px;height:16px;margin:0 -5px;background:0 0;cursor:ew-resize;opacity:.9;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;-moz-box-shadow:0 1px 2px rgba(0,0,0,.2);-webkit-box-shadow:0 1px 2px rgba(0,0,0,.2);box-shadow:0 1px 2px rgba(0,0,0,.2)}.csf-field .csf--transparent-slider .ui-slider-handle:before{content:" ";position:absolute;left:-2px;right:-2px;top:-3px;bottom:-3px;border:2px solid #fff;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px}.csf-field .csf--transparent-offset{height:18px;width:200px;background:url(../images/checkerboard.png) repeat-y center left scroll #fff;-moz-box-shadow:0 0 5px rgba(0,0,0,.4) inset;-webkit-box-shadow:0 0 5px rgba(0,0,0,.4) inset;box-shadow:0 0 5px rgba(0,0,0,.4) inset;-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px}.csf-field .csf--transparent-text{position:absolute;top:12px;right:10px;width:30px;font-size:12px;line-height:12px;text-align:center;color:#999}.csf-field .csf--transparent-button{cursor:pointer;user-select:none;margin-top:10px;font-size:11px;text-align:center;border-radius:2px;padding:3px 7px;box-shadow:0 1px 0 rgba(0,0,0,.1);letter-spacing:.2px;color:#777;border:1px solid #ccc;background-color:#f7f7f7;transition:background-color .2s,border-color .2s,color .2s}.csf-field .csf--transparent-active .wp-color-result{background-image:url(../images/checkerboard.png);background-size:135px;background-position:center left;background-color:transparent!important}.csf-field .csf--transparent-active .csf--transparent-button{color:#fff;border-color:#3ea032;background-color:#4fb845}.csf-field .csf--transparent-active .fa:before{content:"\f205"}.csf-widgets>.csf-field{position:relative;top:-1px;margin-right:-15px;margin-left:-15px;padding:12px 15px}.csf-widgets>.csf-field .csf-field{margin-left:0;margin-right:0}.csf-widgets>.csf-field .csf-title{float:none;width:100%;margin-bottom:5px}.csf-widgets>.csf-field .csf-fieldset{float:none;width:100%}.csf-widgets .csf-field-text input{width:100%}.csf-widgets .csf-field-notice .csf-notice{padding:15px}.control-section .csf-widgets>.csf-field{margin-right:-10px;margin-left:-10px;padding:10px 12px}.control-section .csf-field{padding:0}.control-section .csf-field .csf-title{float:none;width:100%;margin-bottom:6px}.control-section .csf-field .csf-title h4{display:block;font-size:13px;line-height:1;font-weight:600;color:inherit}.control-section .csf-field .csf-fieldset{float:none;width:100%}.control-section .csf-help{top:-5px;right:-5px}.control-section .csf-field-select select{width:100%}.control-section .csf-field-heading{color:inherit;font-size:14px;line-height:1em;margin-right:-15px;margin-left:-15px;padding:15px}.control-section .csf-field-subheading{color:inherit;font-size:11px;margin-right:-15px;margin-left:-15px;padding:10px 15px}.control-section .csf-text-subtitle{margin-top:4px;font-size:12px}.control-section .csf-field-submessage .csf-submessage{margin-right:-15px;margin-left:-15px;padding:15px}.control-section .csf-fieldset .csf-field-heading,.control-section .csf-fieldset .csf-field-subheading,.control-section .csf-fieldset .csf-field-submessage .csf-submessage{margin-left:0;margin-right:0}.control-section .csf-field-date .csf--to{margin-left:0}.control-section .csf-field-sorter ul li{padding:5px}.control-section .csf-field-sorter .csf-modules{float:none;width:100%}.control-section .csf-field-sorter .csf-modules:first-child{padding-right:0;padding-bottom:15px}.control-section .csf-field-background .csf--background-attributes{flex-direction:column}.control-section .csf-field-spacing input{width:90px}.control-section .csf-field-border .csf--input{flex:1 50%}.control-section .csf-field-border input,.control-section .csf-field-border select{width:100%}.control-section .csf-field-spinner input{width:50px}.control-section .csf-field-number .csf--wrap{width:100%}.control-section .csf-field-backup .csf-export-data{display:none}.control-section .csf-field-fieldset .csf-fieldset-content{border-color:#e5e5e5}.control-section .csf-field-fieldset .csf-field{padding:10px}.control-section .csf-field-fieldset .csf-field .csf-title{margin-bottom:5px}.control-section .csf-field-fieldset .csf-field h4{font-size:12px}.control-section .csf-field-accordion .csf-field,.control-section .csf-field-group .csf-field,.control-section .csf-field-repeater .csf-field,.control-section .csf-field-sortable .csf-field,.control-section .csf-field-tabbed .csf-field{padding:10px}.control-section .csf-field-accordion .csf-field .csf-title,.control-section .csf-field-group .csf-field .csf-title,.control-section .csf-field-repeater .csf-field .csf-title,.control-section .csf-field-sortable .csf-field .csf-title,.control-section .csf-field-tabbed .csf-field .csf-title{margin-bottom:5px}.control-section .csf-field-accordion .csf-field h4,.control-section .csf-field-group .csf-field h4,.control-section .csf-field-repeater .csf-field h4,.control-section .csf-field-sortable .csf-field h4,.control-section .csf-field-tabbed .csf-field h4{font-size:12px}.control-section .csf-dependency-control.hidden{display:none!important}.csf-taxonomy>.csf-field{border-top:none!important}.csf-taxonomy>.csf-field-heading{font-size:1.1em;padding:20px!important;border:1px solid #ddd}.csf-taxonomy>.csf-field-subheading{font-size:12px;padding:15px!important;border:1px solid #ddd}.csf-taxonomy>.csf-field-submessage .csf-submessage{padding:15px;border-left-width:1px;border-left-style:solid;border-right-width:1px;border-right-style:solid}.csf-taxonomy>.csf-field-notice{background-color:transparent}.csf-taxonomy .csf-section-title{display:block;padding:15px;background-color:#f9f9f9;border:1px solid #e5e5e5;-moz-box-shadow:0 1px 1px rgba(0,0,0,.04);-webkit-box-shadow:0 1px 1px rgba(0,0,0,.04);box-shadow:0 1px 1px rgba(0,0,0,.04)}.csf-taxonomy-add-fields>.csf-field{padding:8px 0}.csf-taxonomy-add-fields>.csf-field>.csf-title{float:none;width:100%;padding:2px 2px 4px 0}.csf-taxonomy-add-fields>.csf-field>.csf-title h4{font-size:12px;font-weight:400}.csf-taxonomy-add-fields>.csf-field>.csf-fieldset{float:none;width:100%}.csf-taxonomy-add-fields>.csf-field>.csf-fieldset>.csf-help{right:-5px}.csf-taxonomy-add-fields+p.submit{margin-top:0}.csf-taxonomy-edit-fields>.csf-field{padding:20px 0}.csf-taxonomy-edit-fields>.csf-field>.csf-title{width:200px}.csf-taxonomy-edit-fields>.csf-field>.csf-title h4{font-size:14px;font-weight:600;line-height:1.3;display:inline-block;vertical-align:middle}.csf-taxonomy-edit-fields>.csf-field>.csf-fieldset{width:calc(100% - 220px)}.csf-taxonomy-edit-fields>.csf-field>.csf-fieldset>.csf-help{top:-5px;right:-5px}.csf-taxonomy-edit-fields>.csf-field-submessage{margin:20px 0}.csf-taxonomy-edit-fields>.csf-field-heading,.csf-taxonomy-edit-fields>.csf-field-subheading{margin:20px 0;border:1px solid #ddd}.csf-profile>h2>.fa{padding-right:7px}.csf-profile>.csf-field{max-width:800px;padding:15px 0;border-top:none!important}.csf-profile>.csf-field>.csf-title{width:200px}.csf-profile>.csf-field>.csf-title h4{font-size:14px;font-weight:600;line-height:1.3;display:inline-block;vertical-align:middle}.csf-profile>.csf-field>.csf-fieldset{width:calc(100% - 220px)}.csf-profile>.csf-field>.csf-fieldset>.csf-help{top:-15px;right:-5px}.csf-profile>.csf-field-heading{font-size:1.1em}.csf-profile>.csf-field-subheading{font-size:12px}.csf-profile>.csf-field-heading,.csf-profile>.csf-field-subheading{margin:10px 0;padding:15px!important;border:1px solid #ddd}.csf-profile>.csf-field-submessage{margin:20px 0}.csf-profile>.csf-field-submessage .csf-submessage{padding:10px;border-left-width:1px;border-left-style:solid;border-right-width:1px;border-right-style:solid}.csf-profile>.csf-field-notice{background-color:transparent}.csf-modal{display:none;position:fixed;z-index:100101;top:0;left:0;width:100%;height:100%}.csf-modal-icon{z-index:100102}.csf-modal-table{display:table;width:100%;height:100%}.csf-modal-table-cell{display:table-cell;vertical-align:middle;margin:100px 0}.csf-modal-inner{position:relative;z-index:10;width:760px;height:750px;margin:0 auto;background-color:#fff}.csf-modal-content{position:relative;overflow:hidden;overflow-y:auto;height:595px}.csf-modal-content .csf-shortcode-button{display:none}.csf-modal-content .csf-field{padding:15px 30px 15px 15px}.csf-modal-content a:active,.csf-modal-content a:focus{outline:0;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none}.csf-modal-content h4{font-size:13px}.csf-modal-content h4 small{font-style:italic;font-weight:400;color:#aaa}.csf-modal-title{position:relative;background-color:#fcfcfc;border-bottom:1px solid #ddd;height:36px;font-size:16px;font-weight:600;line-height:36px;margin:0;padding:0 36px 0 16px}.csf-modal-header{width:100%;padding:14px 0;background-color:#f5f5f5;border-bottom:1px solid #eee}.csf-modal-header select{display:block;width:250px;margin:0 auto;font-size:13px;line-height:1;height:30px;min-height:30px;background-color:#fff}.csf-modal-close{color:#666;padding:0;position:absolute;top:0;right:0;width:36px;height:36px;text-align:center;background:0 0;border:none;cursor:pointer}.csf-modal-close:before{font:normal 20px/36px dashicons;content:"\f158";vertical-align:top;width:36px;height:36px}.csf-modal-close:hover{opacity:.5}.csf-modal-insert-wrapper{text-align:center;width:100%;padding:15px 0;background-color:#f5f5f5;border-top:1px solid #eee}.csf-modal-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background-color:#000;opacity:.5}.csf--repeatable{padding:15px 15px 0 15px}.csf--repeat-button-block{text-align:center;padding-bottom:15px}.csf--repeat-shortcode{position:relative;margin-bottom:15px;border:1px dashed #ddd}.csf--repeat-shortcode:first-child .csf-repeat-remove{display:none}.csf--repeat-shortcode .csf-repeat-remove{position:absolute;right:10px;top:10px;z-index:10;cursor:pointer;display:inline-block;font-size:11px;width:18px;height:18px;line-height:18px;text-align:center;border-radius:2px;color:#fff;background-color:#e14d43;opacity:.5}.csf--repeat-shortcode .csf-repeat-remove:hover{opacity:1}.csf-shortcode-single .csf-modal-inner{height:750px}.csf-shortcode-single .csf-modal-content{height:652px}.elementor-editor-active .csf-shortcode-button{margin-left:5px}.elementor-editor-active .csf-modal .hidden{display:none!important}.csf-shortcode-block{text-align:center;padding:14px;font-size:13px;background-color:#f5f5f5;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif}.csf-shortcode-block .button{margin:10px 0}.csf-modal-icon .csf-icon-title{padding:15px 0;margin:4px;font-size:14px;font-weight:700;text-align:center;border:1px solid #eee;background-color:#f7f7f7}.csf-modal-icon .csf-icon-search{width:50%;height:40px;line-height:40px}.csf-modal-icon i{cursor:pointer;display:inline-block;margin:4px;width:35px;height:35px;line-height:35px;font-size:16px;color:#555;text-align:center;border:1px solid #ccc;background-color:#f7f7f7;-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px;-moz-box-shadow:1px 1px 0 rgba(0,0,0,.05);-webkit-box-shadow:1px 1px 0 rgba(0,0,0,.05);box-shadow:1px 1px 0 rgba(0,0,0,.05)}.csf-modal-icon i:hover{color:#fff;border-color:#222;background-color:#222}.csf-modal-icon .csf-modal-content{padding:10px;height:618px}.csf-modal-icon .csf-text-error{padding:10px}.csf-modal-loading{display:none;position:absolute;left:15px;top:15px}.csf-loading{position:relative;width:20px;height:20px;background:#ccc;-moz-border-radius:20px;-webkit-border-radius:20px;border-radius:20px;-moz-box-shadow:0 2px 5px rgba(0,0,0,.07);-webkit-box-shadow:0 2px 5px rgba(0,0,0,.07);box-shadow:0 2px 5px rgba(0,0,0,.07)}.csf-loading:after{position:absolute;top:50%;left:50%;width:4px;height:4px;content:"";margin-top:-2px;margin-left:-2px;background-color:#fff;-moz-animation-duration:.5s;-webkit-animation-duration:.5s;animation-duration:.5s;-moz-animation-iteration-count:infinite;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;-moz-animation-timing-function:linear;-webkit-animation-timing-function:linear;animation-timing-function:linear;-moz-animation-name:csfLoader;-webkit-animation-name:csfLoader;animation-name:csfLoader;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px}@-moz-keyframes csfLoader{0%{-moz-transform:rotate(0) translateX(-6px) rotate(0);transform:rotate(0) translateX(-6px) rotate(0)}100%{-moz-transform:rotate(360deg) translateX(-6px) rotate(-360deg);transform:rotate(360deg) translateX(-6px) rotate(-360deg)}}@-webkit-keyframes csfLoader{0%{-webkit-transform:rotate(0) translateX(-6px) rotate(0);transform:rotate(0) translateX(-6px) rotate(0)}100%{-webkit-transform:rotate(360deg) translateX(-6px) rotate(-360deg);transform:rotate(360deg) translateX(-6px) rotate(-360deg)}}@keyframes csfLoader{0%{-moz-transform:rotate(0) translateX(-6px) rotate(0);-ms-transform:rotate(0) translateX(-6px) rotate(0);-webkit-transform:rotate(0) translateX(-6px) rotate(0);transform:rotate(0) translateX(-6px) rotate(0)}100%{-moz-transform:rotate(360deg) translateX(-6px) rotate(-360deg);-ms-transform:rotate(360deg) translateX(-6px) rotate(-360deg);-webkit-transform:rotate(360deg) translateX(-6px) rotate(-360deg);transform:rotate(360deg) translateX(-6px) rotate(-360deg)}}.csf-text-subtitle{margin-top:10px;font-weight:400;color:#999}.csf-text-desc{clear:both;float:left;width:100%;margin-top:10px;font-weight:400;color:#999}.csf-text-success{color:#2b542c}.csf-text-error{margin-top:5px;color:#d02c21}.csf-text-info{color:#31708f}.csf-text-warning{color:#ffb900}.csf-text-muted{color:#aaa}.csf-text-left{text-align:left}.csf-text-center{text-align:center}.csf-text-right{text-align:right}.csf-block-left{float:left}.csf-block-right{float:right}.csf-full-width{width:100%}.csf-full-half{width:50%}.csf-table{width:100%;display:table}.csf-table-cell{display:table-cell;vertical-align:middle}.csf-table-expanded{width:100%}.csf-nowrap{white-space:nowrap}.csf-text-highlight{padding:2px 4px;font-size:90%;color:#c7254e;background-color:#f9f2f4;-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px}.csf-text-highlight-gray{padding:2px 4px;font-size:90%;background-color:#f0f0f0;-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px}.csf-hidden{display:none}.csf-hide{display:none!important}.csf-show{display:block!important}.csf-opacity{opacity:.5}.csf-warning-primary{color:#fff!important;border-color:#dc3545!important;background:#dc3545!important}.csf-warning-primary:focus,.csf-warning-primary:hover{border-color:#bd2130!important;background:#bd2130!important}.csf-warning-primary:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px #bd2130!important}.csf-warning-primary:active{border-color:#bd2130!important;background:#bd2130!important}.csf-form-result{display:none;float:left;padding:0 8px;margin-right:4px;font-size:11px;line-height:28px;user-select:none;border-radius:2px}.csf-form-show{display:block}.csf-form-success{color:#fff;background-color:#46b450}.csf-form-warning{color:#8a6d3b;background-color:#faebcc}.csf-label-error{position:relative;top:-2px;display:inline-block;font-size:10px;line-height:10px;height:10px;width:10px;padding:1px;font-style:normal;text-align:center;color:#fff;vertical-align:middle;background-color:#e10000;-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px}.csf-no-option{padding:30px}.csf-input-number{-moz-appearance:textfield}.csf-input-number::-webkit-inner-spin-button,.csf-input-number::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.csf-welcome-wrap{position:relative;margin:25px 40px 0 20px;font-size:15px;max-width:1200px}.csf-welcome-wrap p{font-size:14px;line-height:1.5}.csf-welcome-wrap h1{margin:.2em 200px 0 0;padding:0;color:#32373c;line-height:1.2em;font-size:2.8em;font-weight:400}.csf-welcome-wrap .csf-logo{position:absolute;overflow:hidden;top:0;right:0;height:160px;width:140px;background-image:linear-gradient(45deg,#2d67cb,#ad19f3);box-shadow:0 1px 4px rgba(0,0,0,.25),inset 0 0 0 4px rgba(0,0,0,.25)}.csf-welcome-wrap .csf-logo .csf--effects i{position:absolute;width:200px;height:100px;background-color:rgba(0,0,0,.15);transform:rotate(-45deg)}.csf-welcome-wrap .csf-logo .csf--effects i:nth-child(1){bottom:-20px;right:-70px}.csf-welcome-wrap .csf-logo .csf--effects i:nth-child(2){bottom:-35px;right:-80px}.csf-welcome-wrap .csf-logo .csf--effects i:nth-child(3){bottom:-50px;right:-90px}.csf-welcome-wrap .csf-logo .csf--effects i:nth-child(4){bottom:-65px;right:-100px}.csf-welcome-wrap .csf-logo .csf--wp-logos{position:relative;padding-top:25px;text-align:center}.csf-welcome-wrap .csf-logo .csf--wp-logo{position:absolute;left:20px;width:20px;height:20px;background-repeat:no-repeat;background-position:center center;background-image:url(../images/wp-logo.svg)}.csf-welcome-wrap .csf-logo .csf--wp-plugin-logo{display:inline-block;width:50px;height:50px;border:3px solid #fff;background-size:40px;background-repeat:no-repeat;background-position:center center;background-image:url(../images/wp-plugin-logo.svg);border-radius:100%;vertical-align:middle}.csf-welcome-wrap .csf-logo .csf--text{position:absolute;left:0;right:0;top:90px;color:#fff;font-size:13px;line-height:1.2em;font-weight:600;text-align:center;text-transform:uppercase;text-shadow:1px 1px 0 rgba(0,0,0,.25)}.csf-welcome-wrap .csf-logo .csf--version{top:auto;left:auto;right:8px;bottom:4px;font-size:11px;text-transform:lowercase}.csf-welcome-wrap .csf-about-text{font-weight:400;line-height:1.6em;font-size:19px;margin:1em 200px 1em 0;color:#555d66}.csf-welcome-wrap .csf-demo-button{margin:1em 200px 2em 0}.csf-welcome-wrap .nav-tab-wrapper{margin-bottom:20px}.csf-welcome-wrap ul{list-style-type:disc;padding-left:15px}.csf-welcome-wrap .csf--col{float:left;padding-right:20px;box-sizing:border-box}.csf-welcome-wrap .csf--col-2{width:50%}.csf-welcome-wrap .csf--col-3{width:33.333%}.csf-welcome-wrap .csf--col-4{width:25%}.csf-welcome-wrap .csf--col-5{width:20%}.csf-welcome-wrap .csf--col-last{padding-right:0}.csf-welcome-wrap .csf--col-upgrade{padding:10px 0;text-align:center;border-top:1px solid #e5e5e5}.csf--table-compare tfoot td,.csf--table-compare thead td{text-align:center}.csf--table-compare td{font-size:14px;text-align:center;vertical-align:middle;padding:10px}.csf--table-compare td:first-child{text-align:left}.csf--table-compare tfoot td{padding:15px 0}.csf--table-compare .fa{font-size:18px}.csf--table-compare .fa-check-circle{color:#46b450}.csf--table-compare .fa-times-circle{color:#dc3232}.csf-welcome-cols{clear:both;margin:20px 0;background-color:#fff;padding:0 0;border-radius:2px;border:1px solid #e5e5e5}.csf-welcome-cols .csf--col{width:25%;float:left;padding:20px;text-align:center;box-sizing:border-box;min-height:200px;border-right:1px solid #e5e5e5}.csf-welcome-cols .csf--block,.csf-welcome-cols .csf--left{float:left;width:20%;padding:0 30px;text-align:center;box-sizing:border-box}.csf-welcome-cols .csf--block{width:80%}.csf-welcome-cols .csf--col-first{border-bottom:1px solid #e5e5e5}.csf-welcome-cols .csf--last{border-right:none}.csf-welcome-cols .csf--space{height:20px}.csf-welcome-cols .csf--icon{display:inline-block;font-size:20px;width:30px;height:30px;line-height:30px;text-align:center;margin-bottom:10px;color:#fff;background-color:#555;border-radius:30px}.csf-welcome-cols .csf--active{background-color:#5cb85c}.csf-welcome-cols .csf--deactive{background-color:#e14d43}.csf-welcome-cols .csf--title{font-weight:700;display:block}.csf-welcome-cols p:last-child{margin-bottom:0}.csf-features-cols .csf--key-features{width:30%}.csf-features-cols .csf--available-fields{width:70%}.csf-code-block{margin:20px 0;padding:5px 20px;background-color:#fff;border-radius:2px;box-shadow:0 1px 1px rgba(0,0,0,.15)}.csf-code-block pre{font-size:13px;color:#0073aa}.csf-code-block pre span{color:#999}.csf--table-fields td{font-size:14px}.csf--upgrade a{color:#5cb85c;font-weight:700}.csf--upgrade a:focus,.csf--upgrade a:hover{color:#4aa14a;outline:0;box-shadow:none}@media only screen and (max-width:782px){.csf-welcome-cols .csf--col{width:100%;min-height:auto;border-right:none;border-bottom:1px solid #e5e5e5}.csf-features-cols .csf--key-features{width:100%}.csf-features-cols .csf--available-fields{width:100%}}@media only screen and (max-width:1200px){.csf-metabox .csf-field .csf-title{float:none;width:100%;margin-bottom:10px}.csf-metabox .csf-field .csf-fieldset{float:none;width:100%}}@media only screen and (max-width:782px){.csf-header-inner{text-align:center}.csf-header-inner h1{width:100%;margin-bottom:10px}.csf-form-result{float:none;margin-right:0;margin-bottom:10px}.csf-header-left,.csf-header-right,.csf-search{width:100%}.csf-search{text-align:center;margin-bottom:15px}.csf-footer{text-align:center}.csf-buttons{float:none}.csf-copyright{float:none;margin-top:10px}.csf-expand-all,.csf-nav,.csf-nav-background,.csf-reset-section{display:none!important}.csf-content{margin-left:0}.csf-section,.csf-section-title{display:block!important}.csf-field .csf-title{float:none;width:100%;margin-bottom:10px}.csf-field .csf-fieldset{float:none;width:100%}.csf-field-color .button.wp-picker-clear{padding:0 8px;line-height:2.14285714;min-height:32px}.csf-modal-inner{width:350px;height:400px}.csf-modal-content{height:237px}.csf-icon-dialog .csf-modal-inner{width:305px;height:380px}.csf-icon-dialog .csf-modal-content{height:267px}.csf-modal-icon .csf-modal-inner{width:330px;height:385px}.csf-modal-icon .csf-modal-content{height:252px}.csf-profile>.csf-field>.csf-title,.csf-taxonomy-edit-fields>.csf-field>.csf-title{float:none;width:100%;margin-bottom:10px}.csf-profile>.csf-field>.csf-fieldset,.csf-taxonomy-edit-fields>.csf-field>.csf-fieldset{float:none;width:100%}}.chosen-container{position:relative;display:inline-block;vertical-align:middle;font-size:13px;user-select:none}.chosen-container *{box-sizing:border-box}.chosen-container .chosen-drop{position:absolute;top:100%;z-index:1010;width:100%;border:1px solid #aaa;border-top:0;background:#fff;box-shadow:0 4px 5px rgba(0,0,0,.15);clip:rect(0,0,0,0);clip-path:inset(100% 100%)}.chosen-container.chosen-with-drop .chosen-drop{clip:auto;clip-path:none}.chosen-container a{cursor:pointer}.chosen-container .chosen-single .group-name,.chosen-container .search-choice .group-name{margin-right:4px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-weight:400;color:#999}.chosen-container .chosen-single .group-name:after,.chosen-container .search-choice .group-name:after{content:":";padding-left:2px;vertical-align:top}.chosen-container-single .chosen-single{position:relative;display:block;overflow:hidden;padding:0 0 0 8px;height:25px;border:1px solid #aaa;border-radius:5px;background-color:#fff;background:linear-gradient(#fff 20%,#f6f6f6 50%,#eee 52%,#f4f4f4 100%);background-clip:padding-box;box-shadow:0 0 3px #fff inset,0 1px 1px rgba(0,0,0,.1);color:#444;text-decoration:none;white-space:nowrap;line-height:24px}.chosen-container-single .chosen-default{color:#999}.chosen-container-single .chosen-single span{display:block;overflow:hidden;margin-right:26px;text-overflow:ellipsis;white-space:nowrap}.chosen-container-single .chosen-single-with-deselect span{margin-right:38px}.chosen-container-single .chosen-single abbr{position:absolute;top:6px;right:26px;display:block;width:12px;height:12px;font-size:1px}.chosen-container-single .chosen-single div{position:absolute;top:0;right:0;display:block;width:18px;height:100%}.chosen-container-single .chosen-single div b{display:block;width:100%;height:100%}.chosen-container-single .chosen-search{position:relative;z-index:1010;margin:0;padding:3px 4px;white-space:nowrap}.chosen-container-single .chosen-search input[type=text]{margin:1px 0;padding:4px 20px 4px 5px;width:100%;height:auto;outline:0;border:1px solid #aaa;font-size:1em;font-family:sans-serif;line-height:normal;border-radius:0}.chosen-container-single .chosen-drop{margin-top:-1px;border-radius:0 0 4px 4px;background-clip:padding-box}.chosen-container-single.chosen-container-single-nosearch .chosen-search{position:absolute;clip:rect(0,0,0,0);clip-path:inset(100% 100%)}.chosen-container .chosen-results{color:#444;position:relative;overflow-x:hidden;overflow-y:auto;margin:0 4px 4px 0;padding:0 0 0 4px;max-height:240px;-webkit-overflow-scrolling:touch}.chosen-container .chosen-results li{display:none;margin:0;padding:5px 6px;list-style:none;line-height:15px;word-wrap:break-word;-webkit-touch-callout:none}.chosen-container .chosen-results li.active-result{display:list-item;cursor:pointer}.chosen-container .chosen-results li.disabled-result{display:list-item;color:#ccc;cursor:default}.chosen-container .chosen-results li.highlighted{background-color:#3875d7;background-image:linear-gradient(#3875d7 20%,#2a62bc 90%);color:#fff}.chosen-container .chosen-results li.no-results{color:#777;display:list-item;background:#f4f4f4}.chosen-container .chosen-results li.group-result{display:list-item;font-weight:700;cursor:default}.chosen-container .chosen-results li.group-option{padding-left:15px}.chosen-container .chosen-results li em{font-style:normal;text-decoration:underline}.chosen-container-multi .chosen-choices{position:relative;overflow:hidden;margin:0;padding:0 5px;width:100%;height:auto;border:1px solid #aaa;background-color:#fff;background-image:linear-gradient(#eee 1%,#fff 15%);cursor:text}.chosen-container-multi .chosen-choices li{float:left;list-style:none}.chosen-container-multi .chosen-choices li.search-field{margin:0;padding:0;white-space:nowrap}.chosen-container-multi .chosen-choices li.search-field input[type=text]{margin:1px 0;padding:0;outline:0;border:0!important;background:0 0!important;box-shadow:none;color:#999;font-size:100%;font-family:sans-serif;line-height:normal;border-radius:0;width:25px;height:25px;min-height:25px}.chosen-container-multi .chosen-choices li.search-choice{position:relative;margin:3px 5px 3px 0;padding:3px 20px 3px 6px;border:1px solid #aaa;max-width:100%;border-radius:3px;background-color:#eee;background-image:linear-gradient(#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);background-size:100% 19px;background-repeat:repeat-x;background-clip:padding-box;box-shadow:0 0 2px #fff inset,0 1px 0 rgba(0,0,0,.05);color:#333;line-height:13px;cursor:default}.chosen-container-multi .chosen-choices li.search-choice span{word-wrap:break-word;white-space:nowrap}.chosen-container-multi .chosen-choices li.search-choice .search-choice-close{position:absolute;top:0;right:0;display:block;width:12px;height:12px;font-size:1px}.chosen-container-multi .chosen-choices li.search-choice-disabled{padding-right:5px;border:1px solid #ccc;background-color:#e4e4e4;background-image:linear-gradient(#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);color:#666}.chosen-container-multi .chosen-choices li.search-choice-focus{background:#d4d4d4}.chosen-container-multi .chosen-results{margin:0;padding:0}.chosen-container-multi .chosen-drop .result-selected{display:list-item;color:#ccc;cursor:default}.chosen-container-active .chosen-single{border:1px solid #5897fb;box-shadow:0 0 5px rgba(0,0,0,.3)}.chosen-container-active.chosen-with-drop .chosen-single{border:1px solid #aaa;border-bottom-right-radius:0;border-bottom-left-radius:0;background-image:linear-gradient(#eee 20%,#fff 80%);box-shadow:0 1px 0 #fff inset}.chosen-container-active.chosen-with-drop .chosen-single div{border-left:none;background:0 0}.chosen-container-active .chosen-choices{border:1px solid #5897fb;box-shadow:0 0 5px rgba(0,0,0,.3)}.chosen-container-active .chosen-choices li.search-field input[type=text]{color:#222!important}.chosen-disabled{opacity:.5!important;cursor:default}.chosen-disabled .chosen-single{cursor:default}.chosen-disabled .chosen-choices .search-choice .search-choice-close{cursor:default}.chosen-rtl{text-align:right}.chosen-rtl .chosen-single{overflow:visible;padding:0 8px 0 0}.chosen-rtl .chosen-single span{margin-right:0;margin-left:26px;direction:rtl}.chosen-rtl .chosen-single-with-deselect span{margin-left:38px}.chosen-rtl .chosen-single div{right:auto;left:3px}.chosen-rtl .chosen-single abbr{right:auto;left:26px}.chosen-rtl .chosen-choices li{float:right}.chosen-rtl .chosen-choices li.search-field input[type=text]{direction:rtl}.chosen-rtl .chosen-choices li.search-choice{margin:3px 5px 3px 0;padding:3px 5px 3px 19px}.chosen-rtl .chosen-choices li.search-choice .search-choice-close{right:auto;left:4px}.chosen-rtl.chosen-container-single .chosen-results{margin:0 0 4px 4px;padding:0 4px 0 0}.chosen-rtl .chosen-results li.group-option{padding-right:15px;padding-left:0}.chosen-rtl.chosen-container-active.chosen-with-drop .chosen-single div{border-right:none}.chosen-rtl .chosen-search input[type=text]{padding:4px 5px 4px 20px;direction:rtl} \ No newline at end of file diff --git a/assets/images/checkerboard.png b/assets/images/checkerboard.png new file mode 100644 index 0000000..f97dade Binary files /dev/null and b/assets/images/checkerboard.png differ diff --git a/assets/images/wp-logo.svg b/assets/images/wp-logo.svg new file mode 100644 index 0000000..a415fd6 --- /dev/null +++ b/assets/images/wp-logo.svg @@ -0,0 +1 @@ + diff --git a/assets/images/wp-plugin-logo.svg b/assets/images/wp-plugin-logo.svg new file mode 100644 index 0000000..967f446 --- /dev/null +++ b/assets/images/wp-plugin-logo.svg @@ -0,0 +1 @@ + diff --git a/assets/js/csf-plugins.js b/assets/js/csf-plugins.js new file mode 100644 index 0000000..6503888 --- /dev/null +++ b/assets/js/csf-plugins.js @@ -0,0 +1,2092 @@ +/** +* +* jQuery Chosen AJAX Autocomplete Library +* +* https://github.com/meltingice/ajax-chosen +* https://github.com/michaelperrin/ajax-chosen +* +* MIT License +* +* Customized by Codestar +* +*/ +(function($) { + + function CSFAjaxChosen(element, options) { + this.element = $(element); + this.options = options; + this.init(); + }; + + CSFAjaxChosen.prototype.init = function() { + this.element.chosen(this.options); + this.container = this.element.next('.chosen-container'); + this.search_field = this.container.find('.chosen-search-input'); + this.is_multiple = this.container.hasClass('chosen-container-multi'); + this.is_typing = false; + this.chosenXhr = null; + this.events(); + }; + + CSFAjaxChosen.prototype.events = function() { + + var _this = this; + + this.search_field.on('compositionstart', function() { + _this.is_typing = true; + }); + + this.search_field.on('compositionend', function() { + _this.is_typing = false; + _this.update_list(); + }); + + this.search_field.on('keyup', function() { + _this.update_list(); + }); + + this.search_field.on('focus', function() { + _this.search_field_focused(); + }); + + }; + + CSFAjaxChosen.prototype.search_field_focused = function() { + this.search_welcome_message(); + if ( this.options.min_length === 0 && this.search_field.val().length === 0 ) { + this.update_list(); + } + }; + + CSFAjaxChosen.prototype.search_welcome_message = function() { + + var value = $.trim(this.search_field.val()); + var results = this.container.find('.chosen-results'); + + if ( results.children().length === 0 && value.length === 0 ) { + results.html('
  • ' + this.options.typing_text.replace('%s', this.options.min_length - value.length) + '
  • '); + } + + }; + + CSFAjaxChosen.prototype.update_list = function() { + + var _this = this; + + this.search_welcome_message(); + + if ( this.is_typing ) { return; } + + var value = $.trim(this.search_field.val()); + var message = ( value.length < this.options.min_length ) ? this.options.typing_text.replace('%s', this.options.min_length - value.length) : this.options.searching_text; + + this.container.find('.no-results').text(message); + + if ( value === this.search_field.data('prevVal') ) { return; } + + this.search_field.data('prevVal', value); + + if (this.timer) { + clearTimeout(this.timer); + } + + if ( value.length < this.options.min_length ) { return; } + + this.timer = setTimeout( function() { + + if ( _this.chosenXhr ) { + _this.chosenXhr.abort(); + } + + _this.options.data['term'] = value; + + _this.chosenXhr = window.wp.ajax.post('csf-chosen', _this.options.data).done( function( response ) { + _this.show_results( response ); + }).fail( function( response ) { + _this.container.find('.no-results').text(response.error); + }); + + }, this.options.type_delay ); + + }; + + CSFAjaxChosen.prototype.show_results = function( items ) { + + var _this = this; + + if ( this.is_typing || items === null ) { return; } + + if ( items.length === 0 ) { + this.element.data().chosen.no_results_clear(); + this.element.data().chosen.no_results(this.search_field.val()); + return; + } + + var selected_values = []; + + this.element.find('option').each(function() { + if ( $(this).is(':selected') ) { + selected_values.push( $(this).val() + "-" + $(this).text() ); + } else { + if( $(this).attr('value').length ) { + $(this).remove(); + } + } + }); + + $.each(items, function(i, item) { + if ( $.inArray( item.value + "-" + item.text, selected_values ) === -1 ) { + $('