- move safari hacks to separate css file

release-0.6
alecpl 15 years ago
parent 8209f77d8e
commit cf7f222870

@ -152,6 +152,13 @@ body.iframe
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');

@ -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 />

@ -701,13 +701,6 @@ body.messagelist
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 @@ div.message-part div.pre
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

@ -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;
}
Loading…
Cancel
Save