{"action":"created","issue":{"url":"https://api.github.com/repos/tolo/InterfaCSS/issues/18","labels_url":"https://api.github.com/repos/tolo/InterfaCSS/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/tolo/InterfaCSS/issues/18/comments","events_url":"https://api.github.com/repos/tolo/InterfaCSS/issues/18/events","html_url":"https://github.com/tolo/InterfaCSS/issues/18","id":48690579,"number":18,"title":"pseudo classes","user":{"login":"tbrannam","id":78813,"avatar_url":"https://avatars.githubusercontent.com/u/78813?v=3","gravatar_id":"","url":"https://api.github.com/users/tbrannam","html_url":"https://github.com/tbrannam","followers_url":"https://api.github.com/users/tbrannam/followers","following_url":"https://api.github.com/users/tbrannam/following{/other_user}","gists_url":"https://api.github.com/users/tbrannam/gists{/gist_id}","starred_url":"https://api.github.com/users/tbrannam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tbrannam/subscriptions","organizations_url":"https://api.github.com/users/tbrannam/orgs","repos_url":"https://api.github.com/users/tbrannam/repos","events_url":"https://api.github.com/users/tbrannam/events{/privacy}","received_events_url":"https://api.github.com/users/tbrannam/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2014-11-13T20:55:12Z","updated_at":"2015-02-13T13:06:32Z","closed_at":"2015-01-10T13:40:15Z","body":"I'd propose supporting pseudo classes that allow styling on device form factor.\r\nas a minimum \"phone\". \"tablet\" - \r\n\r\nI could see perhaps following the pattern of size-classes instead (width-compact, width-any, width-regular, height-compact, height-any, height-regular)?\r\n\r\nIt might also be helpful if the Pseudo Class Parse supported multiple Pseudo Classes in a style definition - or is there another way to express this already?\r\n\r\n    .simple:phone:landscape{\r\n        backgroundColor: red;\r\n    }\r\n\r\n    .simple:phone:portrait{\r\n        backgroundColor: blue;\r\n    }\r\n\r\n    .simple:tablet:portrait{\r\n        backgroundColor: pink;\r\n    }\r\n    .simple:tablet:landscape{\r\n        backgroundColor: green;\r\n    }"},"comment":{"url":"https://api.github.com/repos/tolo/InterfaCSS/issues/comments/74250570","html_url":"https://github.com/tolo/InterfaCSS/issues/18#issuecomment-74250570","issue_url":"https://api.github.com/repos/tolo/InterfaCSS/issues/18","id":74250570,"user":{"login":"tolo","id":1228601,"avatar_url":"https://avatars.githubusercontent.com/u/1228601?v=3","gravatar_id":"","url":"https://api.github.com/users/tolo","html_url":"https://github.com/tolo","followers_url":"https://api.github.com/users/tolo/followers","following_url":"https://api.github.com/users/tolo/following{/other_user}","gists_url":"https://api.github.com/users/tolo/gists{/gist_id}","starred_url":"https://api.github.com/users/tolo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tolo/subscriptions","organizations_url":"https://api.github.com/users/tolo/orgs","repos_url":"https://api.github.com/users/tolo/repos","events_url":"https://api.github.com/users/tolo/events{/privacy}","received_events_url":"https://api.github.com/users/tolo/received_events","type":"User","site_admin":false},"created_at":"2015-02-13T13:06:32Z","updated_at":"2015-02-13T13:06:32Z","body":"Glad to hear it! :)"}}