{"action":"created","issue":{"url":"https://api.github.com/repos/projecthydra/sufia/issues/1611","repository_url":"https://api.github.com/repos/projecthydra/sufia","labels_url":"https://api.github.com/repos/projecthydra/sufia/issues/1611/labels{/name}","comments_url":"https://api.github.com/repos/projecthydra/sufia/issues/1611/comments","events_url":"https://api.github.com/repos/projecthydra/sufia/issues/1611/events","html_url":"https://github.com/projecthydra/sufia/issues/1611","id":137138332,"number":1611,"title":"Restructure CSS","user":{"login":"justcolin","id":11234702,"avatar_url":"https://avatars.githubusercontent.com/u/11234702?v=3","gravatar_id":"","url":"https://api.github.com/users/justcolin","html_url":"https://github.com/justcolin","followers_url":"https://api.github.com/users/justcolin/followers","following_url":"https://api.github.com/users/justcolin/following{/other_user}","gists_url":"https://api.github.com/users/justcolin/gists{/gist_id}","starred_url":"https://api.github.com/users/justcolin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justcolin/subscriptions","organizations_url":"https://api.github.com/users/justcolin/orgs","repos_url":"https://api.github.com/users/justcolin/repos","events_url":"https://api.github.com/users/justcolin/events{/privacy}","received_events_url":"https://api.github.com/users/justcolin/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/projecthydra/sufia/labels/needs%20feedback","name":"needs feedback","color":"8DC2BC"},{"url":"https://api.github.com/repos/projecthydra/sufia/labels/user%20interface","name":"user interface","color":"02e10c"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/projecthydra/sufia/milestones/3","html_url":"https://github.com/projecthydra/sufia/milestones/Backlog","labels_url":"https://api.github.com/repos/projecthydra/sufia/milestones/3/labels","id":698888,"number":3,"title":"Backlog","description":"","creator":{"login":"jcoyne","id":92044,"avatar_url":"https://avatars.githubusercontent.com/u/92044?v=3","gravatar_id":"","url":"https://api.github.com/users/jcoyne","html_url":"https://github.com/jcoyne","followers_url":"https://api.github.com/users/jcoyne/followers","following_url":"https://api.github.com/users/jcoyne/following{/other_user}","gists_url":"https://api.github.com/users/jcoyne/gists{/gist_id}","starred_url":"https://api.github.com/users/jcoyne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcoyne/subscriptions","organizations_url":"https://api.github.com/users/jcoyne/orgs","repos_url":"https://api.github.com/users/jcoyne/repos","events_url":"https://api.github.com/users/jcoyne/events{/privacy}","received_events_url":"https://api.github.com/users/jcoyne/received_events","type":"User","site_admin":false},"open_issues":50,"closed_issues":38,"state":"open","created_at":"2014-06-23T15:40:03Z","updated_at":"2016-03-02T20:35:27Z","due_on":null,"closed_at":null},"comments":38,"created_at":"2016-02-29T03:17:41Z","updated_at":"2016-03-02T20:44:12Z","closed_at":"2016-03-02T20:35:27Z","body":"## Summary\r\n\r\nWhile working on U-M's beta interface for our repository based on Sufia 7 we had a lot of trouble working with Sufia's current stylesheets. The following suggestions are centered around simplifying maintenance and making it easier for groups to customize Sufia's views as much or as little as they see fit.\r\n\r\n**Note:** This issue should probably be dealt with as part of implementing whatever the UI working group comes up with instead of working on the current interface.\r\n\r\n## Suggestions\r\n\r\n1. Reduce the amount of CSS in Sufia to a bare minimum, instead relying on native Bootstrap wherever possible.\r\n  - Bootstrap is a great tool that was made to be easier to customize. If we let Bootstrap do almost all the heavy lifting and trust it to have proper padding/margins it will be a lot easier for developers to customize Sufia to meet their needs\r\n  - This is also reduce the amount of CSS which has to be maintained by the Sufia community.\r\n2. Any custom CSS shouldn't have any id's in the selectors, and should only have at most two classes.\r\n  - This will make it easier to overwrite styles and will ease longterm maintenance.\r\n3. Add semantically named classes to most elements in Sufia, even when they aren't being used by stock Sufia's CSS.\r\n  - This will make it easier for people to restyle Sufia without having the go in and edit the HTML.\r\n4. Improve the accessibility of Sufia's stock styles.\r\n  - There are a number of things that need improvement so that it is easier for more people to use Sufia, such as more obvious link styles, clear `:hover` and `:focus` actions, etc.\r\n\r\n## Related\r\nSee #1594 for the start of this discussion\r\nSee #1608 for the discussion of front-end development best practices"},"comment":{"url":"https://api.github.com/repos/projecthydra/sufia/issues/comments/191421444","html_url":"https://github.com/projecthydra/sufia/issues/1611#issuecomment-191421444","issue_url":"https://api.github.com/repos/projecthydra/sufia/issues/1611","id":191421444,"user":{"login":"justcolin","id":11234702,"avatar_url":"https://avatars.githubusercontent.com/u/11234702?v=3","gravatar_id":"","url":"https://api.github.com/users/justcolin","html_url":"https://github.com/justcolin","followers_url":"https://api.github.com/users/justcolin/followers","following_url":"https://api.github.com/users/justcolin/following{/other_user}","gists_url":"https://api.github.com/users/justcolin/gists{/gist_id}","starred_url":"https://api.github.com/users/justcolin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justcolin/subscriptions","organizations_url":"https://api.github.com/users/justcolin/orgs","repos_url":"https://api.github.com/users/justcolin/repos","events_url":"https://api.github.com/users/justcolin/events{/privacy}","received_events_url":"https://api.github.com/users/justcolin/received_events","type":"User","site_admin":false},"created_at":"2016-03-02T20:44:12Z","updated_at":"2016-03-02T20:44:12Z","body":"@jcoyne: What's the reasoning for closing this ticket? I am not opposed to it, just wondering what the reasoning is."}}