diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2009-06-05 14:00:46 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2009-06-05 14:00:46 +0000 |
| commit | 72e8a796fde097b8318e242b71450099112106e5 (patch) | |
| tree | 92d3e85ba5d2b023bc997d1410ff7a2bd9eb3f9b | |
| parent | 0adde5b55988c034432848d600314f82d5fb24cf (diff) | |
- move safari hacks to separate css file
git-svn-id: https://svn.roundcube.net/trunk@2614 208e9e7b-5314-0410-a742-e7e81cd9613c
| -rw-r--r-- | roundcubemail/skins/default/iehacks.css | 7 | ||||
| -rw-r--r-- | roundcubemail/skins/default/includes/links.html | 7 | ||||
| -rw-r--r-- | roundcubemail/skins/default/mail.css | 8 | ||||
| -rw-r--r-- | roundcubemail/skins/default/safari.css | 11 |
4 files changed, 24 insertions, 9 deletions
diff --git a/roundcubemail/skins/default/iehacks.css b/roundcubemail/skins/default/iehacks.css index bd6e99b29..a64e57e1b 100644 --- a/roundcubemail/skins/default/iehacks.css +++ b/roundcubemail/skins/default/iehacks.css @@ -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'); diff --git a/roundcubemail/skins/default/includes/links.html b/roundcubemail/skins/default/includes/links.html index 5ef79e896..de8e968e8 100644 --- a/roundcubemail/skins/default/includes/links.html +++ b/roundcubemail/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]-->
\ No newline at end of file +<!--[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 />
\ No newline at end of file diff --git a/roundcubemail/skins/default/mail.css b/roundcubemail/skins/default/mail.css index 512fca864..8030313e4 100644 --- a/roundcubemail/skins/default/mail.css +++ b/roundcubemail/skins/default/mail.css @@ -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 diff --git a/roundcubemail/skins/default/safari.css b/roundcubemail/skins/default/safari.css new file mode 100644 index 000000000..840fc2baf --- /dev/null +++ b/roundcubemail/skins/default/safari.css @@ -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; +} |
