{"id":20373651,"url":"https://github.com/doublesecretagency/craft-cpcss","last_synced_at":"2025-04-05T07:08:14.222Z","repository":{"id":16969188,"uuid":"19731740","full_name":"doublesecretagency/craft-cpcss","owner":"doublesecretagency","description":"Control Panel CSS plugin for Craft CMS","archived":false,"fork":false,"pushed_at":"2024-07-11T17:28:43.000Z","size":1201,"stargazers_count":117,"open_issues_count":4,"forks_count":8,"subscribers_count":8,"default_branch":"v3-dev","last_synced_at":"2025-03-29T06:09:08.758Z","etag":null,"topics":["control-panel-css","craft","craftcms","css"],"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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2014-05-13T08:38:36.000Z","updated_at":"2024-07-11T17:28:47.000Z","dependencies_parsed_at":"2024-06-18T13:59:26.852Z","dependency_job_id":"ed42cac6-e690-4fea-b66f-f3eb2cc5b79f","html_url":"https://github.com/doublesecretagency/craft-cpcss","commit_stats":{"total_commits":55,"total_committers":3,"mean_commits":"18.333333333333332","dds":"0.054545454545454564","last_synced_commit":"79d274571163d428f62ed17d208b4defee143c9d"},"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doublesecretagency%2Fcraft-cpcss","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doublesecretagency%2Fcraft-cpcss/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doublesecretagency%2Fcraft-cpcss/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doublesecretagency%2Fcraft-cpcss/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/doublesecretagency","download_url":"https://codeload.github.com/doublesecretagency/craft-cpcss/tar.gz/refs/heads/v3-dev","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247299833,"owners_count":20916190,"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-css","craft","craftcms","css"],"created_at":"2024-11-15T01:19:24.454Z","updated_at":"2025-04-05T07:08:14.193Z","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-cpcss/v2/src/icon.svg\" alt=\"Plugin icon\"\u003e\n\n# Control Panel CSS plugin for Craft CMS\n\n**Add custom CSS to your Control Panel.**\n\n---\n\nEasily overwrite the default Control Panel styles that ship with Craft...\n\n![](src/resources/img/example-cp.png)\n\nAfter installing the plugin, go to:\n\n- **Settings \u003e Control Panel CSS**\n\nYour custom CSS can be saved in either (or both) of two places:\n\n**1) An external file in your public directory...**\n![](src/resources/img/example-cssFile.png)\n\n**2) The \"Additional CSS\" field on the settings page...**\n![](src/resources/img/example-additionalCss.png)\n\nYou can now customize the CSS in any way you see fit!\n\n---\n\n## Starter Code\n\nCustomizing your CSS is pretty easy. But to make it even easier, here's a snippet to get you started...\n\n```css\n/* Sidebar background color */\n#global-sidebar {\n    background: #333f4d;\n}\n\n/* Header background color */\n#main-container #main #header {\n    background: #ebedef;\n}\n\n/* H1 tags */\nh1 {\n    color: #29323d;\n}\n\n/* Standard button color */\n.btn.submit {\n    background: #da5a47;\n}\n/* Hover button color */\n.btn.submit:not(.disabled):not(.inactive):hover,\n.btn.submit:not(.disabled):not(.inactive).hover {\n    background: #bf503f;\n}\n/* Active button color */\n.btn.submit:not(.disabled):not(.inactive):active,\n.btn.submit:not(.disabled):not(.inactive).active {\n    background: #8c3b2e;\n}\n```\n\nAnd here's the same code as a [Gist...](https://gist.github.com/lindseydiloreto/37332424e0edaef54cabc50c324b0fab)\n\n---\n\n## File Hashing\n\nTo ensure you get the freshest version of your CSS, a cache-busting hash is appended to the end of each file reference.\n\nThis can be disabled by setting `cacheBusting` to **false** in the [PHP config file](https://github.com/doublesecretagency/craft-cpcss/blob/v2/src/config.php)...\n\n```php\n// Disable hash-based cache busting\n'cacheBusting' =\u003e false\n```\n\nSee config file for usage instructions.\n\n---\n\n## Anything else?\n\nWe've got other plugins too!\n\nCheck out the full catalog at [plugins.doublesecretagency.com](https://plugins.doublesecretagency.com)\n\n**On behalf of Double Secret Agency, thanks for checking out our plugin!** 🍺\n\n\u003cp align=\"center\"\u003e\n    \u003cimg width=\"130\" src=\"https://www.doublesecretagency.com/resources/images/dsa-transparent.png\" alt=\"Logo for Double Secret Agency\"\u003e\n\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdoublesecretagency%2Fcraft-cpcss","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdoublesecretagency%2Fcraft-cpcss","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdoublesecretagency%2Fcraft-cpcss/lists"}