{"action":"created","issue":{"url":"https://api.github.com/repos/AtomLinter/linter-plus/issues/76","labels_url":"https://api.github.com/repos/AtomLinter/linter-plus/issues/76/labels{/name}","comments_url":"https://api.github.com/repos/AtomLinter/linter-plus/issues/76/comments","events_url":"https://api.github.com/repos/AtomLinter/linter-plus/issues/76/events","html_url":"https://github.com/AtomLinter/linter-plus/pull/76","id":89723957,"number":76,"title":"Restyle","user":{"login":"simurai","id":378023,"avatar_url":"https://avatars.githubusercontent.com/u/378023?v=3","gravatar_id":"","url":"https://api.github.com/users/simurai","html_url":"https://github.com/simurai","followers_url":"https://api.github.com/users/simurai/followers","following_url":"https://api.github.com/users/simurai/following{/other_user}","gists_url":"https://api.github.com/users/simurai/gists{/gist_id}","starred_url":"https://api.github.com/users/simurai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simurai/subscriptions","organizations_url":"https://api.github.com/users/simurai/orgs","repos_url":"https://api.github.com/users/simurai/repos","events_url":"https://api.github.com/users/simurai/events{/privacy}","received_events_url":"https://api.github.com/users/simurai/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/AtomLinter/linter-plus/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":15,"created_at":"2015-06-20T06:02:39Z","updated_at":"2015-06-20T14:17:34Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/AtomLinter/linter-plus/pulls/76","html_url":"https://github.com/AtomLinter/linter-plus/pull/76","diff_url":"https://github.com/AtomLinter/linter-plus/pull/76.diff","patch_url":"https://github.com/AtomLinter/linter-plus/pull/76.patch"},"body":"How do you like this:\r\n\r\n![screen shot 2015-06-20 at 2 55 26 pm](https://cloud.githubusercontent.com/assets/378023/8266209/77430e6e-175c-11e5-98c4-dd192c5a9d1f.png)\r\n![screen shot 2015-06-20 at 2 56 30 pm](https://cloud.githubusercontent.com/assets/378023/8266220/f496270c-175c-11e5-839d-46a9be343c0f.png)\r\n![screen shot 2015-06-20 at 2 59 03 pm](https://cloud.githubusercontent.com/assets/378023/8266221/fa155658-175c-11e5-9e7d-36db1ed22844.png)\r\n\r\n- Tabs are more compact.\r\n- Removed the `.badge`. Having a circle inside a square tab felt a bit too much.\r\n\r\nBut yeah, it's not that easy to make it look good in all themes.\r\n\r\n\r\n#### Alternatives:\r\n\r\nMore like segmented controls. And keeping the `@button-background-color-selected` would make it match the find + replace. But might be too strong since it's visible all the time.\r\n\r\n![screen shot 2015-06-20 at 12 07 41 pm](https://cloud.githubusercontent.com/assets/378023/8266224/23776bee-175d-11e5-8655-5dbe2a310bdf.png)\r\n\r\nMore simplified with just text. But doesn't really look like a toggle.\r\n \r\n![screen shot 2015-06-20 at 2 33 35 pm](https://cloud.githubusercontent.com/assets/378023/8266226/40a2a184-175d-11e5-99ba-6fee9372a659.png)\r\n"},"comment":{"url":"https://api.github.com/repos/AtomLinter/linter-plus/issues/comments/113772692","html_url":"https://github.com/AtomLinter/linter-plus/pull/76#issuecomment-113772692","issue_url":"https://api.github.com/repos/AtomLinter/linter-plus/issues/76","id":113772692,"user":{"login":"simurai","id":378023,"avatar_url":"https://avatars.githubusercontent.com/u/378023?v=3","gravatar_id":"","url":"https://api.github.com/users/simurai","html_url":"https://github.com/simurai","followers_url":"https://api.github.com/users/simurai/followers","following_url":"https://api.github.com/users/simurai/following{/other_user}","gists_url":"https://api.github.com/users/simurai/gists{/gist_id}","starred_url":"https://api.github.com/users/simurai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simurai/subscriptions","organizations_url":"https://api.github.com/users/simurai/orgs","repos_url":"https://api.github.com/users/simurai/repos","events_url":"https://api.github.com/users/simurai/events{/privacy}","received_events_url":"https://api.github.com/users/simurai/received_events","type":"User","site_admin":false},"created_at":"2015-06-20T14:17:34Z","updated_at":"2015-06-20T14:17:34Z","body":"Yeah, the padding makes it look a bit fat, but on the other hand, it gives some space between the code and the message. And should make it easier to read it.\r\n\r\nCurrent: `6px` padding -> https://github.com/simurai/linter-plus/blob/sm-restyle-segments/styles/linter-plus.less#L25\r\n![screen shot 2015-06-20 at 11 12 36 pm](https://cloud.githubusercontent.com/assets/378023/8267560/05be41c8-17a2-11e5-8745-0821936a1231.png)\r\n\r\n`4px` padding\r\n![screen shot 2015-06-20 at 11 16 14 pm](https://cloud.githubusercontent.com/assets/378023/8267566/6e851736-17a2-11e5-9fa8-8f6bd7920a65.png)\r\n\r\n`2px` padding\r\n![screen shot 2015-06-20 at 11 12 17 pm](https://cloud.githubusercontent.com/assets/378023/8267559/05baec58-17a2-11e5-9f79-c6a5a71d9939.png)\r\n"}}