Mercurial > defr > drupal > core
diff themes/garland/fix-ie.css @ 1:c1f4ac30525a 6.0
Drupal 6.0
author | Franck Deroche <webmaster@defr.org> |
---|---|
date | Tue, 23 Dec 2008 14:28:28 +0100 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/themes/garland/fix-ie.css Tue Dec 23 14:28:28 2008 +0100 @@ -0,0 +1,69 @@ +/* $Id: fix-ie.css,v 1.8.2.1 2008/02/05 09:27:26 goba Exp $ */ + +/** + * Garland, for Drupal 6.x + * Stefan Nagtegaal, iStyledThis [dot] nl + * Steven Wittens, acko [dot] net + */ + +body { + /* Center layout */ + text-align: center; + /* Allow text resizing */ + font-size: 80%; +} + +#header-region, #wrapper #container { + /* Reset text alignment */ + text-align: left; /* LTR */ +} + +#wrapper #container #center { + /* Reduce amount of damage done by extremely wide content */ + overflow: hidden; +} + +#wrapper #container #center .right-corner .left-corner { + /* Because of the lack of min-height, we use height as an alternative */ + height: 400px; +} + +fieldset { + /* Don't draw backgrounds on fieldsets in IE, as they look really bad. */ + background: none; +} + +ul.primary { + /* Fix missing top margin */ + position: relative; /* LTR */ +/* top: 0.5em; */ +} + +/* Prevent fieldsets from shifting when changing collapsed state. */ +html.js fieldset.collapsible { + position: relative; + top: -1em; +} +html.js fieldset.collapsed { + top: 0; + margin-bottom: 1em; +} + +tr.menu-disabled { + /* Use filter to emulate CSS3 opacity */ + filter: alpha(opacity=50); +} + +#header-region { + /* Because of the lack of min-height, we use height as an alternative */ + height: 1em; +} + +tr.taxonomy-term-preview { + filter: alpha(opacity=50); +} + +#attach-hide label, #uploadprogress div.message { + /* Fading elements in IE causes the text to bleed unless they have a background. */ + background-color: #ffffff; +}