{"action":"created","issue":{"url":"https://api.github.com/repos/qTranslate-Team/qtranslate-x/issues/52","labels_url":"https://api.github.com/repos/qTranslate-Team/qtranslate-x/issues/52/labels{/name}","comments_url":"https://api.github.com/repos/qTranslate-Team/qtranslate-x/issues/52/comments","events_url":"https://api.github.com/repos/qTranslate-Team/qtranslate-x/issues/52/events","html_url":"https://github.com/qTranslate-Team/qtranslate-x/issues/52","id":59152062,"number":52,"title":"RFC: \"flat\" flags without bevel effect","user":{"login":"mweimerskirch","id":362092,"avatar_url":"https://avatars.githubusercontent.com/u/362092?v=3","gravatar_id":"","url":"https://api.github.com/users/mweimerskirch","html_url":"https://github.com/mweimerskirch","followers_url":"https://api.github.com/users/mweimerskirch/followers","following_url":"https://api.github.com/users/mweimerskirch/following{/other_user}","gists_url":"https://api.github.com/users/mweimerskirch/gists{/gist_id}","starred_url":"https://api.github.com/users/mweimerskirch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mweimerskirch/subscriptions","organizations_url":"https://api.github.com/users/mweimerskirch/orgs","repos_url":"https://api.github.com/users/mweimerskirch/repos","events_url":"https://api.github.com/users/mweimerskirch/events{/privacy}","received_events_url":"https://api.github.com/users/mweimerskirch/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-02-26T22:07:35Z","updated_at":"2015-03-06T16:53:51Z","closed_at":null,"body":"The flag icons currently have a slight bevel effect. This limits the way they can be used, because the bevel effect does not always fit. If they were flat, they could be used in a more wide range of sites without having to manually find other icons. For backwards compatibility, the bevel effect can be re-added using a line of CSS (2 simple inset box-shadows)\r\nAt the same time, the resolution of the flag icons could be increased so they can be used in larger versions."},"comment":{"url":"https://api.github.com/repos/qTranslate-Team/qtranslate-x/issues/comments/77592826","html_url":"https://github.com/qTranslate-Team/qtranslate-x/issues/52#issuecomment-77592826","issue_url":"https://api.github.com/repos/qTranslate-Team/qtranslate-x/issues/52","id":77592826,"user":{"login":"pedro-mendonca","id":7371591,"avatar_url":"https://avatars.githubusercontent.com/u/7371591?v=3","gravatar_id":"","url":"https://api.github.com/users/pedro-mendonca","html_url":"https://github.com/pedro-mendonca","followers_url":"https://api.github.com/users/pedro-mendonca/followers","following_url":"https://api.github.com/users/pedro-mendonca/following{/other_user}","gists_url":"https://api.github.com/users/pedro-mendonca/gists{/gist_id}","starred_url":"https://api.github.com/users/pedro-mendonca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pedro-mendonca/subscriptions","organizations_url":"https://api.github.com/users/pedro-mendonca/orgs","repos_url":"https://api.github.com/users/pedro-mendonca/repos","events_url":"https://api.github.com/users/pedro-mendonca/events{/privacy}","received_events_url":"https://api.github.com/users/pedro-mendonca/received_events","type":"User","site_admin":false},"created_at":"2015-03-06T16:53:51Z","updated_at":"2015-03-06T16:53:51Z","body":"@johnclause I've completed the experience to use the library https://github.com/lipis/flag-icon-css as submodule.\r\nYou can test it here, I've completely synced it with your last commit https://github.com/qTranslate-Team/qtranslate-x/commit/12e56120bb6b68e2e6055f670c992cef7302db30\r\nLink to test: https://github.com/pedro-mendonca/qtranslate-x/tree/test-flags\r\nIf it's easier to compare I can make a pull request just for you to check full diffs.\r\nI tried to describe every single piece of modification and added //TESTING flag-icon-css in the code.\r\nI didn't modified anything in the widget, It also have a flag option, but I didn't have the time yet. I'll do it later if would like to integrate this submodule to have these brand new flags. As I'm not a developer neither an expert in php, I've searched and successefully re-added the css calls, but you should check if this is ok. Still, aparently it's working allright now :)\r\n\r\nThings to consider:\r\n1) The license, they just ask whoever uses it to keep the license, it's in the path.\r\n2) Loading times, as some flags are heavier as they're detailed vector files. From my experience it's ok, but I should be considered.\r\n\r\nTodo:\r\n1) Check out Alt Text options, verify where it still can substitute old flags, like widget, ultimately delete old flags\r\n2) Delete unnecessary files in the submodule."}}