From 4a42653fa362d90992036fc3b26cb72399f7421d Mon Sep 17 00:00:00 2001 From: thomascube Date: Wed, 29 Jul 2009 10:53:40 +0000 Subject: More speedup by using sprites for buttons: replacing 76 images with 4 new --- CHANGELOG | 1 + skins/default/addresses.css | 60 +++++++++++ skins/default/common.css | 46 ++++++++ skins/default/ie6hacks.css | 13 ++- skins/default/iehacks.css | 23 ++++ skins/default/images/abook_toolbar.gif | Bin 0 -> 6087 bytes skins/default/images/abook_toolbar.png | Bin 0 -> 13619 bytes skins/default/images/buttons/actions_act.png | Bin 1942 -> 0 bytes skins/default/images/buttons/actions_pas.png | Bin 1890 -> 0 bytes skins/default/images/buttons/add_contact_act.png | Bin 1361 -> 0 bytes skins/default/images/buttons/add_contact_pas.png | Bin 1323 -> 0 bytes skins/default/images/buttons/add_contact_sel.png | Bin 1254 -> 0 bytes skins/default/images/buttons/adr_import_act.png | Bin 1380 -> 0 bytes skins/default/images/buttons/adr_import_pas.png | Bin 1359 -> 0 bytes skins/default/images/buttons/adr_import_sel.png | Bin 1297 -> 0 bytes skins/default/images/buttons/attach_act.png | Bin 968 -> 0 bytes skins/default/images/buttons/attach_pas.png | Bin 935 -> 0 bytes skins/default/images/buttons/attach_sel.png | Bin 988 -> 0 bytes skins/default/images/buttons/back_act.png | Bin 1126 -> 0 bytes skins/default/images/buttons/back_pas.png | Bin 1086 -> 0 bytes skins/default/images/buttons/back_sel.png | Bin 1047 -> 0 bytes skins/default/images/buttons/compose_act.png | Bin 1391 -> 0 bytes skins/default/images/buttons/compose_pas.png | Bin 1370 -> 0 bytes skins/default/images/buttons/compose_sel.png | Bin 1272 -> 0 bytes skins/default/images/buttons/contacts_act.png | Bin 1488 -> 0 bytes skins/default/images/buttons/contacts_pas.png | Bin 1474 -> 0 bytes skins/default/images/buttons/contacts_sel.png | Bin 1303 -> 0 bytes skins/default/images/buttons/delete_act.png | Bin 1649 -> 0 bytes skins/default/images/buttons/delete_pas.png | Bin 1644 -> 0 bytes skins/default/images/buttons/delete_sel.png | Bin 1545 -> 0 bytes skins/default/images/buttons/down_arrow.png | Bin 172 -> 0 bytes skins/default/images/buttons/download_act.png | Bin 1748 -> 0 bytes skins/default/images/buttons/download_pas.png | Bin 1714 -> 0 bytes skins/default/images/buttons/download_sel.png | Bin 1619 -> 0 bytes skins/default/images/buttons/drafts_act.png | Bin 1732 -> 0 bytes skins/default/images/buttons/drafts_pas.png | Bin 1698 -> 0 bytes skins/default/images/buttons/drafts_sel.png | Bin 1619 -> 0 bytes skins/default/images/buttons/edit_contact_act.png | Bin 1793 -> 0 bytes skins/default/images/buttons/edit_contact_pas.png | Bin 1776 -> 0 bytes skins/default/images/buttons/edit_contact_sel.png | Bin 1628 -> 0 bytes skins/default/images/buttons/first_act.png | Bin 213 -> 0 bytes skins/default/images/buttons/first_pas.png | Bin 221 -> 0 bytes skins/default/images/buttons/first_sel.png | Bin 210 -> 0 bytes skins/default/images/buttons/forward_act.png | Bin 1286 -> 0 bytes skins/default/images/buttons/forward_pas.png | Bin 1261 -> 0 bytes skins/default/images/buttons/forward_sel.png | Bin 1217 -> 0 bytes skins/default/images/buttons/inbox_act.png | Bin 1844 -> 0 bytes skins/default/images/buttons/inbox_pas.png | Bin 1809 -> 0 bytes skins/default/images/buttons/inbox_sel.png | Bin 1694 -> 0 bytes skins/default/images/buttons/last_act.png | Bin 207 -> 0 bytes skins/default/images/buttons/last_pas.png | Bin 214 -> 0 bytes skins/default/images/buttons/last_sel.png | Bin 207 -> 0 bytes skins/default/images/buttons/logout.gif | Bin 818 -> 0 bytes skins/default/images/buttons/logout.png | Bin 1685 -> 0 bytes skins/default/images/buttons/markread_act.png | Bin 1722 -> 0 bytes skins/default/images/buttons/next_act.png | Bin 183 -> 0 bytes skins/default/images/buttons/next_pas.png | Bin 182 -> 0 bytes skins/default/images/buttons/next_sel.png | Bin 185 -> 0 bytes skins/default/images/buttons/previous_act.png | Bin 187 -> 0 bytes skins/default/images/buttons/previous_pas.png | Bin 191 -> 0 bytes skins/default/images/buttons/previous_sel.png | Bin 188 -> 0 bytes skins/default/images/buttons/print_act.png | Bin 1209 -> 0 bytes skins/default/images/buttons/print_pas.png | Bin 1207 -> 0 bytes skins/default/images/buttons/print_sel.png | Bin 1073 -> 0 bytes skins/default/images/buttons/reply_act.png | Bin 1475 -> 0 bytes skins/default/images/buttons/reply_pas.png | Bin 1431 -> 0 bytes skins/default/images/buttons/reply_sel.png | Bin 1371 -> 0 bytes skins/default/images/buttons/replyall_act.png | Bin 1725 -> 0 bytes skins/default/images/buttons/replyall_pas.png | Bin 1681 -> 0 bytes skins/default/images/buttons/replyall_sel.png | Bin 1531 -> 0 bytes skins/default/images/buttons/send_act.png | Bin 1565 -> 0 bytes skins/default/images/buttons/send_pas.png | Bin 1584 -> 0 bytes skins/default/images/buttons/send_sel.png | Bin 1443 -> 0 bytes skins/default/images/buttons/source_act.png | Bin 1354 -> 0 bytes skins/default/images/buttons/source_pas.png | Bin 1327 -> 0 bytes skins/default/images/buttons/source_sel.png | Bin 1201 -> 0 bytes skins/default/images/buttons/spacer.gif | Bin 43 -> 0 bytes skins/default/images/buttons/spellcheck_act.png | Bin 1159 -> 0 bytes skins/default/images/buttons/spellcheck_pas.png | Bin 1100 -> 0 bytes skins/default/images/buttons/spellcheck_sel.png | Bin 1138 -> 0 bytes skins/default/images/buttons/up_arrow.png | Bin 172 -> 0 bytes skins/default/images/mail_toolbar.gif | Bin 0 -> 11126 bytes skins/default/images/mail_toolbar.png | Bin 0 -> 34966 bytes skins/default/images/pagenav.gif | Bin 0 -> 426 bytes skins/default/images/tab_act.gif | Bin 519 -> 0 bytes skins/default/images/tab_pas.gif | Bin 511 -> 0 bytes skins/default/images/tabs.gif | Bin 0 -> 821 bytes skins/default/mail.css | 126 +++++++++++++++++++++- skins/default/settings.css | 6 +- skins/default/templates/addressbook.html | 24 +++-- skins/default/templates/compose.html | 14 +-- skins/default/templates/importcontacts.html | 2 +- skins/default/templates/mail.html | 38 +++---- skins/default/templates/message.html | 26 ++--- 94 files changed, 323 insertions(+), 56 deletions(-) create mode 100644 skins/default/images/abook_toolbar.gif create mode 100644 skins/default/images/abook_toolbar.png delete mode 100644 skins/default/images/buttons/actions_act.png delete mode 100644 skins/default/images/buttons/actions_pas.png delete mode 100644 skins/default/images/buttons/add_contact_act.png delete mode 100644 skins/default/images/buttons/add_contact_pas.png delete mode 100644 skins/default/images/buttons/add_contact_sel.png delete mode 100644 skins/default/images/buttons/adr_import_act.png delete mode 100644 skins/default/images/buttons/adr_import_pas.png delete mode 100644 skins/default/images/buttons/adr_import_sel.png delete mode 100644 skins/default/images/buttons/attach_act.png delete mode 100644 skins/default/images/buttons/attach_pas.png delete mode 100644 skins/default/images/buttons/attach_sel.png delete mode 100644 skins/default/images/buttons/back_act.png delete mode 100644 skins/default/images/buttons/back_pas.png delete mode 100644 skins/default/images/buttons/back_sel.png delete mode 100644 skins/default/images/buttons/compose_act.png delete mode 100644 skins/default/images/buttons/compose_pas.png delete mode 100644 skins/default/images/buttons/compose_sel.png delete mode 100644 skins/default/images/buttons/contacts_act.png delete mode 100644 skins/default/images/buttons/contacts_pas.png delete mode 100644 skins/default/images/buttons/contacts_sel.png delete mode 100644 skins/default/images/buttons/delete_act.png delete mode 100644 skins/default/images/buttons/delete_pas.png delete mode 100644 skins/default/images/buttons/delete_sel.png delete mode 100644 skins/default/images/buttons/down_arrow.png delete mode 100644 skins/default/images/buttons/download_act.png delete mode 100644 skins/default/images/buttons/download_pas.png delete mode 100644 skins/default/images/buttons/download_sel.png delete mode 100644 skins/default/images/buttons/drafts_act.png delete mode 100644 skins/default/images/buttons/drafts_pas.png delete mode 100644 skins/default/images/buttons/drafts_sel.png delete mode 100644 skins/default/images/buttons/edit_contact_act.png delete mode 100644 skins/default/images/buttons/edit_contact_pas.png delete mode 100644 skins/default/images/buttons/edit_contact_sel.png delete mode 100644 skins/default/images/buttons/first_act.png delete mode 100644 skins/default/images/buttons/first_pas.png delete mode 100644 skins/default/images/buttons/first_sel.png delete mode 100644 skins/default/images/buttons/forward_act.png delete mode 100644 skins/default/images/buttons/forward_pas.png delete mode 100644 skins/default/images/buttons/forward_sel.png delete mode 100644 skins/default/images/buttons/inbox_act.png delete mode 100644 skins/default/images/buttons/inbox_pas.png delete mode 100644 skins/default/images/buttons/inbox_sel.png delete mode 100644 skins/default/images/buttons/last_act.png delete mode 100644 skins/default/images/buttons/last_pas.png delete mode 100644 skins/default/images/buttons/last_sel.png delete mode 100644 skins/default/images/buttons/logout.gif delete mode 100644 skins/default/images/buttons/logout.png delete mode 100644 skins/default/images/buttons/markread_act.png delete mode 100644 skins/default/images/buttons/next_act.png delete mode 100644 skins/default/images/buttons/next_pas.png delete mode 100644 skins/default/images/buttons/next_sel.png delete mode 100644 skins/default/images/buttons/previous_act.png delete mode 100644 skins/default/images/buttons/previous_pas.png delete mode 100644 skins/default/images/buttons/previous_sel.png delete mode 100644 skins/default/images/buttons/print_act.png delete mode 100644 skins/default/images/buttons/print_pas.png delete mode 100644 skins/default/images/buttons/print_sel.png delete mode 100644 skins/default/images/buttons/reply_act.png delete mode 100644 skins/default/images/buttons/reply_pas.png delete mode 100644 skins/default/images/buttons/reply_sel.png delete mode 100644 skins/default/images/buttons/replyall_act.png delete mode 100644 skins/default/images/buttons/replyall_pas.png delete mode 100644 skins/default/images/buttons/replyall_sel.png delete mode 100644 skins/default/images/buttons/send_act.png delete mode 100644 skins/default/images/buttons/send_pas.png delete mode 100644 skins/default/images/buttons/send_sel.png delete mode 100644 skins/default/images/buttons/source_act.png delete mode 100644 skins/default/images/buttons/source_pas.png delete mode 100644 skins/default/images/buttons/source_sel.png delete mode 100644 skins/default/images/buttons/spacer.gif delete mode 100644 skins/default/images/buttons/spellcheck_act.png delete mode 100644 skins/default/images/buttons/spellcheck_pas.png delete mode 100644 skins/default/images/buttons/spellcheck_sel.png delete mode 100644 skins/default/images/buttons/up_arrow.png create mode 100644 skins/default/images/mail_toolbar.gif create mode 100644 skins/default/images/mail_toolbar.png create mode 100644 skins/default/images/pagenav.gif delete mode 100644 skins/default/images/tab_act.gif delete mode 100644 skins/default/images/tab_pas.gif create mode 100644 skins/default/images/tabs.gif diff --git a/CHANGELOG b/CHANGELOG index 3250c0d97..0aa061bde 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,6 +1,7 @@ CHANGELOG RoundCube Webmail =========================== +- Speedup UI by using sprites for (toolbar) buttons - Fix charset names with X- prefix handling - Fix displaying of HTML messages with unknown/malformed tags (#1486003) diff --git a/skins/default/addresses.css b/skins/default/addresses.css index 70b148a2c..236bc3b5a 100644 --- a/skins/default/addresses.css +++ b/skins/default/addresses.css @@ -13,6 +13,66 @@ padding-right: 10px; } +#abooktoolbar a.button, +#abooktoolbar a.buttonPas, +#abooktoolbar span.separator { + display: block; + float: left; + width: 32px; + height: 32px; + padding: 0; + margin-right: 10px; + overflow: hidden; + background: url('images/abook_toolbar.png') 0 0 no-repeat transparent; + opacity: 0.99; /* this is needed to make buttons appear correctly in Chrome */ +} + +#abooktoolbar a.buttonPas { + opacity: 0.35; +} + +#abooktoolbar a.addcontactSel { + background-position: 0 -32px; +} + +#abooktoolbar a.compose { + background-position: -32px 0; +} + +#abooktoolbar a.composeSel { + background-position: -32px -32px; +} + +#abooktoolbar a.delete { + background-position: -64px 0; +} + +#abooktoolbar a.deleteSel { + background-position: -64px -32px; +} + +#abooktoolbar a.import { + background-position: -96px 0; +} + +#abooktoolbar a.importSel { + background-position: -96px -32px; +} + +#abooktoolbar a.export { + background-position: -128px 0; +} + +#abooktoolbar a.exportSel { + background-position: -128px -32px; +} + +#abooktoolbar span.separator { + width: 5px; + background-image: url('images/abook_toolbar.png'); + background-position: -162px 0; +} + #abookcountbar { position: absolute; diff --git a/skins/default/common.css b/skins/default/common.css index d074e375e..bf59895d7 100644 --- a/skins/default/common.css +++ b/skins/default/common.css @@ -241,6 +241,52 @@ img left: 20px; } +.pagenav a.button, +.pagenav a.buttonPas +{ + display: block; + float: left; + width: 11px; + height: 11px; + padding: 0; + margin: 1px; + overflow: hidden; + background: url('images/pagenav.gif') 0 0 no-repeat transparent; + opacity: 0.99; /* this is needed to make buttons appear correctly in Chrome */ +} + +.pagenav a.buttonPas { + opacity: 0.35; +} + +.pagenav a.firstpageSel { + background-position: 0 -11px; +} + +.pagenav a.prevpage { + background-position: -11px 0; +} + +.pagenav a.prevpageSel { + background-position: -11px -11px; +} + +.pagenav a.nextpage { + background-position: -22px 0; +} + +.pagenav a.nextpageSel { + background-position: -22px -11px; +} + +.pagenav a.lastpage { + background-position: -33px 0; +} + +.pagenav a.lastpageSel { + background-position: -33px -11px; +} + .splitter { user-select: none; diff --git a/skins/default/ie6hacks.css b/skins/default/ie6hacks.css index ac68a05b6..0d23d74d7 100644 --- a/skins/default/ie6hacks.css +++ b/skins/default/ie6hacks.css @@ -28,4 +28,15 @@ ul.toolbarmenu li #mailboxlist li { background-image: url('images/icons/folders.gif'); -} \ No newline at end of file +} + +#messagetoolbar a.button, +#messagetoolbar a.buttonPas { + background-image: url('images/mail_toolbar.gif'); +} + +#abooktoolbar a.button, +#abooktoolbar a.buttonPas, +#abooktoolbar span.separator { + background-image: url('images/abook_toolbar.gif'); +} diff --git a/skins/default/iehacks.css b/skins/default/iehacks.css index 6ce3e2be4..0416f21cb 100644 --- a/skins/default/iehacks.css +++ b/skins/default/iehacks.css @@ -8,6 +8,11 @@ input, textarea background-color: expression(this.type=='checkbox' || this.type=='radio' ? 'transparent' : '#ffffff'); } +.pagenav a.buttonPas +{ + filter: alpha(opacity=35); +} + #message { -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=85)"; @@ -58,6 +63,24 @@ input, textarea top: -8px; } +#abooktoolbar a.buttonPas +{ + filter: alpha(opacity=35); + background-image: url('images/abook_toolbar.gif'); +} + +#messagetoolbar a.buttonPas +{ + filter: alpha(opacity=35); + background-image: url('images/mail_toolbar.gif'); +} + +#messagetoolbar select.mboxlist +{ + margin: 0 8px; + top: 8px; +} + #mainscreen { width: expression((parseInt(document.documentElement.clientWidth)-40)+'px'); diff --git a/skins/default/images/abook_toolbar.gif b/skins/default/images/abook_toolbar.gif new file mode 100644 index 000000000..1de95da76 Binary files /dev/null and b/skins/default/images/abook_toolbar.gif differ diff --git a/skins/default/images/abook_toolbar.png b/skins/default/images/abook_toolbar.png new file mode 100644 index 000000000..cb7ae051f Binary files /dev/null and b/skins/default/images/abook_toolbar.png differ diff --git a/skins/default/images/buttons/actions_act.png b/skins/default/images/buttons/actions_act.png deleted file mode 100644 index 86091f030..000000000 Binary files a/skins/default/images/buttons/actions_act.png and /dev/null differ diff --git a/skins/default/images/buttons/actions_pas.png b/skins/default/images/buttons/actions_pas.png deleted file mode 100644 index f84184255..000000000 Binary files a/skins/default/images/buttons/actions_pas.png and /dev/null differ diff --git a/skins/default/images/buttons/add_contact_act.png b/skins/default/images/buttons/add_contact_act.png deleted file mode 100644 index 478c1f3f2..000000000 Binary files a/skins/default/images/buttons/add_contact_act.png and /dev/null differ diff --git a/skins/default/images/buttons/add_contact_pas.png b/skins/default/images/buttons/add_contact_pas.png deleted file mode 100644 index ab3f2055a..000000000 Binary files a/skins/default/images/buttons/add_contact_pas.png and /dev/null differ diff --git a/skins/default/images/buttons/add_contact_sel.png b/skins/default/images/buttons/add_contact_sel.png deleted file mode 100644 index d3de05ccc..000000000 Binary files a/skins/default/images/buttons/add_contact_sel.png and /dev/null differ diff --git a/skins/default/images/buttons/adr_import_act.png b/skins/default/images/buttons/adr_import_act.png deleted file mode 100644 index 84b704ec7..000000000 Binary files a/skins/default/images/buttons/adr_import_act.png and /dev/null differ diff --git a/skins/default/images/buttons/adr_import_pas.png b/skins/default/images/buttons/adr_import_pas.png deleted file mode 100644 index 50bf17ad7..000000000 Binary files a/skins/default/images/buttons/adr_import_pas.png and /dev/null differ diff --git a/skins/default/images/buttons/adr_import_sel.png b/skins/default/images/buttons/adr_import_sel.png deleted file mode 100644 index 50d336a98..000000000 Binary files a/skins/default/images/buttons/adr_import_sel.png and /dev/null differ diff --git a/skins/default/images/buttons/attach_act.png b/skins/default/images/buttons/attach_act.png deleted file mode 100644 index a6be6f409..000000000 Binary files a/skins/default/images/buttons/attach_act.png and /dev/null differ diff --git a/skins/default/images/buttons/attach_pas.png b/skins/default/images/buttons/attach_pas.png deleted file mode 100644 index 2417fe2a0..000000000 Binary files a/skins/default/images/buttons/attach_pas.png and /dev/null differ diff --git a/skins/default/images/buttons/attach_sel.png b/skins/default/images/buttons/attach_sel.png deleted file mode 100644 index d3017f5a8..000000000 Binary files a/skins/default/images/buttons/attach_sel.png and /dev/null differ diff --git a/skins/default/images/buttons/back_act.png b/skins/default/images/buttons/back_act.png deleted file mode 100644 index a9b192f26..000000000 Binary files a/skins/default/images/buttons/back_act.png and /dev/null differ diff --git a/skins/default/images/buttons/back_pas.png b/skins/default/images/buttons/back_pas.png deleted file mode 100644 index 0f510c1b6..000000000 Binary files a/skins/default/images/buttons/back_pas.png and /dev/null differ diff --git a/skins/default/images/buttons/back_sel.png b/skins/default/images/buttons/back_sel.png deleted file mode 100644 index defd06ec8..000000000 Binary files a/skins/default/images/buttons/back_sel.png and /dev/null differ diff --git a/skins/default/images/buttons/compose_act.png b/skins/default/images/buttons/compose_act.png deleted file mode 100644 index ece126e94..000000000 Binary files a/skins/default/images/buttons/compose_act.png and /dev/null differ diff --git a/skins/default/images/buttons/compose_pas.png b/skins/default/images/buttons/compose_pas.png deleted file mode 100644 index 8d022f49d..000000000 Binary files a/skins/default/images/buttons/compose_pas.png and /dev/null differ diff --git a/skins/default/images/buttons/compose_sel.png b/skins/default/images/buttons/compose_sel.png deleted file mode 100644 index 2d4b71b0c..000000000 Binary files a/skins/default/images/buttons/compose_sel.png and /dev/null differ diff --git a/skins/default/images/buttons/contacts_act.png b/skins/default/images/buttons/contacts_act.png deleted file mode 100644 index 852f35f54..000000000 Binary files a/skins/default/images/buttons/contacts_act.png and /dev/null differ diff --git a/skins/default/images/buttons/contacts_pas.png b/skins/default/images/buttons/contacts_pas.png deleted file mode 100644 index 78ca95aa2..000000000 Binary files a/skins/default/images/buttons/contacts_pas.png and /dev/null differ diff --git a/skins/default/images/buttons/contacts_sel.png b/skins/default/images/buttons/contacts_sel.png deleted file mode 100644 index bf7ea7c88..000000000 Binary files a/skins/default/images/buttons/contacts_sel.png and /dev/null differ diff --git a/skins/default/images/buttons/delete_act.png b/skins/default/images/buttons/delete_act.png deleted file mode 100644 index 67b587996..000000000 Binary files a/skins/default/images/buttons/delete_act.png and /dev/null differ diff --git a/skins/default/images/buttons/delete_pas.png b/skins/default/images/buttons/delete_pas.png deleted file mode 100644 index d271ecd5f..000000000 Binary files a/skins/default/images/buttons/delete_pas.png and /dev/null differ diff --git a/skins/default/images/buttons/delete_sel.png b/skins/default/images/buttons/delete_sel.png deleted file mode 100644 index 22dd10dac..000000000 Binary files a/skins/default/images/buttons/delete_sel.png and /dev/null differ diff --git a/skins/default/images/buttons/down_arrow.png b/skins/default/images/buttons/down_arrow.png deleted file mode 100644 index b7f547276..000000000 Binary files a/skins/default/images/buttons/down_arrow.png and /dev/null differ diff --git a/skins/default/images/buttons/download_act.png b/skins/default/images/buttons/download_act.png deleted file mode 100644 index 5e7a1c81d..000000000 Binary files a/skins/default/images/buttons/download_act.png and /dev/null differ diff --git a/skins/default/images/buttons/download_pas.png b/skins/default/images/buttons/download_pas.png deleted file mode 100644 index 3601d2029..000000000 Binary files a/skins/default/images/buttons/download_pas.png and /dev/null differ diff --git a/skins/default/images/buttons/download_sel.png b/skins/default/images/buttons/download_sel.png deleted file mode 100644 index b0f11c2c6..000000000 Binary files a/skins/default/images/buttons/download_sel.png and /dev/null differ diff --git a/skins/default/images/buttons/drafts_act.png b/skins/default/images/buttons/drafts_act.png deleted file mode 100644 index 136bf7a46..000000000 Binary files a/skins/default/images/buttons/drafts_act.png and /dev/null differ diff --git a/skins/default/images/buttons/drafts_pas.png b/skins/default/images/buttons/drafts_pas.png deleted file mode 100644 index 84b0a9647..000000000 Binary files a/skins/default/images/buttons/drafts_pas.png and /dev/null differ diff --git a/skins/default/images/buttons/drafts_sel.png b/skins/default/images/buttons/drafts_sel.png deleted file mode 100644 index 0e4e83c8c..000000000 Binary files a/skins/default/images/buttons/drafts_sel.png and /dev/null differ diff --git a/skins/default/images/buttons/edit_contact_act.png b/skins/default/images/buttons/edit_contact_act.png deleted file mode 100644 index a7fa78288..000000000 Binary files a/skins/default/images/buttons/edit_contact_act.png and /dev/null differ diff --git a/skins/default/images/buttons/edit_contact_pas.png b/skins/default/images/buttons/edit_contact_pas.png deleted file mode 100644 index 3bad66dc3..000000000 Binary files a/skins/default/images/buttons/edit_contact_pas.png and /dev/null differ diff --git a/skins/default/images/buttons/edit_contact_sel.png b/skins/default/images/buttons/edit_contact_sel.png deleted file mode 100644 index b4d4fb0a7..000000000 Binary files a/skins/default/images/buttons/edit_contact_sel.png and /dev/null differ diff --git a/skins/default/images/buttons/first_act.png b/skins/default/images/buttons/first_act.png deleted file mode 100644 index 9364c77c8..000000000 Binary files a/skins/default/images/buttons/first_act.png and /dev/null differ diff --git a/skins/default/images/buttons/first_pas.png b/skins/default/images/buttons/first_pas.png deleted file mode 100644 index ea986d30c..000000000 Binary files a/skins/default/images/buttons/first_pas.png and /dev/null differ diff --git a/skins/default/images/buttons/first_sel.png b/skins/default/images/buttons/first_sel.png deleted file mode 100644 index 63bc4aaeb..000000000 Binary files a/skins/default/images/buttons/first_sel.png and /dev/null differ diff --git a/skins/default/images/buttons/forward_act.png b/skins/default/images/buttons/forward_act.png deleted file mode 100644 index 5fb7ebb89..000000000 Binary files a/skins/default/images/buttons/forward_act.png and /dev/null differ diff --git a/skins/default/images/buttons/forward_pas.png b/skins/default/images/buttons/forward_pas.png deleted file mode 100644 index 20a1b610f..000000000 Binary files a/skins/default/images/buttons/forward_pas.png and /dev/null differ diff --git a/skins/default/images/buttons/forward_sel.png b/skins/default/images/buttons/forward_sel.png deleted file mode 100644 index 980033823..000000000 Binary files a/skins/default/images/buttons/forward_sel.png and /dev/null differ diff --git a/skins/default/images/buttons/inbox_act.png b/skins/default/images/buttons/inbox_act.png deleted file mode 100644 index 974405562..000000000 Binary files a/skins/default/images/buttons/inbox_act.png and /dev/null differ diff --git a/skins/default/images/buttons/inbox_pas.png b/skins/default/images/buttons/inbox_pas.png deleted file mode 100644 index 8d2f05de3..000000000 Binary files a/skins/default/images/buttons/inbox_pas.png and /dev/null differ diff --git a/skins/default/images/buttons/inbox_sel.png b/skins/default/images/buttons/inbox_sel.png deleted file mode 100644 index 40f0d8c45..000000000 Binary files a/skins/default/images/buttons/inbox_sel.png and /dev/null differ diff --git a/skins/default/images/buttons/last_act.png b/skins/default/images/buttons/last_act.png deleted file mode 100644 index 00451e0ba..000000000 Binary files a/skins/default/images/buttons/last_act.png and /dev/null differ diff --git a/skins/default/images/buttons/last_pas.png b/skins/default/images/buttons/last_pas.png deleted file mode 100644 index 84f3ebd66..000000000 Binary files a/skins/default/images/buttons/last_pas.png and /dev/null differ diff --git a/skins/default/images/buttons/last_sel.png b/skins/default/images/buttons/last_sel.png deleted file mode 100644 index 99b1c2bbe..000000000 Binary files a/skins/default/images/buttons/last_sel.png and /dev/null differ diff --git a/skins/default/images/buttons/logout.gif b/skins/default/images/buttons/logout.gif deleted file mode 100644 index 93eb1aae7..000000000 Binary files a/skins/default/images/buttons/logout.gif and /dev/null differ diff --git a/skins/default/images/buttons/logout.png b/skins/default/images/buttons/logout.png deleted file mode 100644 index 635800f41..000000000 Binary files a/skins/default/images/buttons/logout.png and /dev/null differ diff --git a/skins/default/images/buttons/markread_act.png b/skins/default/images/buttons/markread_act.png deleted file mode 100644 index 69a5ca0a9..000000000 Binary files a/skins/default/images/buttons/markread_act.png and /dev/null differ diff --git a/skins/default/images/buttons/next_act.png b/skins/default/images/buttons/next_act.png deleted file mode 100644 index 77b78a6f3..000000000 Binary files a/skins/default/images/buttons/next_act.png and /dev/null differ diff --git a/skins/default/images/buttons/next_pas.png b/skins/default/images/buttons/next_pas.png deleted file mode 100644 index 2f3db1df3..000000000 Binary files a/skins/default/images/buttons/next_pas.png and /dev/null differ diff --git a/skins/default/images/buttons/next_sel.png b/skins/default/images/buttons/next_sel.png deleted file mode 100644 index e97de25c8..000000000 Binary files a/skins/default/images/buttons/next_sel.png and /dev/null differ diff --git a/skins/default/images/buttons/previous_act.png b/skins/default/images/buttons/previous_act.png deleted file mode 100644 index b116e5d8a..000000000 Binary files a/skins/default/images/buttons/previous_act.png and /dev/null differ diff --git a/skins/default/images/buttons/previous_pas.png b/skins/default/images/buttons/previous_pas.png deleted file mode 100644 index 6578bfaaa..000000000 Binary files a/skins/default/images/buttons/previous_pas.png and /dev/null differ diff --git a/skins/default/images/buttons/previous_sel.png b/skins/default/images/buttons/previous_sel.png deleted file mode 100644 index 3afd4eb62..000000000 Binary files a/skins/default/images/buttons/previous_sel.png and /dev/null differ diff --git a/skins/default/images/buttons/print_act.png b/skins/default/images/buttons/print_act.png deleted file mode 100644 index 2c9b21acb..000000000 Binary files a/skins/default/images/buttons/print_act.png and /dev/null differ diff --git a/skins/default/images/buttons/print_pas.png b/skins/default/images/buttons/print_pas.png deleted file mode 100644 index 7b6cde70f..000000000 Binary files a/skins/default/images/buttons/print_pas.png and /dev/null differ diff --git a/skins/default/images/buttons/print_sel.png b/skins/default/images/buttons/print_sel.png deleted file mode 100644 index 55b598a38..000000000 Binary files a/skins/default/images/buttons/print_sel.png and /dev/null differ diff --git a/skins/default/images/buttons/reply_act.png b/skins/default/images/buttons/reply_act.png deleted file mode 100644 index 1dc9af3a0..000000000 Binary files a/skins/default/images/buttons/reply_act.png and /dev/null differ diff --git a/skins/default/images/buttons/reply_pas.png b/skins/default/images/buttons/reply_pas.png deleted file mode 100644 index cf1126908..000000000 Binary files a/skins/default/images/buttons/reply_pas.png and /dev/null differ diff --git a/skins/default/images/buttons/reply_sel.png b/skins/default/images/buttons/reply_sel.png deleted file mode 100644 index e614b3aa2..000000000 Binary files a/skins/default/images/buttons/reply_sel.png and /dev/null differ diff --git a/skins/default/images/buttons/replyall_act.png b/skins/default/images/buttons/replyall_act.png deleted file mode 100644 index 9c2834ec0..000000000 Binary files a/skins/default/images/buttons/replyall_act.png and /dev/null differ diff --git a/skins/default/images/buttons/replyall_pas.png b/skins/default/images/buttons/replyall_pas.png deleted file mode 100644 index 694c8ce3a..000000000 Binary files a/skins/default/images/buttons/replyall_pas.png and /dev/null differ diff --git a/skins/default/images/buttons/replyall_sel.png b/skins/default/images/buttons/replyall_sel.png deleted file mode 100644 index 2e07de2e0..000000000 Binary files a/skins/default/images/buttons/replyall_sel.png and /dev/null differ diff --git a/skins/default/images/buttons/send_act.png b/skins/default/images/buttons/send_act.png deleted file mode 100644 index 40c118f35..000000000 Binary files a/skins/default/images/buttons/send_act.png and /dev/null differ diff --git a/skins/default/images/buttons/send_pas.png b/skins/default/images/buttons/send_pas.png deleted file mode 100644 index b18695110..000000000 Binary files a/skins/default/images/buttons/send_pas.png and /dev/null differ diff --git a/skins/default/images/buttons/send_sel.png b/skins/default/images/buttons/send_sel.png deleted file mode 100644 index 73ff769e2..000000000 Binary files a/skins/default/images/buttons/send_sel.png and /dev/null differ diff --git a/skins/default/images/buttons/source_act.png b/skins/default/images/buttons/source_act.png deleted file mode 100644 index cb78a94f8..000000000 Binary files a/skins/default/images/buttons/source_act.png and /dev/null differ diff --git a/skins/default/images/buttons/source_pas.png b/skins/default/images/buttons/source_pas.png deleted file mode 100644 index 80cd80808..000000000 Binary files a/skins/default/images/buttons/source_pas.png and /dev/null differ diff --git a/skins/default/images/buttons/source_sel.png b/skins/default/images/buttons/source_sel.png deleted file mode 100644 index 16b207eb8..000000000 Binary files a/skins/default/images/buttons/source_sel.png and /dev/null differ diff --git a/skins/default/images/buttons/spacer.gif b/skins/default/images/buttons/spacer.gif deleted file mode 100644 index 5bfd67a2d..000000000 Binary files a/skins/default/images/buttons/spacer.gif and /dev/null differ diff --git a/skins/default/images/buttons/spellcheck_act.png b/skins/default/images/buttons/spellcheck_act.png deleted file mode 100644 index 052eca0ac..000000000 Binary files a/skins/default/images/buttons/spellcheck_act.png and /dev/null differ diff --git a/skins/default/images/buttons/spellcheck_pas.png b/skins/default/images/buttons/spellcheck_pas.png deleted file mode 100644 index 5deb5d8fa..000000000 Binary files a/skins/default/images/buttons/spellcheck_pas.png and /dev/null differ diff --git a/skins/default/images/buttons/spellcheck_sel.png b/skins/default/images/buttons/spellcheck_sel.png deleted file mode 100644 index 5e88293f5..000000000 Binary files a/skins/default/images/buttons/spellcheck_sel.png and /dev/null differ diff --git a/skins/default/images/buttons/up_arrow.png b/skins/default/images/buttons/up_arrow.png deleted file mode 100644 index 23f81773d..000000000 Binary files a/skins/default/images/buttons/up_arrow.png and /dev/null differ diff --git a/skins/default/images/mail_toolbar.gif b/skins/default/images/mail_toolbar.gif new file mode 100644 index 000000000..9a8fdc337 Binary files /dev/null and b/skins/default/images/mail_toolbar.gif differ diff --git a/skins/default/images/mail_toolbar.png b/skins/default/images/mail_toolbar.png new file mode 100644 index 000000000..ece87ad5a Binary files /dev/null and b/skins/default/images/mail_toolbar.png differ diff --git a/skins/default/images/pagenav.gif b/skins/default/images/pagenav.gif new file mode 100644 index 000000000..92a73a440 Binary files /dev/null and b/skins/default/images/pagenav.gif differ diff --git a/skins/default/images/tab_act.gif b/skins/default/images/tab_act.gif deleted file mode 100644 index 9329db11f..000000000 Binary files a/skins/default/images/tab_act.gif and /dev/null differ diff --git a/skins/default/images/tab_pas.gif b/skins/default/images/tab_pas.gif deleted file mode 100644 index 26adabf00..000000000 Binary files a/skins/default/images/tab_pas.gif and /dev/null differ diff --git a/skins/default/images/tabs.gif b/skins/default/images/tabs.gif new file mode 100644 index 000000000..14482273a Binary files /dev/null and b/skins/default/images/tabs.gif differ diff --git a/skins/default/mail.css b/skins/default/mail.css index fa5dba31b..18117fde5 100644 --- a/skins/default/mail.css +++ b/skins/default/mail.css @@ -12,11 +12,124 @@ /* border: 1px solid #cccccc; */ } -#messagetoolbar a +#messagetoolbar > a { + display: block; + float: left; padding-right: 10px; } +#messagetoolbar a.button, +#messagetoolbar a.buttonPas { + display: block; + float: left; + width: 32px; + height: 32px; + padding: 0; + margin-right: 10px; + overflow: hidden; + background: url('images/mail_toolbar.png') 0 0 no-repeat transparent; + opacity: 0.99; /* this is needed to make buttons appear correctly in Chrome */ +} + +#messagetoolbar a.buttonPas { + opacity: 0.35; +} + +#messagetoolbar a.checkmailSel { + background-position: 0 -32px; +} + +#messagetoolbar a.back { + background-position: -32px 0; +} + +#messagetoolbar a.backSel { + background-position: -32px -32px; +} + +#messagetoolbar a.compose { + background-position: -64px 0; +} + +#messagetoolbar a.composeSel { + background-position: -64px -32px; +} + +#messagetoolbar a.reply { + background-position: -96px 0; +} + +#messagetoolbar a.replySel { + background-position: -96px -32px; +} + +#messagetoolbar a.replyAll { + background-position: -128px 0; +} + +#messagetoolbar a.replyAllSel { + background-position: -128px -32px; +} + +#messagetoolbar a.forward { + background-position: -160px 0; +} + +#messagetoolbar a.forwardSel { + background-position: -160px -32px; +} + +#messagetoolbar a.delete { + background-position: -192px 0; +} + +#messagetoolbar a.deleteSel { + background-position: -192px -32px; +} + +#messagetoolbar a.markmessage { + background-position: -256px 0; +} + +#messagetoolbar a.messagemenu { + width: 36px; + background-position: -288px 0; +} + +#messagetoolbar a.spellcheck { + background-position: -386px 0; +} + +#messagetoolbar a.spellcheckSel { + background-position: -386px -32px; +} + +#messagetoolbar a.attach { + background-position: -354px 0; +} + +#messagetoolbar a.attachSel { + background-position: -354px -32px; +} + +#messagetoolbar a.savedraft { + background-position: -322px 0; +} + +#messagetoolbar a.savedraftSel { + background-position: -322px -32px; +} + +#messagetoolbar a.send { + background-position: -418px 0; +} + +#messagetoolbar a.sendSel { + background-position: -418px -32px; +} + + #messagetoolbar select, #compose-container select { @@ -30,7 +143,7 @@ { position: relative; margin: 0 8px; - top: -12px; + top: 6px; } #messagetoolbar select.mboxlist option @@ -548,6 +661,14 @@ td.formlinks a:visited font-size: 11px; } +#countcontrols a.button, +#countcontrols a.buttonPas, +#messagecountbar a.button, +#messagecountbar a.buttonPas +{ + float: right; +} + /** message list styles */ @@ -762,6 +883,7 @@ body.messagelist border: 1px solid #999; background-color: #FFF; overflow: auto; + z-index: 1; } #printmessageframe diff --git a/skins/default/settings.css b/skins/default/settings.css index 0171c30a9..c3487ba3c 100644 --- a/skins/default/settings.css +++ b/skins/default/settings.css @@ -19,12 +19,14 @@ span.tablink-selected width: 100px; height: 24px !important; height: 22px; - background: url('images/tab_pas.gif') top left no-repeat; + overflow: hidden; + text-overflow: ellipsis; + background: url('images/tabs.gif') top left no-repeat; } span.tablink-selected { - background: url('images/tab_act.gif') top left no-repeat; + background-position: -102px 0; } span.tablink a, diff --git a/skins/default/templates/addressbook.html b/skins/default/templates/addressbook.html index 2fd3b1a25..5b250fa9f 100644 --- a/skins/default/templates/addressbook.html +++ b/skins/default/templates/addressbook.html @@ -30,11 +30,13 @@
- - - - - + + + +  + + +
@@ -67,12 +69,12 @@
-
- -  - - + diff --git a/skins/default/templates/compose.html b/skins/default/templates/compose.html index e032c586b..7a5aa8dc6 100644 --- a/skins/default/templates/compose.html +++ b/skins/default/templates/compose.html @@ -16,17 +16,17 @@
- - - - - + + + + + -   +   -   +  
diff --git a/skins/default/templates/importcontacts.html b/skins/default/templates/importcontacts.html index b005d3554..9eff96874 100644 --- a/skins/default/templates/importcontacts.html +++ b/skins/default/templates/importcontacts.html @@ -12,7 +12,7 @@
-
+


diff --git a/skins/default/templates/mail.html b/skins/default/templates/mail.html index 28c21a634..9d24f4cec 100644 --- a/skins/default/templates/mail.html +++ b/skins/default/templates/mail.html @@ -76,8 +76,8 @@

- -
+ + + -
  @@ -86,18 +86,18 @@   + : - - - - -    - - - + +
@@ -107,15 +107,15 @@
- - - - - - + + + + + + - - + +
    diff --git a/skins/default/templates/message.html b/skins/default/templates/message.html index 01e620bf5..852f4b44c 100644 --- a/skins/default/templates/message.html +++ b/skins/default/templates/message.html @@ -18,14 +18,14 @@
    - - - - - - + + + + + + - + @@ -49,12 +49,12 @@
-
- - -    - - +
-- cgit v1.2.3