Upgrade HTML 4 Tripoli CSS reset to something more like the html5 doctor one: http://html5doctor.com/html-5-reset-stylesheet/
- Remove html5.css

Add IE conditional classes to either the body tag or the html tag instead of IE conditional style sheets.
- Less load time. Less hacks.
- Update ie css fixes to use new descendant selectors instead of conditional stylesheets and hack selectors.

Provide a default handheld.css file
- Could be commented out by default like all.css

Add class="no-js" to html tag

Remove clearblock from css documents as it is now legacy in D7

Comments

sherakama’s picture

Assigned: Unassigned » sherakama
Status: Active » Needs review

Modified the Tripoli CSS reset to maintain a bunch of the styling and include the new HTML5 elements reset
removed html5.css patch file

Added IE conditional fields to the body tag so there is no reason to include IE conditional stylesheets.
removed ie conditional css files

Added in a .less file and tested less module. Not working as expected. Will leave it for the themer to preprocess his/her own files

Added in a mobile.css file with some predefined media queries

added the no-js tag to the html element for non-javascript enabled browsers

removed legacy clearblock classes

Updated on github: https://github.com/sherakama/layoutstudio7

rhache’s picture

Few notes here:

  • removing html5.css and combining with tripoli in the defaults.css was going to be my recommendation. Thanks!
  • The IE body should be added via template.php, not page.tpl.php. This is also a separate issue in the queue: #1027554: add major browser, OS, to body class. I think the easiest thing to do anyway is to support the browser class module, which creates a nice array for this very purpose, and not just IE.
  • Is the no-js classes added via the template.php?
sherakama’s picture

I have removed the IE conditional tags in the development branch on github and will leave them to be added by the browserclass module.

the no-js class that is on the body tag is hard coded. Do we really need to do this at the template.php level? For those browsers that have js enabled it is removed and a longer list of classes is added with modernizr.

sherakama’s picture

rhache’s picture

Status: Needs review » Closed (won't fix)