From 11cf32905e27e186f612523ec5168be7dab73dd9 Mon Sep 17 00:00:00 2001 From: the_mgt Date: Sun, 24 Jul 2011 15:59:50 +0200 Subject: [PATCH] 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. --- webcit/static/styles/box.css | 5 ----- webcit/static/styles/ie_lte8.css | 10 ++++++++++ webcit/static/styles/message.css | 5 ----- webcit/static/t/head.html | 7 +++++-- 4 files changed, 15 insertions(+), 12 deletions(-) create mode 100644 webcit/static/styles/ie_lte8.css 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"> - - + + -- 2.30.2