{"id":20373663,"url":"https://github.com/doublesecretagency/craft-cpbodyclasses","last_synced_at":"2025-04-12T06:52:16.677Z","repository":{"id":56971521,"uuid":"61738757","full_name":"doublesecretagency/craft-cpbodyclasses","owner":"doublesecretagency","description":"Control Panel Body Classes plugin for Craft CMS","archived":false,"fork":false,"pushed_at":"2024-02-21T03:12:38.000Z","size":592,"stargazers_count":24,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"v3-dev","last_synced_at":"2025-03-26T02:11:48.498Z","etag":null,"topics":["control-panel","craft","craftcms","css","javascript"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/doublesecretagency.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-06-22T17:35:40.000Z","updated_at":"2023-08-24T21:37:29.000Z","dependencies_parsed_at":"2022-08-21T11:20:16.746Z","dependency_job_id":null,"html_url":"https://github.com/doublesecretagency/craft-cpbodyclasses","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doublesecretagency%2Fcraft-cpbodyclasses","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doublesecretagency%2Fcraft-cpbodyclasses/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doublesecretagency%2Fcraft-cpbodyclasses/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doublesecretagency%2Fcraft-cpbodyclasses/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/doublesecretagency","download_url":"https://codeload.github.com/doublesecretagency/craft-cpbodyclasses/tar.gz/refs/heads/v3-dev","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248429062,"owners_count":21101780,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["control-panel","craft","craftcms","css","javascript"],"created_at":"2024-11-15T01:19:29.540Z","updated_at":"2025-04-12T06:52:16.636Z","avatar_url":"https://github.com/doublesecretagency.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg align=\"left\" src=\"https://raw.githubusercontent.com/doublesecretagency/craft-cpbodyclasses/v2/src/icon.svg\" alt=\"Plugin icon\"\u003e\n\n# Control Panel Body Classes plugin for Craft CMS\n\n**Add special classes to the Control Panel's `\u003cbody\u003e` tag.**\n\n---\n\n**Pairs perfectly with the [Control Panel CSS](https://github.com/doublesecretagency/craft-cpcss) and [Control Panel JS](https://github.com/doublesecretagency/craft-cpjs) plugins!**\n\nAfter you've installed the plugin, go to:\n\n- **Settings \u003e Plugins \u003e Control Panel Body Classes**\n\nFrom the settings page, you can select which classes you want to use:\n\n![](src/resources/img/example-settings.png)\n\nThese special classes will now be included in the `\u003cbody\u003e` tag of the CP. You can use these classes to manipulate the CSS \u0026 JavaScript of the Control Panel however you choose.\n\n---\n\n## But why?\n\nBecause there are a million things that you may want to do in your control panel, and many of them are conditional. Perhaps you want your CSS (or JS) to only take effect for a certain user group, or only on a specific page. Use these special classes to hone in on your targets with precision!\n\nThis plugin is designed to work in tandem with [Control Panel CSS](https://github.com/doublesecretagency/craft-cpcss) and/or [Control Panel JS](https://github.com/doublesecretagency/craft-cpjs).\n\n---\n\n## Disclaimer\n\n\u003eIt's important to note that showing/hiding fields via CSS and JavaScript is **purely cosmetic**. Those fields may remain accessible to a savvy user, so don't rely on this plugin to guarantee access/denial of any DOM elements. **We accept no liability for any security issues arising from the use of this plugin.**\n\n---\n\n## Anything else?\n\nWe've got other plugins too!\n\nCheck out the full catalog at [doublesecretagency.com/plugins](https://www.doublesecretagency.com/plugins)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdoublesecretagency%2Fcraft-cpbodyclasses","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdoublesecretagency%2Fcraft-cpbodyclasses","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdoublesecretagency%2Fcraft-cpbodyclasses/lists"}