From 72e8a796fde097b8318e242b71450099112106e5 Mon Sep 17 00:00:00 2001 From: alec Date: Fri, 5 Jun 2009 14:00:46 +0000 Subject: - move safari hacks to separate css file git-svn-id: https://svn.roundcube.net/trunk@2614 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/skins/default/iehacks.css | 7 +++++++ roundcubemail/skins/default/includes/links.html | 7 ++++++- roundcubemail/skins/default/mail.css | 8 -------- roundcubemail/skins/default/safari.css | 11 +++++++++++ 4 files changed, 24 insertions(+), 9 deletions(-) create mode 100644 roundcubemail/skins/default/safari.css 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 @@ .css" /> + - \ No newline at end of file + + + + + \ 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; +} -- cgit v1.2.3