{"action":"created","issue":{"url":"https://api.github.com/repos/Yoast/wordpress-seo/issues/5322","repository_url":"https://api.github.com/repos/Yoast/wordpress-seo","labels_url":"https://api.github.com/repos/Yoast/wordpress-seo/issues/5322/labels{/name}","comments_url":"https://api.github.com/repos/Yoast/wordpress-seo/issues/5322/comments","events_url":"https://api.github.com/repos/Yoast/wordpress-seo/issues/5322/events","html_url":"https://github.com/Yoast/wordpress-seo/pull/5322","id":169748858,"number":5322,"title":"Introduce a \"root\" CSS class","user":{"login":"afercia","id":1682452,"avatar_url":"https://avatars.githubusercontent.com/u/1682452?v=3","gravatar_id":"","url":"https://api.github.com/users/afercia","html_url":"https://github.com/afercia","followers_url":"https://api.github.com/users/afercia/followers","following_url":"https://api.github.com/users/afercia/following{/other_user}","gists_url":"https://api.github.com/users/afercia/gists{/gist_id}","starred_url":"https://api.github.com/users/afercia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/afercia/subscriptions","organizations_url":"https://api.github.com/users/afercia/orgs","repos_url":"https://api.github.com/users/afercia/repos","events_url":"https://api.github.com/users/afercia/events{/privacy}","received_events_url":"https://api.github.com/users/afercia/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Yoast/wordpress-seo/labels/enhancement","name":"enhancement","color":"bfe5bf"},{"url":"https://api.github.com/repos/Yoast/wordpress-seo/labels/needs-code-review","name":"needs-code-review","color":"78BDF2"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2016-08-06T14:26:29Z","updated_at":"2016-10-26T13:50:12Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Yoast/wordpress-seo/pulls/5322","html_url":"https://github.com/Yoast/wordpress-seo/pull/5322","diff_url":"https://github.com/Yoast/wordpress-seo/pull/5322.diff","patch_url":"https://github.com/Yoast/wordpress-seo/pull/5322.patch"},"body":"Fixes #5321 \r\n\r\nFirst pass. Not so sure about the filter used for the meta boxes, since it runs multiple times.\r\nFeedback welcome."},"comment":{"url":"https://api.github.com/repos/Yoast/wordpress-seo/issues/comments/256353140","html_url":"https://github.com/Yoast/wordpress-seo/pull/5322#issuecomment-256353140","issue_url":"https://api.github.com/repos/Yoast/wordpress-seo/issues/5322","id":256353140,"user":{"login":"afercia","id":1682452,"avatar_url":"https://avatars.githubusercontent.com/u/1682452?v=3","gravatar_id":"","url":"https://api.github.com/users/afercia","html_url":"https://github.com/afercia","followers_url":"https://api.github.com/users/afercia/followers","following_url":"https://api.github.com/users/afercia/following{/other_user}","gists_url":"https://api.github.com/users/afercia/gists{/gist_id}","starred_url":"https://api.github.com/users/afercia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/afercia/subscriptions","organizations_url":"https://api.github.com/users/afercia/orgs","repos_url":"https://api.github.com/users/afercia/repos","events_url":"https://api.github.com/users/afercia/events{/privacy}","received_events_url":"https://api.github.com/users/afercia/received_events","type":"User","site_admin":false},"created_at":"2016-10-26T13:50:12Z","updated_at":"2016-10-26T13:50:12Z","body":"OK so what I've tried so far:\r\n\r\n1\r\nimport the extensions sass file inside a css rule, e.g.:\r\n```\r\n.licenses-page {\r\n    @import \"extensions\";\r\n}\r\n```\r\n\r\nthis errors, I guess because the imported files contain directives that are only allowed at the base level. Even re-arranging the way the files are imported, it wouldn't work because in some cases the `&` will pull the entire parent selector including the one that wraps the import, messing up the compiled selectors e.g.\r\n```\r\n.yoast-promo-extension & { ...\r\n```\r\n\r\n2.\r\ninstead of importing it, rename and compile the `extensions.scss` file, then enqueue it just in the licenses page. Not particularly elegant but it works.\r\n\r\n3\r\nalternatively, refactor all the yoastcom styles but this would require a good amount of work and I guess it would defeat the original purpose to just reuse the styles\r\n\r\nAny feedback welcome."}}
{"actor":{"display_login":"afercia"}}