{"ref":"refs/heads/master","commits":[{"author":{"name":"Chris Roos & Jason Cale","email":"72e127b6c13abe3540c570adc342bfc7e6cff920@gofreerange.com"},"message":"Refactor grid system into mixins.\n\nSo they can be easily used within different CSS selector scopes.\n\ni.e.\n\n  ul.smiles li {\n    @include single_column_grid;\n  }\n\nso instead of this markup\n\n  <ul class=\"smiles\">\n    <li class=\"g1\"></li>\n  </ul>\n\nwe can have\n\n  <ul class=\"smiles\">\n    <li></li>\n  </ul>\n\nWe are trying to limit the use of the grid classes (g1,g2,g3) to <div> elements which have no purpose but layout/structure, and if we want the same behaviour on a specific element we should define it in it's style instead of plonking a grid class on it which doesn't really add much semantic value.\n\nAlso because the grid is based on an elastic folding grid, we need to be careful with adding padding etc the box model of the element which could screw up the elastic width calculations, therefore I'm trying to discourage the use of the grid classes being used on random elements to try and mimic layout choices I have made previously... (jase)","url":"https://api.github.com/repos/alphagov/whitehall/commits/ed0b66a6dda043d24588a7079d41538122e5c834","sha":"ed0b66a6dda043d24588a7079d41538122e5c834"},{"author":{"name":"Chris Roos & Jason Cale","email":"72e127b6c13abe3540c570adc342bfc7e6cff920@gofreerange.com"},"message":"Separate grouped/non-grouped lists.\n\nThe list partials (countries, ministerial roles, organisations and topics) were being used for both index pages and in the sidebars of other pages.  We want them to appear grouped on the index pages but not in sidebars so we've split them into two partials (grouped_list and list).\n\nWe've got a special case with the ministerial roles, in that we want to be able to customise the content of the li.  We've catered for this by introducing the render_list_of_ministerial_roles helper.","url":"https://api.github.com/repos/alphagov/whitehall/commits/050377e2c6551775ffeed1896e220224c1addfa6","sha":"050377e2c6551775ffeed1896e220224c1addfa6"}],"head":"050377e2c6551775ffeed1896e220224c1addfa6","size":2,"push_id":49482071}