{"issue":{"title":"Change variable value based on parent element class?","user":{"login":"rqiu","id":1127297,"url":"https://api.github.com/users/rqiu","gravatar_id":"6369d9ff8371a8016476c2c9fb535250","avatar_url":"https://secure.gravatar.com/avatar/6369d9ff8371a8016476c2c9fb535250?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"created_at":"2011-12-27T07:04:32Z","milestone":null,"state":"open","updated_at":"2011-12-27T07:04:32Z","labels":[],"id":2661816,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"closed_at":null,"html_url":"https://github.com/cloudhead/less.js/issues/535","body":"Something like:\r\n\r\nIf the class of the parent element is \"bar\", then the value of variable \"x\"  will be \"foo\"\r\n\r\nIs it possible in Less?\r\n","number":535,"url":"https://api.github.com/repos/cloudhead/less.js/issues/535","comments":0,"assignee":null},"action":"opened"}