From 900e6226ac29594327e168cc0922fe796c8146d1 Mon Sep 17 00:00:00 2001
From: Thomas Bruederli <thomas@roundcube.net>
Date: Mon, 18 Jun 2012 06:41:54 -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 e1dca57..fc78ee9 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 0e928f0..8c5a935 100644
--- a/skins/default/mail.css
+++ b/skins/default/mail.css
@@ -1481,7 +1481,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 ab87cd8..afa74cd 100644
--- a/skins/larry/mail.css
+++ b/skins/larry/mail.css
@@ -1210,7 +1210,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