{"action":"created","issue":{"url":"https://api.github.com/repos/beautify-web/js-beautify/issues/533","repository_url":"https://api.github.com/repos/beautify-web/js-beautify","labels_url":"https://api.github.com/repos/beautify-web/js-beautify/issues/533/labels{/name}","comments_url":"https://api.github.com/repos/beautify-web/js-beautify/issues/533/comments","events_url":"https://api.github.com/repos/beautify-web/js-beautify/issues/533/events","html_url":"https://github.com/beautify-web/js-beautify/issues/533","id":43507343,"number":533,"title":"Less: Sorts the a-pseudo elements in wrong order","user":{"login":"SubZane","id":90636,"avatar_url":"https://avatars.githubusercontent.com/u/90636?v=3","gravatar_id":"","url":"https://api.github.com/users/SubZane","html_url":"https://github.com/SubZane","followers_url":"https://api.github.com/users/SubZane/followers","following_url":"https://api.github.com/users/SubZane/following{/other_user}","gists_url":"https://api.github.com/users/SubZane/gists{/gist_id}","starred_url":"https://api.github.com/users/SubZane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SubZane/subscriptions","organizations_url":"https://api.github.com/users/SubZane/orgs","repos_url":"https://api.github.com/users/SubZane/repos","events_url":"https://api.github.com/users/SubZane/events{/privacy}","received_events_url":"https://api.github.com/users/SubZane/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/beautify-web/js-beautify/labels/beautify-css","name":"beautify-css","color":"663399"},{"url":"https://api.github.com/repos/beautify-web/js-beautify/labels/needs%20more%20info","name":"needs more info","color":"fef2c0"},{"url":"https://api.github.com/repos/beautify-web/js-beautify/labels/templating","name":"templating","color":"c7def8"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2014-09-22T15:57:20Z","updated_at":"2016-09-02T23:07:49Z","closed_at":null,"body":"This gets sorted\r\n```\r\na.btn-blue-outline {\r\n  &:link,\r\n  &:visited {\r\n    background-color: transparent;\r\n    border: solid 2px @ab_blue;\r\n    color: @ab_blue;\r\n  }\r\n  &:active {\r\n    background-color: @ab_blue;\r\n    color: #fff;\r\n  }\r\n  &:hover {\r\n    background-color: @ab_blue;\r\n    color: #fff;\r\n  }\r\n}\r\n```\r\nLike this:\r\n```\r\na.btn-blue-outline {\r\n  &:active {\r\n    background-color: @ab_blue;\r\n    color: #fff;\r\n  }\r\n  &:hover {\r\n    background-color: @ab_blue;\r\n    color: #fff;\r\n  }\r\n  &:link,\r\n  &:visited {\r\n    background-color: transparent;\r\n    border: solid 2px @ab_blue;\r\n    color: @ab_blue;\r\n  }\r\n\r\n}\r\n```\r\nThere are some notes on the order of these pseudo classes:\r\n\r\n\"Note that the A:hover must be placed after the A:link and A:visited rules, since otherwise the cascading rules will hide the 'color' property of the A:hover rule. Similarly, because A:active is placed after A:hover, the active color (lime) will apply when the user both activates and hovers over the A element.\""},"comment":{"url":"https://api.github.com/repos/beautify-web/js-beautify/issues/comments/244507293","html_url":"https://github.com/beautify-web/js-beautify/issues/533#issuecomment-244507293","issue_url":"https://api.github.com/repos/beautify-web/js-beautify/issues/533","id":244507293,"user":{"login":"SubZane","id":90636,"avatar_url":"https://avatars.githubusercontent.com/u/90636?v=3","gravatar_id":"","url":"https://api.github.com/users/SubZane","html_url":"https://github.com/SubZane","followers_url":"https://api.github.com/users/SubZane/followers","following_url":"https://api.github.com/users/SubZane/following{/other_user}","gists_url":"https://api.github.com/users/SubZane/gists{/gist_id}","starred_url":"https://api.github.com/users/SubZane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SubZane/subscriptions","organizations_url":"https://api.github.com/users/SubZane/orgs","repos_url":"https://api.github.com/users/SubZane/repos","events_url":"https://api.github.com/users/SubZane/events{/privacy}","received_events_url":"https://api.github.com/users/SubZane/received_events","type":"User","site_admin":false},"created_at":"2016-09-02T23:07:49Z","updated_at":"2016-09-02T23:07:49Z","body":"This was 2 years ago, I cannot even remember posting this. Sorry :)"}}
{"actor":{"display_login":"SubZane"}}