{"action":"opened","issue":{"url":"https://api.github.com/repos/OrchardCMS/OrchardCore/issues/1671","repository_url":"https://api.github.com/repos/OrchardCMS/OrchardCore","labels_url":"https://api.github.com/repos/OrchardCMS/OrchardCore/issues/1671/labels{/name}","comments_url":"https://api.github.com/repos/OrchardCMS/OrchardCore/issues/1671/comments","events_url":"https://api.github.com/repos/OrchardCMS/OrchardCore/issues/1671/events","html_url":"https://github.com/OrchardCMS/OrchardCore/issues/1671","id":313772308,"number":1671,"title":"media.scss is importing all boostrap.scss","user":{"login":"matiasmolleja","id":2589629,"avatar_url":"https://avatars1.githubusercontent.com/u/2589629?v=4","gravatar_id":"","url":"https://api.github.com/users/matiasmolleja","html_url":"https://github.com/matiasmolleja","followers_url":"https://api.github.com/users/matiasmolleja/followers","following_url":"https://api.github.com/users/matiasmolleja/following{/other_user}","gists_url":"https://api.github.com/users/matiasmolleja/gists{/gist_id}","starred_url":"https://api.github.com/users/matiasmolleja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matiasmolleja/subscriptions","organizations_url":"https://api.github.com/users/matiasmolleja/orgs","repos_url":"https://api.github.com/users/matiasmolleja/repos","events_url":"https://api.github.com/users/matiasmolleja/events{/privacy}","received_events_url":"https://api.github.com/users/matiasmolleja/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-12T15:15:56Z","updated_at":"2018-04-12T15:15:56Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Hi,\r\nIt does that in order to extend a few bootstrap classes.\r\nIt increases file of the generated media.css. \r\nBut the real issue is that depending of the order in wich the css files are loaded by the admin, sometimes the boostrap part of media.css overrrides some rules set by other css files.\r\nOne example of that was the #1511 issue.  The bootstrap rules included in media.css were overriding the way the expand-collapse buttons had to work, expressed in flows.edit.css,\r\n\r\nOne way to solve that could be removing the \"@import full bootstrap\" line, and explicitly include only the rules from bootstrap that we want to override. That would be easy.\r\n\r\nUnless there is some trick in the processing pipeline that I don't know about, that enables extending bootstrap's classes on a module without importing the full library in the resulting css file.\r\n\r\nWhat do you think?\r\n"}}
{"actor":{"display_login":"matiasmolleja"}}