From f055b12f3ef5a15f1562869fcf5ecf00c94f2f7a Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Thu, 23 Apr 2009 13:31:55 -0400
Subject: [PATCH] - small css fixes in login form, boxes and subscription list

---
 skins/default/common.css           |   29 ++++++++++++++
 skins/default/settings.css         |   13 ++++++
 skins/default/templates/login.html |   22 -----------
 program/js/app.js                  |    1 
 4 files changed, 40 insertions(+), 25 deletions(-)

diff --git a/program/js/app.js b/program/js/app.js
index 65b7c83..bc39bdb 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -3008,7 +3008,6 @@
       var reg = new RegExp('.*['+RegExp.escape(this.env.delimiter)+']');
       this.name_input = document.createElement('INPUT');
       this.name_input.value = this.env.subscriptionrows[id][0].replace(reg, '');
-      this.name_input.style.width = '100%';
 
       reg = new RegExp('['+RegExp.escape(this.env.delimiter)+']?[^'+RegExp.escape(this.env.delimiter)+']+$');
       this.name_input.__parent = this.env.subscriptionrows[id][0].replace(reg, '');
diff --git a/skins/default/common.css b/skins/default/common.css
index 631321c..4e520ff 100644
--- a/skins/default/common.css
+++ b/skins/default/common.css
@@ -277,7 +277,7 @@
 .boxtitle
 {
   height: 12px !important;
-  padding: 4px 20px 3px 20px;
+  padding: 2px 10px 5px 10px;
   border-bottom: 1px solid #999;
   color: #333;
   font-size: 11px;
@@ -457,3 +457,30 @@
   background-color: #CC3333;
 }
 
+#login-form
+{
+  margin-left: auto;
+  margin-right: auto;
+  margin-top: 50px;
+  width: 400px;
+  border: 1px solid #999;
+}
+
+#login-form table td.title
+{
+  color: #666;
+  text-align: right;
+  padding-right: 10px;
+  white-space: nowrap;
+}
+
+#login-form table
+{
+  width: 1%;
+  margin: auto;
+}
+
+#login-form .boxcontent
+{
+  padding: 20px 10px 10px 10px;
+}
diff --git a/skins/default/settings.css b/skins/default/settings.css
index 6c984ab..26b4f2c 100644
--- a/skins/default/settings.css
+++ b/skins/default/settings.css
@@ -139,6 +139,11 @@
   width: expression('auto');
 }
 
+#subscription-table input
+{
+  font: inherit;
+}
+
 #subscription-table tbody td,
 #identities-table tbody td
 {
@@ -196,6 +201,12 @@
   width: 30px;
 }
 
+#subscription-table td.name input
+{
+  font: inherit;
+  width: 240px;
+}
+
 #identity-frame
 {
   position: relative;
@@ -244,7 +255,7 @@
 div.boxtitle
 {
   height: 12px !important;
-  padding: 4px 20px 3px 6px;
+  padding: 2px 10px 5px 10px;
   border-bottom: 1px solid #999999;
   color: #333333;
   font-size: 11px;
diff --git a/skins/default/templates/login.html b/skins/default/templates/login.html
index d16a08f..8ffe9d2 100644
--- a/skins/default/templates/login.html
+++ b/skins/default/templates/login.html
@@ -4,28 +4,6 @@
 <title><roundcube:object name="pagetitle" /></title>
 <meta name="Robots" content="noindex,nofollow" />
 <roundcube:include file="/includes/links.html" />
-<style type="text/css">
-
-#login-form {
-  margin-left: auto;
-  margin-right: auto;
-  margin-top: 50px;
-  width: 380px;
-  border: 1px solid #999;
-}
-
-#login-form table td.title
-{
-  color: #666;
-  text-align: right;
-  padding-right: 10px;
-}
-
-.boxcontent {
-  padding: 20px 20px 10px 20px;
-}
-
-</style>
 </head>
 <body>
 

--
Gitblit v1.9.1