From: the_mgt Date: Sun, 24 Jul 2011 13:59:50 +0000 (+0200) Subject: IE <9 styling with seperate stylesheet X-Git-Tag: v8.11~553 X-Git-Url: https://code.citadel.org/?a=commitdiff_plain;h=11cf32905e27e186f612523ec5168be7dab73dd9;hp=a15ba5c1ede7c86a85d62ed5b539dcfc9f415bc1;p=citadel.git IE <9 styling with seperate stylesheet Added conditional for IE less than version 9, removed the nonworking stuff from general stylesheets and moved them to ie_lte8.css Also forced IE8 to use IE8 rendering instead of "legacy" mode. --- diff --git a/webcit/static/styles/box.css b/webcit/static/styles/box.css index 2a6163bc4..cb150829e 100644 --- a/webcit/static/styles/box.css +++ b/webcit/static/styles/box.css @@ -41,8 +41,3 @@ -moz-box-shadow: #666 0px 2px 3px; box-shadow: #666 0px 2px 3px; } - -* .boxcontent { - border: 1px inset #666; - border-width: 1px 2px 3px 1px; -} diff --git a/webcit/static/styles/ie_lte8.css b/webcit/static/styles/ie_lte8.css new file mode 100644 index 000000000..2591eaeab --- /dev/null +++ b/webcit/static/styles/ie_lte8.css @@ -0,0 +1,10 @@ +.message { + border: 1px inset #666; + border-width: 1px 2px 3px 1px; +} + +.boxcontent { + border: 2px inset #5C646B; + border-width: 0 2px 3px 0; +} + diff --git a/webcit/static/styles/message.css b/webcit/static/styles/message.css index 0f3fe647c..600b9d417 100644 --- a/webcit/static/styles/message.css +++ b/webcit/static/styles/message.css @@ -8,11 +8,6 @@ /* behavior: url(/static/styles/PIE.htc);*/ } -* .message { - border: 1px inset #666; - border-width: 1px 2px 3px 1px; -} - .entmsg { height: 95%; } .message_header { diff --git a/webcit/static/t/head.html b/webcit/static/t/head.html index 5473907b3..b8f133229 100644 --- a/webcit/static/t/head.html +++ b/webcit/static/t/head.html @@ -4,6 +4,7 @@ <?CURRENT_ROOM> - <?SERV:HUMANNODE> + @@ -12,8 +13,10 @@ stylesheet" type="text/css" id="style_iconbar_icns" title="Default iconbar"> stylesheet" type="text/css" id="style_iconbar_piconly" title="Iconbar without text"> - - + +