=== ClassyBlocks — Custom CSS Classes for Gutenberg Blocks ===
Contributors: 		innovazioneweb
Tags:               css, utility classes, design, frontend, custom classes, gutenberg, block editor, css framework, bootstrap, tailwind
Requires at least:  5.8  
Tested up to:       7.0  
Requires PHP:       7.4  
Stable tag: 2.3.0
License:            GPLv2 or later  
License URI:        https://www.gnu.org/licenses/gpl-2.0.html  

Create, manage, and apply custom CSS classes to Gutenberg blocks with live preview, built-in framework support, and zero performance impact.

== Description ==

**ClassyBlocks** transforms how you style Gutenberg blocks. Instead of wrestling with theme CSS, writing repetitive rules, or switching back and forth between editors, you can create and apply custom CSS classes directly from the block editor — with **real-time preview** and **one-click application**.

Whether you're building a simple landing page or a complex multi-site network, ClassyBlocks keeps your workflow fast, consistent, and maintainable.

### Key Features

* **Custom CSS Class Manager** — Create your own library of CSS classes with full support for `:hover`, `:focus`, `:active`, and `:visited` pseudo-states. Name, describe, and organize each class with its own CSS rules.
* **9 Built-in CSS Frameworks** — Bootstrap 5.3, Materialize, Pure CSS, Bulma, UIkit, Spectre, Semantic UI, Foundation, and Tailwind CSS. Toggle each framework on/off independently for the editor and the frontend.
* **Live Preview in Gutenberg** — See exactly how each class looks in real time, directly inside the block editor. No more guesswork or page reloads.
* **One-Click Application** — Apply any custom or framework class to a block with a single click. No typing class names manually.
* **Pack Manager** — Export, import, and share complete sets of CSS classes as packs. Perfect for agencies managing multiple sites or teams collaborating on design systems.
* **Interactive Preview Mode** — Test your classes interactively with Auto and Interactive modes that cycle through pseudo-states.

### What you can do

* **Design faster** — Build a reusable library of utility classes and apply them across your entire site in seconds.
* **Stay organized** — Group classes into packs by project, component, or design system. Search, filter, and manage everything from one dashboard.
* **Work with any theme** — ClassyBlocks works with every WordPress theme. It integrates especially well with Blocksy, GeneratePress, Astra, and other modern block-ready themes.
* **Keep performance tight** — The plugin generates a minimal, optimized stylesheet with zero JavaScript overhead on the frontend. No bloat, no slowdowns.

### Perfect for

* **Developers and agencies** building client sites with consistent design systems.
* **Freelancers** who want to speed up their Gutenberg workflow without custom coding every time.
* **Site owners** who want more design flexibility without installing a page builder.

**ClassyBlocks** — the smart way to manage CSS classes in WordPress.

== How it works ==

1. Install and activate the plugin.
2. Go to the CSS Classes section and create your own classes with the properties you want.
3. Go to the page editor (Gutenberg).
4. In the "CSS Classes" section of each block, you can select the plugin's custom classes.

You can easily combine classes to achieve complex results.

== Installation ==

1. Download the plugin from GitHub or the repository.
2. Upload the `studioimmens-css-classes` folder to the `/wp-content/plugins/` directory.
3. Activate the plugin from the WordPress "Plugins" section.
4. Go to the CSS Classes section and create your own classes with the properties you want.
5. Start using advanced CSS classes in your Gutenberg blocks.

== FAQ ==

= Is it compatible with all themes? =
Yes, but it's designed to integrate seamlessly with Blocksy, GeneratePress, Astra, and other themes with a modern structure and clean semantics.

= Can I add my own custom classes? =
Of course. Go to the CSS Class section and create as many classes with the properties you want.

= Will the plugin slow down my site? =
No. The CSS file is minimal, loads optimally, and doesn't include JavaScript.

== Screenshots ==

1. Custom CSS class creation and management dashboard.
2. New CSS Class creation modal with interactive preview.
3. Settings page with CSS framework toggles and Tailwind configuration.
4. Pack Manager for importing, exporting, and organizing CSS class packs.
5. Resources page showcasing other Studio Immens plugins.
6. CSS classes grid with live preview and search functionality.

== Changelog ==

= 2.3.0 =
* Added WordPress.org SVN deploy automation via GitHub Actions.
* Updated screenshots and WordPress.org assets.
* Improved readme.txt description and formatting.
* Fixed Tested up to version consistency.

= 2.2.0 =
* Tailwind CSS now bundled locally (no external CDN dependency)
* Enhanced security: CSS sanitization, file upload validation, XSS fixes
* Improved localization: all JavaScript strings are translatable
* Replaced uniqid() with wp_generate_uuid4() for stronger IDs
* Added HTTP method checks to all AJAX handlers
* Various performance and security improvements

= 2.1.0 =
* Rebrand: Studio Immens CSS Classes → ClassyBlocks
* Introdotto ClassyBlocks Pro: animazioni scroll-driven, Pack Manager e funzionalità premium

= 1.2.1 =
* bug fix
* Added setting page options

= 1.1.1 =
* bug fix

= 1.1.0 =
* Added multiple set of framework CSS easly selectable from editor ( bootstrap, materialize, purecss, uikit, spectre, bulma, semantic )
* Added setting page

= 1.0.0 =
* Initial stable release
* Added core set of CSS utility classes
* Compatibility with Gutenberg and Blocksy, GeneratePress, and Astra themes

== Credits ==

Developed by [Studio Immens](https://www.studioimmens.com) – Modular digital solutions for professionals and businesses.

== License ==

This plugin is licensed under the GPL v2 or later.
