{"action":"created","issue":{"url":"https://api.github.com/repos/CruxFramework/crux-smart-faces/issues/377","labels_url":"https://api.github.com/repos/CruxFramework/crux-smart-faces/issues/377/labels{/name}","comments_url":"https://api.github.com/repos/CruxFramework/crux-smart-faces/issues/377/comments","events_url":"https://api.github.com/repos/CruxFramework/crux-smart-faces/issues/377/events","html_url":"https://github.com/CruxFramework/crux-smart-faces/issues/377","id":68149671,"number":377,"title":"[Widgets] Add attribute 'addStyleName' or refactor 'styleName' attribute","user":{"login":"admtriggo","id":11163759,"avatar_url":"https://avatars.githubusercontent.com/u/11163759?v=3","gravatar_id":"","url":"https://api.github.com/users/admtriggo","html_url":"https://github.com/admtriggo","followers_url":"https://api.github.com/users/admtriggo/followers","following_url":"https://api.github.com/users/admtriggo/following{/other_user}","gists_url":"https://api.github.com/users/admtriggo/gists{/gist_id}","starred_url":"https://api.github.com/users/admtriggo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/admtriggo/subscriptions","organizations_url":"https://api.github.com/users/admtriggo/orgs","repos_url":"https://api.github.com/users/admtriggo/repos","events_url":"https://api.github.com/users/admtriggo/events{/privacy}","received_events_url":"https://api.github.com/users/admtriggo/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/CruxFramework/crux-smart-faces/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/CruxFramework/crux-smart-faces/labels/imported","name":"imported","color":"FFFFFF"},{"url":"https://api.github.com/repos/CruxFramework/crux-smart-faces/labels/Priority-Medium","name":"Priority-Medium","color":"FFFFFF"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-04-13T17:23:18Z","updated_at":"2015-04-13T17:23:39Z","closed_at":null,"body":"_From [claudio....@cruxframework.org](https://code.google.com/u/102254381191677355567/) on May 27, 2014 11:44:41_\n\nToday the default behavior of 'styleName' attribute on widgets is overwrite styles used by Crux, which contain the default styles for the component. This means that on more complex components almost (if not) all its visual functionality is lost.\r\n\r\nThis isn't a so good approach, the declarative form of styleNames should not overwrite Crux styles. If the user want to get rid of our default styles he should do it by removing Crux resources from the project, or, by removing from a component at its specific controller.\r\n\r\nA good approach would be append the declared styleNames on the component. This way the user can give it custom styles directly in the views and the component still get the visual behavior from framework's default styles.\n\n_Original issue: http://code.google.com/p/crux-framework/issues/detail?id=377_"},"comment":{"url":"https://api.github.com/repos/CruxFramework/crux-smart-faces/issues/comments/92435381","html_url":"https://github.com/CruxFramework/crux-smart-faces/issues/377#issuecomment-92435381","issue_url":"https://api.github.com/repos/CruxFramework/crux-smart-faces/issues/377","id":92435381,"user":{"login":"admtriggo","id":11163759,"avatar_url":"https://avatars.githubusercontent.com/u/11163759?v=3","gravatar_id":"","url":"https://api.github.com/users/admtriggo","html_url":"https://github.com/admtriggo","followers_url":"https://api.github.com/users/admtriggo/followers","following_url":"https://api.github.com/users/admtriggo/following{/other_user}","gists_url":"https://api.github.com/users/admtriggo/gists{/gist_id}","starred_url":"https://api.github.com/users/admtriggo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/admtriggo/subscriptions","organizations_url":"https://api.github.com/users/admtriggo/orgs","repos_url":"https://api.github.com/users/admtriggo/repos","events_url":"https://api.github.com/users/admtriggo/events{/privacy}","received_events_url":"https://api.github.com/users/admtriggo/received_events","type":"User","site_admin":false},"created_at":"2015-04-13T17:23:39Z","updated_at":"2015-04-13T17:23:39Z","body":"_From [juli...@cruxframework.org](https://code.google.com/u/108392056359000771618/) on August 26, 2014 12:23:25_\n\n**Labels:** Milestone-M14-C4  \n"}}