{"action":"created","issue":{"url":"https://api.github.com/repos/atom/atom/issues/8237","labels_url":"https://api.github.com/repos/atom/atom/issues/8237/labels{/name}","comments_url":"https://api.github.com/repos/atom/atom/issues/8237/comments","events_url":"https://api.github.com/repos/atom/atom/issues/8237/events","html_url":"https://github.com/atom/atom/issues/8237","id":99301306,"number":8237,"title":"Ordering of styles makes some button Bootstrap styles unusable","user":{"login":"ssorallen","id":29612,"avatar_url":"https://avatars.githubusercontent.com/u/29612?v=3","gravatar_id":"","url":"https://api.github.com/users/ssorallen","html_url":"https://github.com/ssorallen","followers_url":"https://api.github.com/users/ssorallen/followers","following_url":"https://api.github.com/users/ssorallen/following{/other_user}","gists_url":"https://api.github.com/users/ssorallen/gists{/gist_id}","starred_url":"https://api.github.com/users/ssorallen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ssorallen/subscriptions","organizations_url":"https://api.github.com/users/ssorallen/orgs","repos_url":"https://api.github.com/users/ssorallen/repos","events_url":"https://api.github.com/users/ssorallen/events{/privacy}","received_events_url":"https://api.github.com/users/ssorallen/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/atom/atom/labels/question","name":"question","color":"EDEDED"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-05T21:19:50Z","updated_at":"2015-08-05T21:21:49Z","closed_at":null,"body":"'static/bootstrap' is always included before 'static/atom', which means Atom's styles win on document order precedence. Atom's [buttons.less](https://github.com/atom/atom/blob/master/static/buttons.less) re-declares the `.btn` class, which means its styles have the same specificity as Bootstrap's button \"sub\"classes like `.btn-link`.\r\n\r\n`<button class=\"btn btn-link\"></button>` inside Atom looks like a regular button because Atom's `.btn` declares background color and border, overriding the `.btn-link` declaration.\r\n\r\nIs it feasible to import Bootstrap as less and set Less variables for Bootstrap rather than re-declaring the class names? Bootstrap exposes dozens of variables for customization: http://getbootstrap.com/customize/\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/atom/atom/issues/comments/128152714","html_url":"https://github.com/atom/atom/issues/8237#issuecomment-128152714","issue_url":"https://api.github.com/repos/atom/atom/issues/8237","id":128152714,"user":{"login":"benogle","id":69169,"avatar_url":"https://avatars.githubusercontent.com/u/69169?v=3","gravatar_id":"","url":"https://api.github.com/users/benogle","html_url":"https://github.com/benogle","followers_url":"https://api.github.com/users/benogle/followers","following_url":"https://api.github.com/users/benogle/following{/other_user}","gists_url":"https://api.github.com/users/benogle/gists{/gist_id}","starred_url":"https://api.github.com/users/benogle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benogle/subscriptions","organizations_url":"https://api.github.com/users/benogle/orgs","repos_url":"https://api.github.com/users/benogle/repos","events_url":"https://api.github.com/users/benogle/events{/privacy}","received_events_url":"https://api.github.com/users/benogle/received_events","type":"User","site_admin":true},"created_at":"2015-08-05T21:21:49Z","updated_at":"2015-08-05T21:21:49Z","body":"Ideally, we'd like to get rid of bootstrap at some point. cc @simurai "}}