alecpl
2009-06-05 cf7f222870eac0e3cb84c43ea2c7ee8b9ce206ca
- move safari hacks to separate css file


3 files modified
1 files added
33 ■■■■ changed files
skins/default/iehacks.css 7 ●●●●● patch | view | raw | blame | history
skins/default/includes/links.html 7 ●●●● patch | view | raw | blame | history
skins/default/mail.css 8 ●●●●● patch | view | raw | blame | history
skins/default/safari.css 11 ●●●●● patch | view | raw | blame | history
skins/default/iehacks.css
@@ -152,6 +152,13 @@
  width: 99%;
}
div.message-part pre,
div.message-htmlpart pre,
div.message-part div.pre
{
  word-wrap: break-word;
}
#addressscreen
{
  width: expression((parseInt(document.documentElement.clientWidth)-220)+'px');
skins/default/includes/links.html
@@ -2,5 +2,10 @@
<link rel="shortcut icon" href="/images/favicon.ico"/>
<link rel="stylesheet" type="text/css" href="/common.css" />
<roundcube:if condition="env:task != 'login'" /><link rel="stylesheet" type="text/css" href="/<roundcube:exp expression="env:task=='addressbook'?'addresses':env:task" />.css" /><roundcube:endif />
<roundcube:if condition="browser:ie" />
<!--[if lte IE 7]><link rel="stylesheet" type="text/css" href="/iehacks.css" /><![endif]-->
<!--[if lte IE 6]><link rel="stylesheet" type="text/css" href="/ie6hacks.css" /><![endif]-->
<!--[if lte IE 6]><link rel="stylesheet" type="text/css" href="/ie6hacks.css" /><![endif]-->
<roundcube:endif />
<roundcube:if condition="browser:safari" />
<link rel="stylesheet" type="text/css" href="/safari.css" />
<roundcube:endif />
skins/default/mail.css
@@ -701,13 +701,6 @@
  color: #CCCCCC;
}
/* safari hacks \*/
html>body*#messagelist[id$="messagelist"]:not([class="none"]) { width: 99.8%; }
html>body*#messagelist[id$="messagelist"]:not([class="none"]) tr td.flag,
html>body*#messagelist[id$="messagelist"]:not([class="none"]) tr td.icon { width: 20px; }
html>body*input[type$="file"]:not([class="none"]) { background-color: transparent; border: 0; }
/**/
#quotadisplay
{
  color: #666666;
@@ -889,7 +882,6 @@
  white-space: -moz-pre-wrap !important;
  white-space: pre-wrap !important;
  white-space: pre;
  word-wrap: break-word; /* IE (and Safari) */
}
div.message-part blockquote
skins/default/safari.css
New file
@@ -0,0 +1,11 @@
html>body*#messagelist[id$="messagelist"]:not([class="none"]) { width: 99.8%; }
html>body*#messagelist[id$="messagelist"]:not([class="none"]) tr td.flag,
html>body*#messagelist[id$="messagelist"]:not([class="none"]) tr td.icon { width: 20px; }
html>body*input[type$="file"]:not([class="none"]) { background-color: transparent; border: 0; }
div.message-part pre,
div.message-htmlpart pre,
div.message-part div.pre
{
  word-wrap: break-word;
}