From eb04f60d4e28ba93feca9d9a7a8c65992a214975 Mon Sep 17 00:00:00 2001 From: Thomas Bruederli <thomas@roundcube.net> Date: Mon, 18 Jun 2012 06:42:22 -0400 Subject: [PATCH] Increase negative text-indents to properly hide button texts (#1488534) --- CHANGELOG | 1 + plugins/markasjunk/skins/default/markasjunk.css | 2 +- plugins/archive/skins/default/archive.css | 2 +- skins/default/mail.css | 2 +- skins/larry/styles.css | 6 +++--- skins/larry/addressbook.css | 2 +- skins/larry/mail.css | 2 +- 7 files changed, 9 insertions(+), 8 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 9c30ede..60abb69 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,6 +1,7 @@ CHANGELOG Roundcube Webmail =========================== +- Properly hide text of icon links/buttons (#1488534) - Fix handling of unitless CSS size values in HTML message (#1488535) - Fix removing contact photo using LDAP addressbook (#1488420) - Fix storing X-ANNIVERSARY date in vCard format (#1488527) diff --git a/plugins/archive/skins/default/archive.css b/plugins/archive/skins/default/archive.css index 9cd2215..3880fe3 100644 --- a/plugins/archive/skins/default/archive.css +++ b/plugins/archive/skins/default/archive.css @@ -1,6 +1,6 @@ #messagetoolbar a.button.archive { - text-indent: -1000px; + text-indent: -5000px; background: url(archive_act.png) 0 0 no-repeat; } diff --git a/plugins/markasjunk/skins/default/markasjunk.css b/plugins/markasjunk/skins/default/markasjunk.css index 89ea568..5b1d47b 100644 --- a/plugins/markasjunk/skins/default/markasjunk.css +++ b/plugins/markasjunk/skins/default/markasjunk.css @@ -1,6 +1,6 @@ #messagetoolbar a.button.junk { - text-indent: -1000px; + text-indent: -5000px; background: url(junk_act.png) 0 0 no-repeat; } diff --git a/skins/default/mail.css b/skins/default/mail.css index c8db8e0..edb5e3d 100644 --- a/skins/default/mail.css +++ b/skins/default/mail.css @@ -1473,7 +1473,7 @@ #compose-attachments li a { - text-indent: -1000px; + text-indent: -5000px; width: 17px; height: 16px; display: block; diff --git a/skins/larry/addressbook.css b/skins/larry/addressbook.css index 46b4949..77cf48a 100644 --- a/skins/larry/addressbook.css +++ b/skins/larry/addressbook.css @@ -289,6 +289,6 @@ width: 24px; height: 18px; text-decoration: none; - text-indent: -1000px; + text-indent: -5000px; background: url(images/buttons.png) -7px -377px no-repeat; } diff --git a/skins/larry/mail.css b/skins/larry/mail.css index c5b79db..c46a2bd 100644 --- a/skins/larry/mail.css +++ b/skins/larry/mail.css @@ -1185,7 +1185,7 @@ #uploadform a.iconlink { margin-left: 1em; - text-indent: -1000px; + text-indent: -5000px; } #uploadform form div { diff --git a/skins/larry/styles.css b/skins/larry/styles.css index 7b321ed..c64bc77 100644 --- a/skins/larry/styles.css +++ b/skins/larry/styles.css @@ -330,7 +330,7 @@ width: 24px; height: 18px; text-decoration: none; - text-indent: -1000px; + text-indent: -5000px; background: url(images/buttons.png) -1000px 0 no-repeat; } @@ -827,7 +827,7 @@ display: inline-block; width: 48px; height: 35px; - text-indent: -1000px; + text-indent: -5000px; background: url(images/buttons.png) -1000px 0 no-repeat; } @@ -1941,7 +1941,7 @@ height: 18px; padding: 0; text-decoration: none; - text-indent: -1000px; + text-indent: -5000px; background: url(images/buttons.png) -7px -337px no-repeat; } -- Gitblit v1.9.1