From 8583d64b8affbe0734d272573ec511b2b0ec5712 Mon Sep 17 00:00:00 2001 From: alecpl Date: Mon, 28 Sep 2009 15:59:43 +0000 Subject: - Fix folder/messagelist controls alignment - icons used (#1486072) --- skins/default/iehacks.css | 12 +++ skins/default/images/mail_footer.png | Bin 0 -> 1533 bytes skins/default/mail.css | 153 +++++++++++++++++-------------- skins/default/templates/addressbook.html | 2 +- skins/default/templates/mail.html | 38 ++++---- skins/default/templates/message.html | 4 +- 6 files changed, 116 insertions(+), 93 deletions(-) create mode 100644 skins/default/images/mail_footer.png (limited to 'skins/default') diff --git a/skins/default/iehacks.css b/skins/default/iehacks.css index 1c6d0b367..aee5d55fc 100644 --- a/skins/default/iehacks.css +++ b/skins/default/iehacks.css @@ -71,6 +71,13 @@ input, textarea background-image: url('images/mail_toolbar.gif'); } +#listcontrols a.buttonPas, +#mailboxcontrols a.buttonPas +{ + filter: alpha(opacity=35); + background-image: url('images/mail_footer.png'); +} + #messagetoolbar select.mboxlist { margin: 0 8px; @@ -261,3 +268,8 @@ ul.toolbarmenu li a -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)"; filter: alpha(opacity=80); } + +#countcontrols +{ + padding-right: 10px; +} diff --git a/skins/default/images/mail_footer.png b/skins/default/images/mail_footer.png new file mode 100644 index 000000000..ff756503e Binary files /dev/null and b/skins/default/images/mail_footer.png differ diff --git a/skins/default/mail.css b/skins/default/mail.css index a095fd15d..f63c3f2cd 100644 --- a/skins/default/mail.css +++ b/skins/default/mail.css @@ -312,12 +312,6 @@ ul.toolbarmenu li.separator_above font-size: 11px; } -#listcontrols a, -#listcontrols a:active, -#listcontrols a:visited, -#mailboxcontrols a, -#mailboxcontrols a:active, -#mailboxcontrols a:visited, td.formlinks a, td.formlinks a:visited { @@ -326,46 +320,12 @@ td.formlinks a:visited text-decoration: none; } -#listcontrols a.active, -#listcontrols a.active:active, -#listcontrols a.active:visited, -#mailboxcontrols a.active, -#mailboxcontrols a.active:active, -#mailboxcontrols a.active:visited, td.formlinks a, td.formlinks a:visited { color: #CC0000; } -#listcontrols a.active:hover, -#mailboxcontrols a.active:hover -{ - text-decoration: underline; -} - -#listcontrols -{ - padding-right: 2em; -} - -#messagecountbar -{ - position: absolute; - bottom: 0px; - right: 0px; - width: 300px; - height: 16px; - text-align: right; - white-space: nowrap; -} - -#messagecountbar span -{ - font-size: 11px; - color: #333333; -} - #mainscreen { position: absolute; @@ -391,6 +351,7 @@ td.formlinks a:visited left: 170px; bottom: 0px; right: 0px; + min-width: 600px; } #mailrightcontent @@ -629,48 +590,111 @@ td.formlinks a:visited font-weight: normal; } -#mailfooter +#listcontrols, +#mailboxcontrols { position: absolute; + white-space: nowrap; left: 0px; bottom: 0px; - height: 16px; - width: 100%; + height: 15px; + width: auto; + min-width: 300px; } -#mailfooter table tr td +#listcontrols > a, +#listcontrols > span, +#mailboxcontrols > a, +#mailboxcontrols > span { - white-space: nowrap; - vertical-align: bottom; + display: block; + float: left; + font-size: 11px; } -#mailboxcontrols +#listcontrols a.button, +#listcontrols a.buttonPas, +#mailboxcontrols a.button, +#mailboxcontrols a.buttonPas { - position: absolute; - left: 0px; - bottom: 0px; - height: 16px; - width: auto; - font-size: 11px; + display: block; + float: left; + width: 15px; + height: 15px; + padding: 0; + margin-right: 2px; + overflow: hidden; + background: url('images/mail_footer.png') 0 0 no-repeat transparent; + opacity: 0.99; /* this is needed to make buttons appear correctly in Chrome */ } -#listcontrols, -#countcontrols, -#quotabox +#listcontrols a.buttonPas, +#mailboxcontrols a.buttonPas { - white-space: nowrap; - font-size: 11px; + opacity: 0.35; +} + +#mailboxcontrols a.expunge { + background-position: 0 0; +} + +#mailboxcontrols a.expungesel { + background-position: 0 -15px; +} + +#mailboxcontrols a.purge { + background-position: -15px 0; +} + +#mailboxcontrols a.purgesel { + background-position: -15px -15px; +} + +#listcontrols a.all { + background-position: -30px 0; +} + +#listcontrols a.allsel { + background-position: -30px -15px; +} + +#listcontrols a.unread { + background-position: -45px 0; +} + +#listcontrols a.unreadsel { + background-position: -45px -15px; +} + +#listcontrols a.invert { + background-position: -60px 0; +} + +#listcontrols a.invertsel { + background-position: -60px -15px; +} + +#listcontrols a.none { + background-position: -75px 0; +} + +#listcontrols a.nonesel { + background-position: -75px -15px; } #countcontrols { + height: 15px; + position: absolute; + bottom: 0; + right: 0; min-width: 25em; + white-space: nowrap; + font-size: 11px; } #countcontrols a.button, -#countcontrols a.buttonPas, -#messagecountbar a.button, -#messagecountbar a.buttonPas +#countcontrols a.buttonPas { float: right; } @@ -871,15 +895,8 @@ body.messagelist color: #CCCCCC; } -#quotadisplay -{ - color: #666666; - font-size: 11px; -} - #quotadisplay img { - vertical-align: middle; margin-left: 4px; border: 1px solid #999; } diff --git a/skins/default/templates/addressbook.html b/skins/default/templates/addressbook.html index b0325b5af..3aa9fdc34 100644 --- a/skins/default/templates/addressbook.html +++ b/skins/default/templates/addressbook.html @@ -72,7 +72,7 @@ diff --git a/skins/default/templates/mail.html b/skins/default/templates/mail.html index 2d16f62bf..c0d9e33b4 100644 --- a/skins/default/templates/mail.html +++ b/skins/default/templates/mail.html @@ -36,9 +36,10 @@
- :  -   -   + + + +
@@ -75,37 +76,30 @@ -
- - - + : + - -
- - :  -   -   -   -   +
+ + + + + - -
- : -
-
diff --git a/skins/default/templates/message.html b/skins/default/templates/message.html index 852f4b44c..fcf55df0b 100644 --- a/skins/default/templates/message.html +++ b/skins/default/templates/message.html @@ -49,10 +49,10 @@
-