From 4dbc961b116f02f85d87d6a51446ba4b64bbc1ba Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Wed, 11 Apr 2012 11:32:01 -0400
Subject: [PATCH] Set flexible width to login form fields (#1488418); remove IE7 warning

---
 CHANGELOG              |    1 +
 skins/larry/styles.css |    9 ++++++++-
 skins/larry/ui.js      |   18 ------------------
 3 files changed, 9 insertions(+), 19 deletions(-)

diff --git a/CHANGELOG b/CHANGELOG
index d1c52f1..fa01e5f 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,6 +1,7 @@
 CHANGELOG Roundcube Webmail
 ===========================
 
+- Set flexible width to login form fields (#1488418)
 - Force page reload if list columns changed in IE8 (#1487822)
 - Allow mass-removal of addresses from a group (#1487748)
 - Fix removing all contacts on import to LDAP addressbook
diff --git a/skins/larry/styles.css b/skins/larry/styles.css
index 1511d43..4868ed9 100644
--- a/skins/larry/styles.css
+++ b/skins/larry/styles.css
@@ -1187,12 +1187,13 @@
 }
 
 #login-form td.input {
+	width: 80%;
 	padding: 8px;
 }
 
 #login-form input[type="text"],
 #login-form input[type="password"] {
-	width: 24em;
+	width: 100%;
 	border-color: #666;
 }
 
@@ -1229,7 +1230,13 @@
 	background: linear-gradient(top, #dcdcdc 0%, #f9f9f9 100%);
 }
 
+#login-form form table {
+	width: 98%;
+}
+
 #login-form td.title {
+	width: 20%;
+	white-space: nowrap;
 	color: #cecece;
 	text-shadow: 0px 1px 1px black;
 	text-align: right;
diff --git a/skins/larry/ui.js b/skins/larry/ui.js
index dda5abd..cf7ff55 100644
--- a/skins/larry/ui.js
+++ b/skins/larry/ui.js
@@ -160,24 +160,6 @@
         new rcube_scroller('#directorylist-content', '#directorylist-header', '#directorylist-footer');
       }
     }
-    /***  login page  ***/
-    else if (rcmail.env.task == 'login') {
-      if (bw.ie && bw.vendver < 8) {
-        var popup = $('<div>')
-          .addClass('readtext')
-          .html("Roundcube will not work well with the crappy browser ya' using. Get yourself a new internet browsing software and don't come back without!<p>Sincerly,<br/>the Roundcube Dev Team</p>")
-          .appendTo(document.body)
-          .dialog({
-            dialogClass: 'alert',
-            closeOnEscape: true,
-            title: "No way, are you serious?",
-            close: function() {
-              popup.dialog('destroy').remove();
-            },
-            width: 450
-          });
-      }
-    }
 
     // turn a group of fieldsets into tabs
     $('.tabbed').each(function(idx, elem){ init_tabs(elem); })

--
Gitblit v1.9.1